Kann mir jemand Helfen ich weiß nicht wo der Fehler ist.
#RequireAdmin
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate("S4 League Trainer ", 282, 99, 192, 132)
$Button1 = GUICtrlCreateButton("Start !", 80, 64, 107, 25)
$Checkbox1 = GUICtrlCreateCheckbox("God Mode", 16, 16, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Infiniti SP", 16, 48, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Fastfire", 176, 16, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Infiniti Ammo", 176, 48, 97, 17)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
If ProcessExists("S4Client.exe") <> 0 Then
Hax()
EndIf
EndSwitch
WEnd
Func Hax()
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
If GUICtrlRead($God_Mode) = 1 Then
_MemoryWrite(0x00519785, $Open, "On", "char[3]")
EndIf
If GUICtrlRead($Infiniti_SP) = 1 Then
_MemoryWrite(0x00481DA2, $Open, "On", "char[3]")
EndIf
If GUICtrlRead ($Fastfire) = 1 Then
_MemoryWrite(0x0055CFE3), $Open, "On", "char[3]")
EndIf
If GUICtrlRead($Infiniti_Ammo) = 1 Then
_MemoryWrite(0x00759882), $Open, "On", "char[3]")
EndIf
_MemoryClose($Open)
Exit
EndFunc
#RequireAdmin
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate("S4 League Trainer ", 282, 99, 192, 132)
$Button1 = GUICtrlCreateButton("Start !", 80, 64, 107, 25)
$Checkbox1 = GUICtrlCreateCheckbox("God Mode", 16, 16, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Infiniti SP", 16, 48, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Fastfire", 176, 16, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Infiniti Ammo", 176, 48, 97, 17)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
If ProcessExists("S4Client.exe") <> 0 Then
Hax()
EndIf
EndSwitch
WEnd
Func Hax()
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
If GUICtrlRead($God_Mode) = 1 Then
_MemoryWrite(0x00519785, $Open, "On", "char[3]")
EndIf
If GUICtrlRead($Infiniti_SP) = 1 Then
_MemoryWrite(0x00481DA2, $Open, "On", "char[3]")
EndIf
If GUICtrlRead ($Fastfire) = 1 Then
_MemoryWrite(0x0055CFE3), $Open, "On", "char[3]")
EndIf
If GUICtrlRead($Infiniti_Ammo) = 1 Then
_MemoryWrite(0x00759882), $Open, "On", "char[3]")
EndIf
_MemoryClose($Open)
Exit
EndFunc