| View previous topic :: View next topic |
| Author |
Message |
Wootness How do I cheat?
Reputation: 0
Joined: 20 Feb 2011 Posts: 1
|
Posted: Sun Feb 20, 2011 11:46 am Post subject: AutoIt Memory Pointer Reading. |
|
|
I've been at it for some time and I just can not get the script to read off the pointer value, I've been able to return the static pointer address easily but I still have trouble reading the pointer.
This is what I have so far:
| Code: |
#include <NomadMemory.au3>
$PID=_MemoryOpen(ProcessExists("rift.exe"))
$BaseAddress=_MemoryGetBaseAddress($PID, 1)
$StaticOffset=Dec("E81308")
$iPID=WinGetProcess("RIFT")
$BaseAdd=_MemoryModuleGetBaseAddress($iPID,"rift.exe")+$StaticOffset
Dim $Offset[5]
Local $Offsets[5]=[0,Dec(18),Dec(130),Dec(90),Dec(184)]
$Offset[0]=0
$Offset[1]=0x18
$Offset[2]=0x130
$Offset[3]=0x90
$Offset[4]=0x184
$FinalAddress="0x"&Hex($BaseAddress+$StaticOffset)
$HP=_MemoryPointerRead($BaseAdd,$PID,$Offset)
_MemoryClose($PID)
ConsoleWrite($BaseAddress&" "&$StaticOffset&" "&$FinalAddress&" "&$BaseAdd&" "&$HP)
|
|
|
| Back to top |
|
 |
SlowPoke69 How do I cheat?
Reputation: 0
Joined: 18 Feb 2011 Posts: 7
|
Posted: Sun Feb 20, 2011 2:39 pm Post subject: |
|
|
Holy crap... Rift is just in beta and already being tampered with.. funny.
|
|
| Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
|
| Back to top |
|
 |
Luig Cheater
Reputation: 0
Joined: 24 Sep 2010 Posts: 26
|
Posted: Mon Feb 21, 2011 10:45 am Post subject: |
|
|
| I believe WinGetProcess returns the process of a window not the process id. If you know the process then use ProcessExists if you don't know the process you can try something like ProcessExists(WinGetProcess("RIFT"))
|
|
| Back to top |
|
 |
|