So wollte S4 Hack machen blabla Xtrap crasht. Könntet ihr mir helfen?
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$S4LeagueHack = GUICreate("S4LeagueHack", 205, 114, 192, 125)
$InfSp = GUICtrlCreateCheckbox("InfSp", 8, 8, 97, 17)
$InfAmmo = GUICtrlCreateCheckbox("InfAmmo", 8, 32, 97, 17)
$CardHack = GUICtrlCreateCheckbox("CardHack", 8, 56, 97, 17)
$HP200 = GUICtrlCreateCheckbox("HP200", 8, 80, 97, 17)
$Start = GUICtrlCreateButton("Start", 112, 8, 75, 25)
$Exit = GUICtrlCreateButton("Exit", 112, 72, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Exit
Exit
Case $CardHack
Case $HP200
Case $Start
_Hack()
EndSwitch
WEnd
Func _Hack()
GuiSetState(@SW_HIDE)
ToolTip("Start S4 League!",0,0)
$Wait = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$OPEN = _MemoryOpen($PID)
If GUICtrlRead($InfSp) = 1 Then
_MemoryWrite(0x004835B2,$OPEN,"1","long")
EndIf
If GUICtrlRead($InfAmmo) = 1 Then
_MemoryWrite(0x00769A71,$OPEN,"1","long")
EndIf
If GUICtrlRead($CardHack) = 1 Then
_MemoryWrite(0x0128CDC4,"0","char[2]")
EndIf
If GUICtrlRead($HP200) = 1 Then
_MemoryWrite(0x0051E144,"1","long")
EndIf
Exit
EndFunc