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 


Freezing values using registered symbols

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

Joined: 05 Oct 2012
Posts: 4

PostPosted: Fri Nov 02, 2012 2:14 pm    Post subject: Freezing values using registered symbols Reply with quote

Hi there, I appreciate the help...
I'm trying to freeze values of addresses that I've tagged using registersymbol. The freeze methods seem to require use of memoryrecord-related objects. So, without building a new freeze timer function, how do I freeze the registered symbols? Here's some iterations I've tried without success. The registered symbol here is "birdx." By the way, this will be used "on the fly" during game play to freeze and unfreeze the player's position-- cool for various violations of gravity and physics...

memoryrecord_freeze( getAddress("birdx") )
memoryrecord_freeze( "birdx" )

Neither one of these produces errors, probably just ignored because CE can't find the address as a memoryrecord object/element...

_________________
Yep, I'm a bird veterinarian and an amateur programmer/hacker...
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 Nov 02, 2012 2:26 pm    Post subject: Reply with quote

You should add the address with that registeredsymbol to the addresslist and just freeze that. (with lua code)
Addresses in ce's addresslist are strings, so a registeredsymbol is no problem

To get a memoryrecord you first get the addresslist object, then you find the cheat entry. Either by name, id, or enumerating through the list and checking the address. (or when you added it with lua it returned the memrec object)
And then call memoryrecord_freeze() on that memoryrecord object

_________________
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 Lua Scripting 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