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 


Help on storing doubles

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
sven3107
Expert Cheater
Reputation: 0

Joined: 04 Feb 2009
Posts: 118
Location: Belgium

PostPosted: Sun Feb 22, 2009 1:35 pm    Post subject: Help on storing doubles Reply with quote

Ok, noob question: i want to store a 8-byte equivalent of a double value using the following opcode:
Code:
mov [ebx+00000330],40B38800100000000

As you can see, this requires a 8-byte value to be stored but i can't use that code because it only takes the first 4 bytes (wich are 00 00 00 00).
Can anyone tell me how to store this value into that address, please Question
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Feb 22, 2009 1:42 pm    Post subject: Reply with quote

Actually, 40B38800100000000 is a 9 byte value
so:
mov [ebx+00000330],00000000
mov [ebx+00000334],0b388001
mov byte [ebx+00000338],04

_________________
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
sven3107
Expert Cheater
Reputation: 0

Joined: 04 Feb 2009
Posts: 118
Location: Belgium

PostPosted: Sun Feb 22, 2009 2:23 pm    Post subject: Reply with quote

sorry, i probably miscounted the last zero on the value but thank you very much anyway

Well, i tested that new code and it works absolutely perfectly! Thanks again!
Back to top
View user's profile Send private message Send e-mail 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