HI leute ich wollte einen autoIT hack schreiben und hat auch alles super funktioniert.....
dann wolte ich eine checkbox einbauen, mit der alle values und damit hacks zurückgesetzt werden naja nur habe ich dann das problem , dass nach der funktion sich das autoIT Programm einfach schließt (S4 bleibt offen)
ich hofffe ihr könnt mir helfen
hier die funktionen die die probleme machen:
Code:
Func reset()
GUISwitch($Checkbox1) = 0
GUISwitch($Checkbox2) = 0
GUISwitch($Checkbox3) = 0
GUISwitch($Checkbox4) = 0
GUISwitch($Checkbox5) = 0
GUISwitch($Checkbox6) = 0
GUISwitch($Checkbox7) = 0
GUISwitch($Checkbox8) = 0
GUISwitch($Checkbox9) = 0
GUISwitch($Checkbox10) = 0
GUISwitch($Checkbox11) = 0
GUISwitch($Checkbox12) = 0
GUISwitch($Checkbox13) = 0
GUISwitch($Checkbox14) = 0
GUISwitch($Checkbox15) = 0
resetvalue()
EndFunc
Func resetvalue()
$pid = ProcessExists("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($Checkbox1) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox2) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox3) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox4) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox5) = 0 Then
_memorywrite(xxx, $open, "xxx", "float")
endif
If GUICtrlRead($Checkbox6) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox7) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox8) = 0 Then
_memorywrite(xxx , $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox9) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox10) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox11) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox12) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox13) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox14) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox15) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox16) = 1 Then
reset()
Else
hackgo()
EndIf
If GUICtrlRead($Checkbox1) = 0 Then
_memorywrite(0x005EFCF4, $open, "2365811200", "long")
endif
If GUICtrlRead($Checkbox2) = 0 Then
_memorywrite(0x005FAE22, $open, "990136971", "long")
endif
If GUICtrlRead($Checkbox3) = 0 Then
_memorywrite(0x0048D3D2, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox4) = 0 Then
_memorywrite(0x00529FC5, $open, "1592329594", "long")
endif
If GUICtrlRead($Checkbox5) = 0 Then
_memorywrite(0x01283FA0, $open, "2", "float")
endif
If GUICtrlRead($Checkbox6) = 0 Then
_memorywrite(0x0048D8E9, $open, "3641722329", "long")
endif
If GUICtrlRead($Checkbox7) = 0 Then
_memorywrite(0x00529F64, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox8) = 0 Then
_memorywrite(0x004B0C9, $open, "1300955498", "long")
endif
If GUICtrlRead($Checkbox9) = 0 Then
_memorywrite(0x00602F41, $open, "990136971", "long")
endif
If GUICtrlRead($Checkbox10) = 0 Then
_memorywrite(0x0052ACB9, $open, "1593591257", "long")
endif
If GUICtrlRead($Checkbox11) = 0 Then
_memorywrite(0x008F15AE, $open, "1166869354", "long")
endif
If GUICtrlRead($Checkbox12) = 0 Then
_memorywrite(0x0052BC05, $open, "1301094762", "long")
endif
If GUICtrlRead($Checkbox13) = 0 Then
_memorywrite(0x0079479D, $open, "2374698346", "long")
endif
If GUICtrlRead($Checkbox14) = 0 Then
_memorywrite(0x005EB83A, $open, "1166869354", "long")
endif
If GUICtrlRead($Checkbox15) = 0 Then
_memorywrite(0x0055C7FD, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox16) = 1 Then
reset()
Else
hackgo()
EndIf
start()
EndFunc
Func hackgo()
$pid = ProcessExists("S4Client.exe")
If $pid Then
start()
Else
$iPID = Run("Hackshield BeatUp Starter.exe")
$iPID = Run("HS_Injector")
ProcessWait("S4Client.exe")
Tooltip("spiel u bp starten automatisch...",0,0)
Sleep(1500)
Tooltip("",0,0)
start()
EndIf
endfunc