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 


Pointer Problem

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

Joined: 14 Jun 2007
Posts: 3

PostPosted: Thu Jun 14, 2007 7:49 am    Post subject: Pointer Problem Reply with quote

I'm having a prob finding the pointer for a float. When I do the "see what writes to this " it brings up a command that moves data from a string to a string.
It looks like this:

Code:
004420d9 - lea esi, [ebp + 2c]
004420dc - mov edi, eax
004420de - movsd        <---- This is supposedly the writing command.
004420df - movsd
004420e0 - movsd


so why would the movsd command be used to write data to a float? Btw, i'm new here, so i'm not sure of my skill level vs you guys. I've used CE for a long time but never had to mess with pointers much. My assembly knowledge is not so great right now.

- Unfrozen Caveman
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Thu Jun 14, 2007 8:34 am    Post subject: Reply with quote

Check out this link it will explain that instruction.

http://www.online.ee/~andre/i80386/Opcodes/MOVS-MOVSB-MOVSW-MOVSD.html
Back to top
View user's profile Send private message
UnfrozenCaveman
How do I cheat?
Reputation: 0

Joined: 14 Jun 2007
Posts: 3

PostPosted: Thu Jun 14, 2007 9:26 am    Post subject: Reply with quote

Thanks a lot Labyrnth. So, if i get this right, it looks like the command copys a double from address ESI (0012FAF8) to a double at EDI (02FEC088). I expected floats (4 byte/32 bit) instead of doubles (8 byte/64 bit) because the original number I found was a float.

I see that this command also will increment those addresses by 4 after the command executes, so the original addresses for ESI was 0012FAF4 and EDI was 02FEC084. Well I know EDI is correct.
But when i try to find the value at address 0012FAF4 , by adding it manually, the value just jumps around all crazy , both when i set it as a float and a Double.

I'm trying to reliably read the X-coordinate of my Vanguard location. In that game if you type /loc it gives you your coordinates. I just want to get a stable X coordinate address. SoE may have tried to make this difficult , i'm not sure. If you have a theory on how it can be done or what i'm doing wrong let me know.
Back to top
View user's profile Send private message
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