CEAddressString

From Cheat Engine
Jump to navigation Jump to search

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

See also[edit]

Lua