Jump to content

Recommended Posts

Posted (edited)

Hello! I finaly found the Base Pointer, i was looking for in my last threads, 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:

Posted Image

The Script should walk the same way, as it is shown in the screenshot, using this 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)

Sorry for asking again, but i'm sitting here for about 2 days and it makes crazy. :)

Edited by Tinutron
Posted

What's that , a 5th level pointer ? Is that dialog after a Cheat Engine automatic pointer search ?

Read the first pointer which you say is static, read that pointer etc etc, till you get to the one you want.

Posted (edited)

thats what i tried first, but the script only throws out bullshit. i have to use the offset in anyway, but i dont know how. unfortunatly i dont know much about this pointerstuff... :\

Edited by Tinutron
Posted

I tried this for thousand times now, i just dont know where to but the f*cking offset in my script. my script allways returns 0 or a wrong value, instead of the next pointer. :\

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...