How do i make my script use this pointers? :( (AutoIT)

05/23/2009 19:20 mildblue#1
Hello! I finaly found the Base Pointer, i was looking for, but now i dont know exactly, how i can make my script go tought alle these pointers, to the value i need. :\

So what i need to know exactly is, how can i make AutoIT get the next pointer, using the current pointer + offset? :\

First of all, here is a screenshot of the pointers:

[Only registered and activated users can see links. Click Here To Register...]

The Script should walk the same way, as it is shown in the screenshot, using this code:

Code:
#include <winapi.au3>

Global Const $PROCESS_VM_OPERATION = (0x0008)
Global Const $PROCESS_VM_READ = (0x0010)

Global $Process="game.exe"
Global $Pointer = 0x0089af60 ; replace of course

$handle=_WinAPI_OpenProcess(BitOR($PROCESS_VM_OPERATION,$PROCESS_VM_READ),False,ProcessExists($Process))

$s=DllStructCreate("int")
Local $read
_WinAPI_ReadProcessMemory($handle,$Pointer,DllStructGetPtr($s),DllStructGetSize($s),$read)

	$MobHP = DllStructGetData($s,1)
	
	MsgBox(0, "MobHP", $MobHP)
	
_WinAPI_CloseHandle($handle)
I'm sitting here for about 2 days and it makes me crazy. :)
05/23/2009 21:54 5hoursez#2
pointers can have pointers to them too, its in tutorial 6 and explained more in the updated author site text.. see my post about it here [Only registered and activated users can see links. Click Here To Register...]

There is also a tutorial sticky in the perfect world threads: Tut: [Only registered and activated users can see links. Click Here To Register...]

I am sure there are many more around the forums too.. use the Search.
05/24/2009 00:58 mildblue#3
i have all these adresses(including the base adress) i just need to know how to make my autoit read it(done), give it out as hex and add the offset
05/24/2009 01:04 kknb#4
#include "nomadmemory.au3"
$1 = _MemoryRead($baseadress, $hprocess)
$2 = _MemoryRead($1 + $OFFSET1, $hprocess)
$3 = _MemoryRead($2 + $OFFSET2, $hprocess)
$4 = _MemoryRead($3 + $OFFSET3, $hprocess)
$5 = _MemoryRead($4 + $OFFSET4, $hprocess)
....
05/24/2009 01:09 mildblue#5
holy f*uck, i think this is it... i allready heard about nomad! thaaaanks!
05/24/2009 01:53 mildblue#6
problem solved :)