Spiider11 Posted August 18, 2010 Share Posted August 18, 2010 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 More sharing options...
trancexx Posted August 18, 2010 Share Posted August 18, 2010 (edited) 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 August 18, 2010 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Bert Posted August 18, 2010 Share Posted August 18, 2010 You may want to review the bot announcement at the top of this forum. If your game falls under that announcement, then you should understand you won't get help. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Spiider11 Posted August 18, 2010 Author Share Posted August 18, 2010 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 ! Link to comment Share on other sites More sharing options...
Spiider11 Posted August 19, 2010 Author Share Posted August 19, 2010 (edited) 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 August 19, 2010 by Spiider11 Link to comment Share on other sites More sharing options...
kaotkbliss Posted August 19, 2010 Share Posted August 19, 2010 Apparently you are going to ignore both MPH's response and the announcement by Valik... 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Bert Posted August 19, 2010 Share Posted August 19, 2010 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Spiider11 Posted August 19, 2010 Author Share Posted August 19, 2010 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++ Link to comment Share on other sites More sharing options...
Recommended Posts