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 


Auto Assmbler LuaCall?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Mar 23, 2013 6:15 am    Post subject: Auto Assmbler LuaCall? Reply with quote

Well I want to show messages in ASM..
In LUA I do this
Code:
msg=[[
Test...
Blah..
Working finein LUA...]]
showMessage(msg)

Works fine
But if I do this in ASM
Code:
luacall(msg=[[
Test...
Blah..
Working finein LUA...]])
luacall(showMessage(msg))

It gives error..
Although this working
Code:
luacall(msg=[[working]])
luacall(showMessage(msg))
[enable]
[disable]


Any change to improve this in the future?

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Mar 23, 2013 6:43 am    Post subject: Reply with quote

Luacall is to execute predefined functions or simple stuff(luacall(if readInteger(1234) == 0 then showMessage("bla") end showmessage("bla2")). If i where to add multiline support you would then be required to place escape characters in front of (and ) to mark that the script hasn't ended.
E.g. showMessage(msg) would then be written as showMessage\(msg\)

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Mar 23, 2013 7:04 am    Post subject: Reply with quote

I see,
Thanks for the reply Smile

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
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