Jump to content

[Help] read game memory


Recommended Posts

Hello !

I have a problem when trying to read the memory of a game ;) !

I've found the base address and the offsets but when i try readind i get 0 .

Here is my code

#include <NomadMemory.au3>
SetPrivilege("SetDebugPrivilege",1)
$process = _MemoryOpen(ProcessExists("game.exe"))
$staticpx = 0x006DB754
$offsetx1 = 0x38
$offsetx2 = 0x744
$offsetx3 = 0
$offsetx4 = 0x1C

$posx = _MemoryRead($staticpx, $process, "ptr")
$posx = _MemoryRead($posx + $offsetx1, $process, "ptr")
$posx = _MemoryRead($posx + $offsetx2, $process, "ptr")
$posx = _MemoryRead($posx + $offsetx3, $process, "ptr")
$posx = $posx + $offsetx4

While 1
$memx = _MemoryRead($posx, $process, "float")
ToolTip($memx)
Sleep(200)
WEnd
Exit

Am I doing something wrong ?(I'm new to this memory stuff)

Can anyone help ?

Thanks in advance!

Link to comment
Share on other sites

You need to provide more informations for people to be able to provide help.

For example, system on which that's run is pretty much essential information.

But why am I saying this? You should know that.

I guess you could just wait for some uber nomadmemory hax0r spitting memorymagic around. Ahhh, I'm curious... who's gonna be?

Btw, great idea with [Help] tag. Makes sense. Not.

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

still not working ;)

i added some lines that type to a file the value of $posx after each memory read but i'm stuck

$posx = _MemoryRead($staticpx, $process, "ptr")
-->posx: 0x75180654

$posx = _MemoryRead($posx + $offsetx1, $process, "ptr")
-->posx: 0xFFEDCD1E

$posx = _MemoryRead($posx + $offsetx2, $process, "ptr")
-->posx: 0x00000000

$posx = _MemoryRead($posx + $offsetx3, $process, "ptr")
-->posx: 0x00000000

$posx = $posx + $offsetx4
-->posx: 0x0000001C

none of the first 2 adresses corespond to the ones in CE

and i have no ideea why, sureley i'm doing something wrong

Please someone help !

Edited by Spiider11
Link to comment
Share on other sites

Apparently you are going to ignore both MPH's response and the announcement by Valik...

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

still not working ;)

i added some lines that type to a file the value of $posx after each memory read but i'm stuck

$posx = _MemoryRead($staticpx, $process, "ptr")
-->posx: 0x75180654

$posx = _MemoryRead($posx + $offsetx1, $process, "ptr")
-->posx: 0xFFEDCD1E

$posx = _MemoryRead($posx + $offsetx2, $process, "ptr")
-->posx: 0x00000000

$posx = _MemoryRead($posx + $offsetx3, $process, "ptr")
-->posx: 0x00000000

$posx = $posx + $offsetx4
-->posx: 0x0000001C

none of the first 2 adresses corespond to the ones in CE

and i have no ideea why, sureley i'm doing something wrong

Please someone help !

And you refuse to read the announcement. That is why you are not getting help.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...