HTML Code:
#RequireAdmin
#include <NomadMemory.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$form1 = GUICreate("<Name here>", 300, 110, 192, 124)
$checkbox1 = GUICtrlCreateCheckbox("InfSp", 24, 16, 97, 17)
$checkbox2 = GUICtrlCreateCheckbox("GodMode", 24, 32, 97, 17)
$checkbox3 = GUICtrlCreateCheckbox("1Hit", 24, 48, 97, 17)
$button1 = GUICtrlCreateButton("Ready",100, 72, 100, 25)
$group1 = GUICtrlCreateGroup("", 0, 0, 129, 105)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nmsg = GUIGetMsg()
Switch $nmsg
Case $gui_event_close
Exit
Case $button1
cheat()
Exit
EndSwitch
WEnd
Func cheat()
GUISetState(@SW_HIDE)
ToolTip("Waitting S4Client.exe....", 0, 0)
ProcessWait("S4Client.exe")
$pid = ProcessExists("S4Client.exe")
Sleep(500)
$open = _memoryopen($pid)
_processsuspend("Aegis.exe")
_processsuspend("Aegis64.exe")
_processsuspend("HGWC.exe")
_processsuspend("S4Client.exe")
_processsuspend("XTrap.xt")
Sleep(2000)
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite(4726178, $open, "2348565979", "long");inf sp = 2348565979,2348565978 = No sp, 2348565977 normal sp
EndIf
If GUICtrlRead($checkbox2) = 1 Then
_memorywrite(5347012, $open, "2348565979", "long");Godmode = 2348565979,-GodMode = 2348565978,2348565977 = HP_Normal...
EndIf
If GUICtrlRead($checkbox3) = 1 Then
_memorywrite(5349753, $open, "1593591259", "long")
EndIf
_processresume("Aegis.exe")
_processresume("Aegis64.exe")
_processresume("HGWC.exe")
_processresume("S4Client.exe")
_processresume("XTrap.xt")
Exit 0
EndFunc
Func _processsuspend($process)
$processid = ProcessExists($process)
If $processid Then
$ai_handle = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $processid)
$i_sucess = DllCall("ntdll.dll", "int", "NtSuspendProcess", "int", $ai_handle[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $ai_handle)
If IsArray($i_sucess) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc
Func _processresume($process)
$processid = ProcessExists($process)
If $processid Then
$ai_handle = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $processid)
$i_sucess = DllCall("ntdll.dll", "int", "NtResumeProcess", "int", $ai_handle[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $ai_handle)
If IsArray($i_sucess) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc