Difference between revisions of "CEAddressString"
(Created page with 'A "CEAddressString" is a string formatted for use by Cheat Engine's internal symbol handler to interpret an address These addresses do not start with a 0x in front but do suppor…') |
m |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | A | + | [[Category:Lua]] |
+ | A '''CEAddressString''' is a string formatted for use by Cheat Engine's internal symbol handler to interpret an address. | ||
− | These addresses do not start with a 0x | + | These addresses do not start with a <code>0x</code> prefix, but do support basic math operations. |
+ | Example: <code>"00400500+12"</code> | ||
− | Pointers are written between [ and ]. Example: [[game.exe+1234]+12]+8 for a pointer that is written as: | + | ===Pointer Syntax=== |
− | + | Pointers are written between <code>[</code> and <code>]</code>. | |
− | + | Example: <code>[[game.exe+1234]+12]+8</code> for a pointer that is written as: | |
− | + | <pre> | |
+ | 8 | ||
+ | 12 | ||
+ | game.exe+1234 | ||
+ | </pre> | ||
− | The address specifier can also be a global | + | ===Global Lua Symbol=== |
+ | The address specifier can also be a global Lua symbol, but then it can only be the Lua symbol. | ||
+ | You do that by starting the CEAddressString with a <code>$</code>-sign. | ||
+ | Example: <code>$MyGlobalsymbol</code> | ||
+ | |||
+ | ===Relative Addressing=== | ||
+ | If an entry on the cheat table is nested under another entry, its address can begin with a <code>+</code>, and will be interpreted as an offset to that parent entry. | ||
+ | For example, if the parent entry is at the address <code>"00400500+12"</code>, then the child entry with the address <code>"+1"</code> would resolve to <code>"00400500+12+1"</code>. | ||
+ | |||
+ | ===Examples=== | ||
+ | <pre> | ||
+ | "00400500+12" -- Absolute address with offset | ||
+ | "game.exe+1234" -- Module base plus offset | ||
+ | "[[game.exe+1234]+12]+8" -- Multi-level pointer | ||
+ | "$MyGlobalsymbol" -- Global Lua symbol | ||
+ | "+1" -- Offset relative to parent entry | ||
+ | </pre> | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | [[Lua]] |
Latest revision as of 16:04, 11 July 2025
A CEAddressString is a string formatted for use by Cheat Engine's internal symbol handler to interpret an address.
These addresses do not start with a 0x
prefix, but do support basic math operations.
Example: "00400500+12"
Pointer Syntax[edit]
Pointers are written between [
and ]
.
Example: [[game.exe+1234]+12]+8
for a pointer that is written as:
8 12 game.exe+1234
Global Lua Symbol[edit]
The address specifier can also be a global Lua symbol, but then it can only be the Lua symbol.
You do that by starting the CEAddressString with a $
-sign.
Example: $MyGlobalsymbol
Relative Addressing[edit]
If an entry on the cheat table is nested under another entry, its address can begin with a +
, and will be interpreted as an offset to that parent entry.
For example, if the parent entry is at the address "00400500+12"
, then the child entry with the address "+1"
would resolve to "00400500+12+1"
.
Examples[edit]
"00400500+12" -- Absolute address with offset "game.exe+1234" -- Module base plus offset "[[game.exe+1234]+12]+8" -- Multi-level pointer "$MyGlobalsymbol" -- Global Lua symbol "+1" -- Offset relative to parent entry