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 


Lua promblem, and how to Freeze the address after scan w/ AA

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Sun Mar 09, 2014 7:31 pm    Post subject: Lua promblem, and how to Freeze the address after scan w/ AA Reply with quote

Im not using Lua because i get "[string "[Enable]...":1: unexpected symbol near '['" error when i add my code.. Anyone know how can i fix this?


This is what i have right now in AA, what i want to do is to find '01 01' and freeze it, i have no idea how to do it or if its even possible.

Also, would it be possible to add same kind of thing into my address list and see '01 01' from my scan?

Code:
[ENABLE]
aobscan(myaddr, 08 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 03 ?? ?? ?? 01 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 01 01 ?? ?? ?? ?? ?? ?? 59 02)
label(idkanymore)
registersymbol(idkanymore)

myaddr+1c:
idkanymore:
db 01 01

[DISABLE]

unregistersymbol(idkanymore)
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sun Mar 09, 2014 7:45 pm    Post subject: Reply with quote

Well, to get technical you can't really freeze an address. When you tick the checkbox on an address in CE, what CE actually does is just overwrite that address with your value a bunch of times a second (how often is configurable in CE's settings). This has downsides, so what I suggest is finding the code that writes that address and edit the code so it stops modifying the address.

But anyways if you're just looking to treat the scanned-for address like you normally would, then click the "add address manually" button in CE and type in idkanymore (or whatever for whatever you found and set) for the address.

_________________
Back to top
View user's profile Send private message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Sun Mar 09, 2014 9:41 pm    Post subject: Reply with quote

thanks, helped a lot
Back to top
View user's profile Send private message
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