Jump to content
Sign in to follow this  
Spiider11

[Help] read game memory

Recommended Posts

Spiider11

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!

Share this post


Link to post
Share on other sites
trancexx

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

Share this post


Link to post
Share on other sites
Spiider11

Ok , sorry for not mentioning this before !

I'm running this on W7 Utimate , x64 , and yes i run the script as administrator with the same result !

Share this post


Link to post
Share on other sites
Spiider11

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

Share this post


Link to post
Share on other sites
kaotkbliss

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!

Share this post


Link to post
Share on other sites
Bert

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.

Share this post


Link to post
Share on other sites
Spiider11

sorry! didn't see you posts , i understand , and btw this is not intended to be a bot such !

it's only educational (i will not release a thing) , but there's no support for that here !

nvm i'll just use c++

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×