Hey Leute ich Möchte ein Trainer machen aber iwie funtz er nicht why =/ ??
Bitte um hilfe oder wer wo mir mein script verbessern könnteQuote:
#RequireAdmin
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 162, 157, 831, 199)
$Checkbox1 = GUICtrlCreateCheckbox("400 Points", 48, 16, 65, 17)
$Button1 = GUICtrlCreateButton("Start", 40, 48, 75, 25)
$Button2 = GUICtrlCreateButton("Close", 40, 88, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Start()
Case $Button2
Exit
EndSwitch
WEnd
Func Start()
ToolTip("Waiting Solitaire.exe", 0, 0)
$Wait = ProcessWait("Solitaire.exe")
$Solitaire = ProcessExists("Solitaire.exe")
ToolTip("Process Found!", 0,0)
Sleep(500)
$Open = _MemoryOpen($Solitaire)
If GUICtrlRead($Checkbox1) Then
_MemoryWrite(0x005EA4D4, $Open , "400" , "4 Bytes")
Sleep(50)
Exit
EndIf
EndFunc