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 


Need Help With Pointers.

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

Joined: 21 Jun 2018
Posts: 1

PostPosted: Sat Jan 26, 2019 1:01 am    Post subject: Need Help With Pointers. Reply with quote

So I found, the address. When I looked at what writes too it and what accesses too it, every single one gives me the same base and offset.

mov eax,[ecx+eax*8+04]

The ecx is 00B676D8, The Eax 00000007 So I put it in the calculator. I get 3C. I add the ECX as my base address. And the Offset. But instead of giving my value of the amount of the item I got, It just gives me some random value of 19E, So I donno what i'm doing wrong.


Another thing is this is a Microsoft Visual Basic Game, so I donno if CE will even work with it.
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Jan 26, 2019 9:49 am    Post subject: Reply with quote

is 7 the value of eax before or after the instruction is run?
You can always figure it out yourself with some math (<actual address> - ecx - 4) / 8 = eax used in calculation before value stored in eax.

You also won't use the pointer method but just a normal address field with base+offset, since "pointer" means you're giving it an address in memory that stores another address in memory that it needs to read before adding the offset eg. mov ecx, [ecx] then mov eax, [ecx+...].

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jan 26, 2019 11:03 am    Post subject: Reply with quote

the offset is likely the address you used 'find what access' on - 00B676D8
_________________
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 -> General Gamehacking 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