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 


What's the Lua version of this AA method? (solved, thanks!)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Devon999
Newbie cheater
Reputation: 0

Joined: 03 May 2022
Posts: 23

PostPosted: Wed May 25, 2022 5:54 pm    Post subject: What's the Lua version of this AA method? (solved, thanks!) Reply with quote

Apologies for poor wording/English, I appreciate any help!

Quick note before my question == In AA I can do this already:
Code:
[ENABLE]
alloc(spinach,8)
registersymbol(spinach)

And then I can successfully create an address manually in my addresslist that has the address: spinach
This allows me to successfully use the spinach symbol by typing it like this later in the script--> [spinach]

My question: I can't seem to find how to convert the spinach symbol to use in a Lua line, so how do I do the whole above process then with Lua instead?

So for example my script will begin with:
Code:
[ENABLE]
{$lua}


So now I need the lua version of how to allocate and register a symbol, and how to physically use it the way in AA I'd be able to use [spinach]


Last edited by Devon999 on Sun Jun 05, 2022 3:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Thu May 26, 2022 4:09 am    Post subject: Reply with quote

I would advise studying this: celua.txt:
Code:

allocateMemory(size, BaseAddress OPTIONAL, Protection OPTIONAL): Allocates some memory into the target process
deAlloc(address, size OPTIONAL): Frees allocated memory

registerSymbol(symbolname, address, OPTIONAL donotsave): Registers a user-defined symbol. If donotsave is true, this symbol will not be saved when the table is saved.
unregisterSymbol(symbolname)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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