Hay bin am verzweifeln ist mein erster AutoIT Hack, habe vor kurzem erst angefangen zu programmieren.
Hoffe ihr könnt mir helfen, und sagen was ich da falsch gemacht hab.
Hoffe ihr könnt mir helfen, und sagen was ich da falsch gemacht hab.
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hack by -RoLa*Y", 301, 307, 499, 140)
$Checkbox1 = GUICtrlCreateCheckbox("200 HP", 32, 32, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Dodge Speed", 184, 56, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Speed", 184, 32, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Dodge Range", 184, 80, 97, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Godmode", 32, 56, 97, 17)
$Checkbox6 = GUICtrlCreateCheckbox("1 Hit", 32, 104, 97, 17)
$Checkbox7 = GUICtrlCreateCheckbox("Inf. SP", 32, 80, 97, 17)
$Checkbox8 = GUICtrlCreateCheckbox("Inf. Ammo", 32, 128, 97, 17)
$Checkbox9 = GUICtrlCreateCheckbox("Fast Fire", 184, 104, 97, 17)
$Checkbox10 = GUICtrlCreateCheckbox("Cut Speed", 32, 152, 97, 17)
$Checkbox11 = GUICtrlCreateCheckbox("Wallshot", 184, 128, 97, 17)
$Checkbox12 = GUICtrlCreateCheckbox("Instant Respawn", 184, 152, 97, 17)
$Button1 = GUICtrlCreateButton("Lets Go", 40, 200, 209, 65)
$Logoss = GUICtrlCreatePic("\Hack\resourcen\Pics\Logo.jpg", 0, 0, 297, 305)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(0,"Start the game", " Start the game now!")
Case $Button1
EndSwitch
WEnd
Func Hack()
ToolTip("Wait for S4Client.exe",0,0)
$PID = ProcessExists("S4Client.exe")
ProcessWait($PID)
ToolTip("Game was Hacked")
$OPEN = MemoryOpen($PID)
If GUICtrlRead($Checkbox1) = 1 then
_MemoryWrite(0x005189E4, $OPEN, "2348565979", "Float")
EndIf
If GUICtrlRead($Checkbox2) = 1 then
_MemoryWrite(0x005D455A, $OPEN, "1166872682", "Float")
EndIf
If GUICtrlRead($Checkbox3) = 1 then
_MemoryWrite(0x0047F43D, $OPEN, "4284253659", "Float")
EndIf
If GUICtrlRead($Checkbox4) = 1 then
_MemoryWrite(0x005D46E5, $OPEN, "2509051498", "Float")
EndIf
If GUICtrlRead($Checkbox5) = 1 then
_MemoryWrite(0x00518A45, $OPEN, "3135869072", "Float")
EndIf
If GUICtrlRead($Checkbox6) = 1 then
_MemoryWrite(0x00519439, $OPEN, "1593591259", "Float")
EndIf
If GUICtrlRead($Checkbox7) = 1 then
_MemoryWrite(0x00481422, $OPEN, "2348565979", "Float")
EndIf
If GUICtrlRead($Checkbox8) = 1 then
_MemoryWrite(0x00759142, $OPEN, "3051982992", "Float")
EndIf
If GUICtrlRead($Checkbox9) = 1 then
_MemoryWrite(0x0055C693, $OPEN, "990399115", "Float")
EndIf
If GUICtrlRead($Checkbox10) = 1 then
_MemoryWrite(0x006151BE, $OPEN, "2240612458", "Float")
EndIf
If GUICtrlRead($Checkbox11) = 1 then
_MemoryWrite(0x011A0110, $OPEN, "1", "Float")
EndIf
If GUICtrlRead($Checkbox12) = 1 then
_MemoryWrite(0x005E3533, $OPEN, "989874827", "Float")
EndIf
Exit
EndFunc