#RequireAdmin
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("trainer", 302, 130, 185, 127)
GUISetBkColor(0x0000A0)
$god = GUICtrlCreateCheckbox("god mode", 0, 0, 129, 33)
$sp = GUICtrlCreateCheckbox("inf.sp", 176, 0, 137, 33)
$Button1 = GUICtrlCreateButton("Start", 16, 80, 81, 41)
$Button2 = GUICtrlCreateButton("Exit", 152, 80, 89, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_hack()
Case $Button2
Exit
EndSwitch
WEnd
Func _hack()
ToolTip("S4League Open",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
ToolTip("have fun.",0,0)
Sleep(2000)
If GUICtrlRead($god) = 1 Then
_MemoryWrite(0x00, $Open, "90 90 90", "dword")
EndIf
If GUICtrlRead($sp) = 1 Then
_MemoryWrite(0x00455C4E, $Open, "02", "dword")
EndIf
Exit
EndFunc
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("trainer", 302, 130, 185, 127)
GUISetBkColor(0x0000A0)
$god = GUICtrlCreateCheckbox("god mode", 0, 0, 129, 33)
$sp = GUICtrlCreateCheckbox("inf.sp", 176, 0, 137, 33)
$Button1 = GUICtrlCreateButton("Start", 16, 80, 81, 41)
$Button2 = GUICtrlCreateButton("Exit", 152, 80, 89, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_hack()
Case $Button2
Exit
EndSwitch
WEnd
Func _hack()
ToolTip("S4League Open",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
ToolTip("have fun.",0,0)
Sleep(2000)
If GUICtrlRead($god) = 1 Then
_MemoryWrite(0x00, $Open, "90 90 90", "dword")
EndIf
If GUICtrlRead($sp) = 1 Then
_MemoryWrite(0x00455C4E, $Open, "02", "dword")
EndIf
Exit
EndFunc