Autoit help?

04/26/2013 01:50 +Nightcore+#1
Func _Hack()
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$OPEN = _MemoryOpen ($PID)
_MemoryWrite(0x005189D4,$OPEN,2348565977,234856597 9)
If GUICtrlRead($Checkbox1) = 1 Then




EndFunc
What did I do wrong? D: I dun get how to put the adresses and values x.x.
$OPEN = _MemoryOpen ($PID)
_MemoryWrite(0x005189D4,$OPEN,2348565977,234856597 9) <-- I think there is the error,but didnt I have to put the adress (the 0x thing) and then open--> the original value(for 200hp hack)and then the hck value?o.o
This is driving me nuts T^T
04/26/2013 03:15 Invitado#2
the correct code is:
PHP Code:
_MemoryWrite(0x005189D4,$OPEN,2348565977,"long"
and u need use:
PHP Code:
If GUICtrlRead($CHECKBOX1) = 1 Then
;ur code
EndIf 
04/26/2013 03:33 +Nightcore+#3
Quote:
Originally Posted by Invitado View Post
the correct code is:
PHP Code:
_MemoryWrite(0x005189D4,$OPEN,2348565977,"long"
and u need use:
PHP Code:
If GUICtrlRead($CHECKBOX1) = 1 Then
;ur code
EndIf 
Ohh! I got it now o: Thank you \o/
04/27/2013 16:08 Ruffу#4
PHP Code:
 #include <NomadMemory.au3> 
.
04/28/2013 19:55 +Nightcore+#5
Quote:
Originally Posted by Bɒժ View Post
PHP Code:
 #include <NomadMemory.au3> 
.
Thank you~ But I knew about it xD