Posted: Thu Jul 16, 2020 8:27 pm Post subject: CE Basic scripting syntax (NOT asm/Lua)
Something has been frustrating me for years of using CE now...
No matter where I look I can't find any collection of information on CE's own basic scripting syntax/functions that can be used within normal cheat table entries.
For example:
Entering "getModuleSize('whateverexecutableyouarehacking.exe')" into the address field of a table entry gives that .exe's total size.
This function may be Lua (idk), but the fact that you can use functions like this right inside entries...
You can also couple it like this (exclude the brackets): ["whateverexecutableyouarehacking.exe"+getModuleSize('whateverexecutableyouarehacking.exe')] to get the final base address for the .exe you're hacking.
This is extremely useful sometimes! Where is the basic syntax for all of this??
If I remember correctly, it should also be possible to easily reference other table entries from the address field... But HOW!?
Also, the fact that you can put children under a parent entry and give a child entry an address like "+14" to offset the parent (like a pointer) is a major feature that simply is hidden.
I'm absolutely sure there's more stuff like this, but where's the info? Enough with the hidden features! Bring it out in the open!
Why aren't these things part of CE's documentation or built-in tutorial?
And if it is, why is it so d**n hard to find??
This should have it's own crystal-clear-named section on the wiki at the very least. Is there one? All I can see is Lua this, Lua that, or whatever.
Some of us aren't that interested in writing full-blown Assembly or Lua scripts or don't really need them to accomplish their cheating goals.
Personally, if I can avoid adding entire scripts to my tables I do. I'd rather just use the built-in functionality of CE, which has kinda been suffering for a while now if you ask me...
Everyone's encouraged to learn to use asm/Lua. Somehow I get the feeling it's to cover up the shortcomings of CE. It's already a very powerful hacking tool with painfully underappreciated (and well hidden) non-asm/Lua features, but it has room to grow.
Any information on this would be greatly appreciated!
getModuleSize is Lua code.
CE sometimes sends user input to Lua if it isn't "normal", and if Lua doesn't complain, CE assumes it was Lua code.
When changing a value, you can specify values of other memory records by putting the description in parenthesis. e.g. (Other Memrec Description)
This is particularly useful when freezing a memory record.
If this stuff is documented I have no idea where it would be. I learn most esoteric stuff like this from either reading DB's posts here in the forums or reading CE's source code.
The wiki is maintained by the community AFAIK. If you want to document it, go ahead. _________________
I don't know where I'm going, but I'll figure it out when I get there.
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