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 Scripts Never Activate

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

Joined: 10 Jan 2017
Posts: 1

PostPosted: Tue Aug 29, 2017 4:27 am    Post subject: Lua Scripts Never Activate Reply with quote

So here's a problem I've been having for a while now, but since there appears to be only one possible table for the game I'm currently playing it's become absolutely frustrating.

Lua scripts never work for me and I don't know why. The box never checks in and they never activate. I've tried updating Cheat Engine, I've tried saying Yes if it wants to run the script. I've tried everything the searches on these forums have turned up. Nothing. Can anyone help me out?
Back to top
View user's profile Send private message
FreeER
Master Cheater
Reputation: 10

Joined: 09 Aug 2013
Posts: 298

PostPosted: Tue Aug 29, 2017 8:38 am    Post subject: Reply with quote

can you give more information than "I've tried everything and it doesn't work"? Like, an actual example of the simplest scripts you've tried that don't work? And maybe the name of the game (assuming you're not withholding it because it's an online game)

Also, in an AA script you have to use {$lua} before you can write lua code, eg.

Code:
[ENABLE]
{$lua}
print('you enabled me!')
{$asm}
// ^ ends lua section
[DISABLE]
{$lua}
print('Aw, try me again sometime!')
{$asm}


or
Code:
{$lua}
[ENABLE]
print('you enabled me!')
[DISABLE]
print('Aw, try me again sometime!')



Of course if you didn't create the scripts then it's possible they're out of date and aren't going to work just like AOB scripts would fail.
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