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 


editing values in scrips

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Sat May 24, 2014 6:48 am    Post subject: editing values in scrips Reply with quote

I know that i can use (int) (float) and the '#' sign to easly change values in scripts, but i have a question, can i also use a "(something)" form to change double , byte, 2byte, 8byte , string ... etc'?
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Sat May 24, 2014 10:30 am    Post subject: Re: editing values in scrips Reply with quote

mixmax35 wrote:
I know that i can use (int) (float) and the '#' sign to easly change values in scripts, but i have a question, can i also use a "(something)" form to change double , byte, 2byte, 8byte , string ... etc'?


You aren't giving enough context for a definitive answer. If you're just trying to move literals into a register you can use the smaller registers (eg eax -> ax or ah/al) to ensure you're working w/ only 1/2 bytes or the word ptr/byte ptr specifiers when moving to memory. Anything literal bigger than your registers will obviously need to be moved to memory and handled differently, perhaps with a pointer.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
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