Fend Posted January 1, 2009 Posted January 1, 2009 Ok so i have been working on learning how to work with memory. I spent the last few days researching cheatengine to get the values I need to manipulate and find myself a bit lost. I think if I could see something simple I could figure out the rest, so here goes. I am looking to read the value for HP on my char in a game and display it on a tooltip for 1sec.(this should give me enough to get me moving in the right direction) I can do this with the adress that is generated each time the game loads but I wanted to work with something static. the process is "client.exe"The static address is 086ab78 it points to an address with the offset 560Then the new address points to the address that holds the value I want with an offset of 31cHere is a picture of the cheatengine windowI am stuck when I am dealing with pointers(I read Szhlopp's memory UDP tons but missing something)I would be greatfull for any help however big or small! Thank you I like cookies?
igotandrew Posted January 1, 2009 Posted January 1, 2009 There is like a nomadmemory.au3 or something along the lines of that. If that's not what you're looking for ~ at least I tried. Not too familiar with memory / memory manipulation.
FireFox Posted January 1, 2009 Posted January 1, 2009 @Fendhttp://www.autoitscript.com/forum/index.php?showtopic=78834Cheers, FireFox.
Fend Posted January 1, 2009 Author Posted January 1, 2009 @igotandrew: I have been using nomadmemory, for some reason having issues getting it to work with these pointers. It's been a rather painfull process @FireFox: I have spent hours working with Szhlopp's code and I am missing something fundemental I think. Thx for the replies I like cookies?
Szhlopp Posted January 2, 2009 Posted January 2, 2009 @igotandrew: I have been using nomadmemory, for some reason having issues getting it to work with these pointers. It's been a rather painfull process @FireFox: I have spent hours working with Szhlopp's code and I am missing something fundemental I think.Thx for the replies Hey Fend,Go ahead and copy/paste that address. 1) Where it says "P->219####", right click>Copy2) Right click>Paste.This will format that green address into a static address.Instead of "086ab78", it might say "082ab78+Client.exe"This is where my UDF comes into play. Now you can use my BaseAddress function to get what that equals. All you have to do now is add everything up.If this is an online game or MMO, you may have to get the green address everytime they apply any sort of patch. Because how that pointer is generated could have been changed. But as far as rebooting your PC you won't loose it.Let me know if you run into any other troubles.Szhlopp RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+'
Fend Posted January 4, 2009 Author Posted January 4, 2009 (edited) Thx man!! After a few more hours tweaking things I got it to work!! I spent most of the day playing with a few different programs and just using the code, I feel infinitely better about the whole memory process. I did run into a question though, I tried a different game and found the Xcoord as a 4byte but the Ycoord as a byte. Is this uncommon? the pointer to the Ycoord is 4byte so I get a huge value as apposed to what it should be. Does autoit have a means to convert that 4byte value to a byte? Thanks again so much!!! Edited January 4, 2009 by Fend I like cookies?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now