Little memory problem.

02/27/2011 20:50 hoseta#1
Hay all, i have 1 problem i cant read memory from a game KalOnline,
all memory read other game was fine but proces engine.exe block connect...
my addres value always = 0 for speed and coord..
In CE its work fine i checked addres and offset. any idea ? maybe some1 made speed hack Kalonline b4.

here is basic code to read. i was just check read/write work or no and its not ...

Code:
#include <nomadmemory.au3>
$Open = _MemoryOpen(ProcessExists("[B]engine.exe[/B]"))

$base = Dec("006F3840")
$offset1 = Dec("4640")
$offset2 = Dec("4B14")




	$curCORD = _MemoryPointerRead($base, $Open,  $offset1)
	$curSPEED = _MemoryPointerRead($base, $Open,  $offset2)
	
	msgbox(1,"adress","Coordinate:"& "  "&$curCORD & "  "& "Speed:" & "  "& $curSPEED)
02/28/2011 15:53 derpo#2
Change
PHP Code:
$Open _MemoryOpen(ProcessExists("engine.exe")) 
To
PHP Code:
$Open _MemoryOpen(ProcessExists("engine.exe"))
$error = @error
If $error 1 Then
    MsgBox
(0,"Memoryread","Error getting the Process-ID!")
ElseIf 
$error 2 Then
    MsgBox
(0,"Memoryread","Error opening kernel32.dll!")
ElseIf 
$error 3 Then
    MsgBox
(0,"Memoryread","Can't open the Process!")
EndIf 
If you can't open the process, type #RequireAdmin at the begin of the code.
If this doesn't work, you have to get a Bypass.
02/28/2011 18:53 hoseta#3
I put in in code u can see this below, but still i have result

msg : Coordinate: 0 Speed: 0
Yes / No

can u tell me more about bypassing the engine.exe process / HackShield in AutoIt. ?

Ok its look now like this

Code:
#include <nomadmemory.au3>
#RequireAdmin
$Open = _MemoryOpen(ProcessExists("engine.exe"))
$error = @error
If $error = 1 Then
    MsgBox(0,"Memoryread","Error getting the Process-ID!")
ElseIf $error = 2 Then
    MsgBox(0,"Memoryread","Error opening kernel32.dll!")
ElseIf $error = 3 Then
    MsgBox(0,"Memoryread","Can't open the Process!")
EndIf  

$base = Dec("006F3840")
$offset1 = Dec("4640")
$offset2 = Dec("4B14")




	$curCORD = _MemoryPointerRead($base, $Open,  $offset1)
	$curSPEED = _MemoryPointerRead($base, $Open,  $offset2)
	
	msgbox(1,"adress","Coordinate:"& "  "&$curCORD & "  "& "Speed:" & "  "& $curSPEED)