HELP? Autoit Hack

07/15/2012 17:15 kiko298#1
Cna someone say to me what's the problem in my hack?
Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Mini-Trainer-88", 332, 174, 192, 124)
$Button1 = GUICtrlCreateButton("Start", 48, 64, 89, 33)
$Checkbox1 = GUICtrlCreateCheckbox("Speed", 32, 16, 121, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

case $Button1
	Hack()

Func Hack()
ToolTip("Start S4 League!",0,0)
$PID = ProcessWait("S4Client.exe")
$OPEN = _MemoryOpen($PID)
If GUICtrlRead($Checkbox1) = 1 then
_MemoryWrite(0x005CCCD4, $OPEN, "99999999", "long") 
_MemoryClose($PID)
EndIf
Exit
EndFunc

EndSwitch
WEnd
07/15/2012 17:18 Vamshi#2
Actually epvp has a separate forum where you can ask your question, i don't mean to be rude but you are not supposed to ask such questions here. :) [Only registered and activated users can see links. Click Here To Register...]
07/15/2012 18:03 Hybrid~#3
It should be like that,sir:
Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Mini-Trainer-88", 332, 174, 192, 124)
$Button1 = GUICtrlCreateButton("Start", 48, 64, 89, 33)
$Checkbox1 = GUICtrlCreateCheckbox("Speed", 32, 16, 121, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

case $Button1
	_Hack()
EndSwitch
WEnd

Func Hack()
ToolTip("Start S4 League!",0,0)
$PID = ProcessWait("S4Client.exe")
$OPEN = _MemoryOpen($PID)
If GUICtrlRead($Checkbox1) = 1 then
_MemoryWrite(0x005CCCD4, $OPEN, "99999999", "long") 
EndIf
EndFunc
This is my trainer's base, Hope it helped ya

Kind Regards,
Hybrid~
07/15/2012 18:11 Der-Eddy#4
[Only registered and activated users can see links. Click Here To Register...]/moved

Code:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

case $Button1
	Hack()
you forget EndSwitch and WEnd

Quote:
Originally Posted by ™Hybrid™ View Post
He didn't
He putted them at the end of the script
srsly dafug
07/15/2012 18:20 Hybrid~#5
Quote:
Originally Posted by Der-Eddy View Post
[Only registered and activated users can see links. Click Here To Register...]/moved

Code:
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

case $Button1
	Hack()
you forget EndSwitch and WEnd
He didn't
He putted them at the end of the script