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 


How to get a Registersymbol in lua ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Wed Jan 21, 2015 11:20 am    Post subject: How to get a Registersymbol in lua ? Reply with quote

Hello , I', trying to pass address of allocated memory to the debugger_onBreakpoint() function by using global variables and i was wondering how to get the registeredsymbol by name or if there is any possible way to pass a registeredsymbol address to lua from AA script.

---- In other word

alloc(newmem,2048)
registersymbol(newmem)
newmem:

----
I want to pass newmem address to a lua function .

_________________
Hey! , Rep++ .


Last edited by omoe on Wed Jan 21, 2015 11:28 am; edited 1 time in total
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: Wed Jan 21, 2015 11:27 am    Post subject: Reply with quote

getAddress("symbolname")

and most functions can just take a string as well

_________________
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
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Wed Jan 21, 2015 11:34 am    Post subject: Reply with quote

Dark Byte wrote:
getAddress("symbolname")

and most functions can just take a string as well

Yup works fine thank you! , I decided to use lua for Assassin Creed Unity Integrity checks and seems to be working fine so far .

_________________
Hey! , Rep++ .
Back to top
View user's profile Send private message
Chancedo1
How do I cheat?
Reputation: 0

Joined: 31 Jan 2015
Posts: 1

PostPosted: Sat Jan 31, 2015 8:12 am    Post subject: Reply with quote

Thanks Dark Byte! Will take a look.
_________________
second last
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