Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I have a code that write to address,but i cant find pointer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
gb_ck
How do I cheat?
Reputation: 0

Joined: 21 Feb 2005
Posts: 2

PostPosted: Fri Feb 25, 2005 8:02 am    Post subject: I have a code that write to address,but i cant find pointer Reply with quote

Hi, I can find a pointer and make trainer with CE. But it's simple game. I
got a problem with another game. I found an address but i can't find a
pointer Sad . When I "find out what accesses this address" and it show me a line:
004221f4 - 89 8e b4 00 00 00 - mov [esi+0000004b],ecx (CE tell me it's "Copy memory")

I double click on it and CE tell me "The value of the pointer needed to find this address is propably 059F4294"
Next i'm back to CE main and scan for 059F4294 value. But CE didn't find
any address... And i'm stuck here T_T . With another game, CE always show me at least 1 address (pointer).

I added "004221f4 - 89 8e b4 00 00 00 - mov [esi+0000004b],ecx" to code list and save it. Then next time play game i can load it and "find out what addresses this code write to", i will get the address again. But this is so inconvenient Sad

Finally, what i got is the code access to that address. Please help me how can i make a trainer with it. I saw someone can make a trainer for this
address. I dont know how can he got pointer >.<"
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Feb 25, 2005 9:42 am    Post subject: Reply with quote

this is one of those situations where a little assembler knowledge can help.
the value of esi propably gets changed after it got it's value. e.g: after getting the pointer, it increases esi with a value and uses that as the base+4b to get the right address. You'll have to look/step through the assembler code yorself to find out what the calculation is and find it that way.

you could also do some code injection. (e.g make a jump to a empty spot, and write there code that saves the value of esi on a static address for your trainer) But, that'll require even more assembler knowledge.

Oh yes, when scanning for the pointer I recommend changing the array it scans to 0 to 7fffffff. I usually don't recommend the stack to be used for game hacking, but with some newer games programmed in OOP languages the base of the stack often stays the same for a long time.

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites