PHP Code:
#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=Mein_Hack.exe
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hack", 393, 109, 192, 124)
$wallshoot = GUICtrlCreateRadio("Wallshoot", 32, 48, 113, 17)
$hitrange = GUICtrlCreateRadio("Hit Range", 32, 24, 113, 17)
$start = GUICtrlCreateButton("Start", 144, 24, 89, 41)
$stopp = GUICtrlCreateButton("Stopp", 240, 24, 89, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $stopp
Exit
Case $start
start()
EndSwitch
WEnd
Func Start()
ToolTip("Warte auf S4Client.exe...", 0, 0)
ProcessWait("S4Client.exe")
$pid = ProcessExists("S4Client.exe")
ToolTip("Hack gestartet!", 0, 0)
Sleep(1000)
$open = _memoryopen($pid)
If GUICtrlRead($hitrange) = 1 Then
_memorywrite(0x0120D6A8, $open, "0", "float")
EndIf
If GUICtrlRead($wallshoot) = 1 Then
_memorywrite(0x0120D6A8, $open, "1", "float")
EndIf
_memoryclose($pid)
EndFunc