closed
If GUICtrlRead($checkbox1) = 1
If GUICtrlRead($checkbox1) == $GUI_CHECKED ;run code endif
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite("0x00527924", $open, "2348565979 ", "long")
EndIf
If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
_memorywrite("0x00527924", $open, "2348565979 ", "long")
EndIf
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#include <Sound.au3>
WinSetState("REDAPRO","", @SW_HIDE)
Opt("TrayIconHide",1)
$Form1 = GUICreate("S4l Hack By REDAPRO", 598, 573, 211, 114)
$Checkbox1 = GUICtrlCreateCheckbox(" Speed Hack (walk) ", 216, 432, 209, 17)
$Checkbox2 = GUICtrlCreateCheckbox("0 gravity", 216, 456, 225, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Inf Sp ", 216, 408, 193, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Instant Respawn" , 216, 360, 169, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Wall jump Teleport " , 216, 384, 177, 17)
$Button1 = GUICtrlCreateButton("Start Hack !", 216, 488, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 0, 536, 153, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Credits :By REDAPRO ", 344, 488, 209, 41)
$Label2 = GUICtrlCreateLabel("Fb:[Only registered and activated users can see links. Click Here To Register...]/Reda Gad", 160, 544, 204, 17)
$Pic1 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (2).jpg", 0, 0, 593, 289)
$Pic2 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (3).jpg", 0, 288, 209, 249)
$handle = _SoundOpen(@ScriptDir & "\Kalimba.mp3")
_SoundPlay($handle)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
MsgBox(4096, "Steps !", "1- Open hack .. 2- choose what you want ..3- click on hack ..4- open a working byppass ...5- opens s4 league ..6- Have Fun !", 0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Hack()
Case $Button2
Exit
EndSwitch
WEnd
Func _Hack()
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
Sleep(500)
$open = _MemoryOpen ($PID)
If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
_MemoryWrite("0x005FA4F4", $open, "2240611178 ", "long")
EndIf
If GUICtrlRead($checkbox2) == $GUI_CHECKED Then
_MemoryWrite("0x008E926E", $open, "1166868842 ", "long")
EndIf
If GUICtrlRead($checkbox3) == $GUI_CHECKED Then
_MemoryWrite("0x0048C822", $open, "2348565979 ", "long")
EndIf
If GUICtrlRead($checkbox4) == $GUI_CHECKED Then
_MemoryWrite("0x005F6FE3", $open, "989874827 ", "long")
EndIf
If GUICtrlRead($checkbox5) == $GUI_CHECKED Then
_MemoryWrite("0x0048CD39", $open, "3641722331 ", "long")
EndIf
EndFunc
but still is better to do it right way because if he want to learn some other language he will have problem with that :pQuote:
lowercase == upercase in autoit...
example:
Code:$a = "i'm the content of $a" MsgBox(0, "Content of $A", $A) $A = "i'm the content of $A" MsgBox(0, "Content of $a", $a) A() Func a() MsgBox(0, "Info", "content: a") EndFunc
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe") ; DONT DELETE THIS LINE
ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
Sleep(500)
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#include <Sound.au3>
WinSetState("REDAPRO","", @SW_HIDE)
Opt("TrayIconHide",1)
$Form1 = GUICreate("S4l Hack By REDAPRO", 598, 573, 211, 114)
$Checkbox1 = GUICtrlCreateCheckbox(" Speed Hack (walk) ", 216, 432, 209, 17)
$Checkbox2 = GUICtrlCreateCheckbox("0 gravity", 216, 456, 225, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Inf Sp ", 216, 408, 193, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Instant Respawn" , 216, 360, 169, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Wall jump Teleport " , 216, 384, 177, 17)
$Button1 = GUICtrlCreateButton("Start Hack !", 216, 488, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 0, 536, 153, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Credits :By REDAPRO ", 344, 488, 209, 41)
$Label2 = GUICtrlCreateLabel("Fb:[Only registered and activated users can see links. Click Here To Register...]/Reda Gad", 160, 544, 204, 17)
$Pic1 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (2).jpg", 0, 0, 593, 289)
$Pic2 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (3).jpg", 0, 288, 209, 249)
$handle = _SoundOpen(@ScriptDir & "\Kalimba.mp3")
_SoundPlay($handle)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
MsgBox(4096, "Steps !", "1- Open hack .. 2- choose what you want ..3- click on hack ..4- open a working byppass ...5- opens s4 league ..6- Have Fun !", 0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
If ProcessExists("S4Client.exe") Then
_Hack()
Else
MsgBox(0, "Error", "Game is not running !")
EndIf
Case $Button2
Exit
EndSwitch
WEnd
Func _Hack()
;~ GUISetState(@SW_HIDE);
;~ ToolTip("Start S4 League!",0,0)
;~ $WAIT = ProcessWait("S4Client.exe")
;~ ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
;~ Sleep(500)
$PID = ProcessExists("S4Client.exe")
$open = _MemoryOpen ($PID)
If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
_MemoryWrite("0x005FA4F4", $open, "2240611178 ", "long")
EndIf
If GUICtrlRead($checkbox2) == $GUI_CHECKED Then
_MemoryWrite("0x008E926E", $open, "1166868842 ", "long")
EndIf
If GUICtrlRead($checkbox3) == $GUI_CHECKED Then
_MemoryWrite("0x0048C822", $open, "2348565979 ", "long")
EndIf
If GUICtrlRead($checkbox4) == $GUI_CHECKED Then
_MemoryWrite("0x005F6FE3", $open, "989874827 ", "long")
EndIf
If GUICtrlRead($checkbox5) == $GUI_CHECKED Then
_MemoryWrite("0x0048CD39", $open, "3641722331 ", "long")
EndIf
EndFunc
WriteProcessMemory(OpenProcess(ProcessExists("S4Client.exe")), 0x528679, 1593591259, "long")
Func OpenProcess($pid)
Local $x = DllCall('kernel32.dll', 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
Local $e = GetLastError()
If $e<>0 Then MsgBox(16, "Error", "OpenProcess("&$pid&")"&@CRLF&"Error: "&$e)
Return $x[0]
EndFunc
Func WriteProcessMemory($process_hwnd, $adress, $data, $type = 'dword')
Local $struct= DllStructCreate($type)
DllStructSetData($struct, 1, $data)
DllCall('kernel32.dll', 'int', 'WriteProcessMemory', 'int', $process_hwnd, 'int', $adress, 'int', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', 0)
Local $e = GetLastError()
If $e<>0 Then MsgBox(16, "Error", "WriteProcessMemory("&$process_hwnd&', 0x'&Hex($adress)&', '&$data&', '&$type&")"&@CRLF&"Error: "&$e)
EndFunc
Func GetLastError()
Local $x = DllCall('kernel32.dll', 'int', 'GetLastError')
Return $x[0]
EndFunc