see what i wrong

05/06/2012 15:04 zarakie#1
see the funciton please the memory write i create right or not :

PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Zarakie_Trier.Trainer"368243192124)
$Checkbox1 GUICtrlCreateCheckbox("1 HIT "81617717)
$Button1 GUICtrlCreateButton("START"0649733)
$Button2 GUICtrlCreateButton("EXIT"96649733)
$Pic1 GUICtrlCreatePic("C:\Users\user\Downloads\Dark Anime Wallpaper 1.jpg"6496241137)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
Case 
$Button1
            ToolTip
("Waiting S4League",0,0)
          
_Start()
    
ToolTip("Have Fun",0,0)
    EndSwitch
WEnd

Func _START
()
    
$PID ProcessWait("S4Client.exe")
    
$OPEN _MEMORYOPEN($PID)
    
Sleep(500)
    If 
GUICtrlRead($CHECKBOX1) = 1 Then
        _MemoryWrite
(0x01048CA0,$OPEN,"String""range")
        
_MemoryWrite(0x01048CB4,$OPEN,"String""range")
        
_MemoryWrite(0x018161A0,$OPEN,"String""range")
EndIf
    Exit
EndFunc 
05/06/2012 17:45 ZubZero55#2
Write string number
_MemoryWrite(0x01048CA0,$OPEN,"String", "range")
_MemoryWrite(0x01048CB4,$OPEN,"String", "range")
_MemoryWrite(0x018161A0,$OPEN,"String", "range")
:D