I need know now what wrong in my code Please !!
Code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\S4League.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Nomadmemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=e:\s4 league\new folder\m.kxf
$Form1_1 = GUICreate("MaDo Hacker V1.0", 245, 195, 200, 200)
GUISetBkColor(0x3399FF)
$Checkbox1 = GUICtrlCreateCheckbox("1 Hit Kill", 8, 16, 129, 33)
GUICtrlSetFont(-1, 24, 800, 0, "Arabic Typesetting")
$Checkbox2 = GUICtrlCreateCheckbox("Conquest", 8, 56, 129, 33)
GUICtrlSetFont(-1, 24, 800, 0, "Arabic Typesetting")
$Button1 = GUICtrlCreateButton("Hack", 16, 128, 211, 57)
GUICtrlSetFont(-1, 36, 800, 0, "Arabic Typesetting")
$Checkbox3 = GUICtrlCreateCheckbox("Inf Sp", 136, 48, 89, 41)
GUICtrlSetFont(-1, 24, 800, 0, "Arabic Typesetting")
$Checkbox4 = GUICtrlCreateCheckbox("GodMode", 136, 8, 105, 49)
GUICtrlSetFont(-1, 24, 800, 0, "Arabic Typesetting")
$Checkbox5 = GUICtrlCreateCheckbox("Inf Sentry", 48, 88, 161, 33)
GUICtrlSetFont(-1, 24, 800, 0, "Arabic Typesetting")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Hack()
EndSwitch
WEnd
Func Hack() ; Start
GUISetState(@SW_HIDE)
MsgBox ( 0, "MaDo Hacker V1.0", "Enjoy Hacking <3" ) ;
$WAIT = ProcessWait("S4Client.exe"); This will make the hack search for s4League
$PID = ProcessExists("S4Client.exe"); This means he Found S4League
ToolTip("Open S4League",0,0); Tooltip
$WAIT = ProcessWait("S4Client.exe"); Wait S4Client.exe
$PID = ProcessExists("S4Client.exe"); Find S4Client.exe
Sleep(500); Sleep
$OPEN = _MemoryOpen ($PID) ; Open memory
If GUICtrlRead($Checkbox1) = 1 Then ; If the checkbox is checked ...
_MemoryWrite(0x0051D1C9,$OPEN,"1593591259","long") ; Change value
EndIf ; End check
If GUICtrlRead($Checkbox2) = 1 Then ; If the checkbox is checked ...
_MemoryWrite(0x01239724,$OPEN,"48","long") ; Change value
EndIf ; End check
If GUICtrlRead($Checkbox3) = 1 Then ; If the checkbox is checked ...
_MemoryWrite(0x00481E82,$OPEN,"2348565979","long") ; Change value
EndIf ; End check
If GUICtrlRead($Checkbox4) = 1 Then ; If the checkbox is checked ...
_MemoryWrite(0x0051C635,$OPEN,"3135869072","long") ; Change value
EndIf ; End check
If GUICtrlRead($Checkbox5) = 1 Then ; If the checkbox is checked ...
_MemoryWrite(0x00536C66,$OPEN,"2348565979","long") ; Change value
EndIf ; End check
Exit
EndFunc