Originally Posted by kiler1997
$form1 = GUICreate("Dragon's [Public Version]", 808, 438, 192, 124)
GUISetIcon("C:\Program Files (x86)\alaplaya\S4League\patcher_s4.exe", -1)
$group1 = GUICtrlCreateGroup("[Public Version]", 32, 24, 737, 369)
$group2 = GUICtrlCreateGroup("MiniHack", 56, 56, 145, 81)
$checkbox1 = GUICtrlCreateCheckbox("Ghost Mode", 64, 80, 97, 17)
$checkbox2 = GUICtrlCreateCheckbox("God Mode", 64, 96, 97, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$group3 = GUICtrlCreateGroup("Hot Hack", 56, 168, 361, 185)
$checkbox3 = GUICtrlCreateCheckbox("Walljump 1x", 64, 192, 97, 17)
$checkbox4 = GUICtrlCreateCheckbox("Walljump 2x", 64, 208, 97, 17)
$checkbox5 = GUICtrlCreateCheckbox("200HP Hack", 64, 224, 97, 17)
$checkbox6 = GUICtrlCreateCheckbox("SP Refil", 64, 240, 97, 17)
$checkbox7 = GUICtrlCreateCheckbox("SP Unlimited", 64, 256, 97, 17)
$checkbox8 = GUICtrlCreateCheckbox("Anchor Speed", 64, 272, 97, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$button1 = GUICtrlCreateButton("Start", 232, 64, 97, 33)
$button2 = GUICtrlCreateButton("Credits", 232, 104, 97, 33)
$icon1 = GUICtrlCreateIcon("C:\Program Files (x86)\alaplaya\S4League\patcher_s4.exe", -1, 288, 280, 73, 49)
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
_start()
Case $button2
MsgBox("Credits", "Credits", "Made by Dragon")
EndSwitch
WEnd
Func _start()
ToolTip("Lance S4 League !", 0, 0)
$pid = ProcessWait("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite(0, $open, "unevalue", "char[8]")
EndIf
If GUICtrlRead($checkbox2) = 1 Then
_memorywrite(0, $open, "unevalue", "char[10]")
_memorywrite(0, $open, "unevalue", "char[10]")
EndIf
If GUICtrlRead($checkbox3) = 1 Then
_memorywrite(0, $open, "unevalue", "char[5]")
_memorywrite(0, $open, "unevalue", "char[5]")
_memorywrite(0, $open, "unevalue", "char[5]")
_memorywrite(0, $open, "unevalue", "char[5]")
EndIf
If GUICtrlRead($checkbox4) = 1 Then
_memorywrite(0, $open, "unevalue", "char[30]")
_memorywrite(0, $open, "unevalue", "char[30]")
EndIf
If GUICtrlRead($checkbox5) = 1 Then
_memorywrite(0, $open, "unevalue", "char[8]")
EndIf
If GUICtrlRead($checkbox6) = 1 Then
_memorywrite(0, $open, "unevalue", "char[9]")
_memorywrite(0, $open, "unevalue", "char[9]")
_memorywrite(0, $open, "unevalue", "char[9]")
_memorywrite(0, $open, "unevalue", "char[9]")
EndIf
If GUICtrlRead($radio1) = 1 Then
_memorywrite(0, $open, "unevalue", "float")
EndIf
If GUICtrlRead($radio2) = 1 Then
_memorywrite(0, $open, "unevalue", "float")
EndIf
If GUICtrlRead($checkbox8) = 1 Then
_memorywrite(0, $open, "unevalue", "float")
EndIf
If GUICtrlRead($checkbox9) = 1 Then
_memorywrite(0, $open, "unevalue", "char[5]")
_memorywrite(0, $open, "unevalue", "char[5]")
_memorywrite(0, $open, "unevalue", "char[5]")
EndIf
If GUICtrlRead($checkbox10) = 1 Then
_memorywrite(0, $open, "unevalue", "float")
EndIf
If GUICtrlRead($checkbox11) = 1 Then
_memorywrite(0, $open, "unevalue", "long")
_memorywrite(0, $open, "unevalue", "long")
EndIf
If GUICtrlRead($checkbox12) = 1 Then
_memorywrite(0, $open, "unevalue", "float")
EndIf
If GUICtrlRead($checkbox13) = 1 Then
_memorywrite(0, $open, "unevalue", "char[19]")
_memorywrite(0, $open, "unevalue", "char[19]")
EndIf
Exit 0
EndFunc
|