|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Wed May 25, 2022 5:54 pm Post subject: What's the Lua version of this AA method? (solved, thanks!) |
|
|
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:
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 |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Thu May 26, 2022 4:09 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|