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 code in AA not working

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

Joined: 06 Aug 2022
Posts: 3

PostPosted: Sat Aug 06, 2022 9:29 am    Post subject: Lua code in AA not working Reply with quote

I need to make it so it does thing and then sleeps
Why am I getting this error whatever I do



 Description:
 Filesize:  41.03 KB
 Viewed:  839 Time(s)





_________________
Im new cheat engine user
Back to top
View user's profile Send private message
mrBump
How do I cheat?
Reputation: 0

Joined: 02 Aug 2022
Posts: 5

PostPosted: Sat Aug 06, 2022 9:48 am    Post subject: Re: Lua code in AA not working Reply with quote

G4lactic wrote:
~

Remove the last "end". Your code should work now :D
Code:
createNativeThread(function(t)
    local rec = getAddressList().getMemoryRecordByDescription("test")
    sleep(10)
end)
Back to top
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Sun Aug 07, 2022 2:13 am    Post subject: Reply with quote

the thing is that you typed assembly without allocating memory
about lua you need to remove end after sleep

_________________
void(__cdecl *Haxing)(HWND hGameWindow)
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 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