Hello. I wanted to learn more about Lua and Cheat engine so I got a Lua book yesterday and started learning a little on my own.
As a basic first test ever I am simply trying to get the 2 byte value at the address 009188A4 which cheat engine shows as 2400 on the address list but when using ReadSmallInteger I get 1024 instead.
In CE "[ ]" has a special meaning, using "DEADBEEF" as the address CE will look at the acual address "DEADBEEF". But using "[DEEADBEEF]" as the address CE will look at the address stored at "DEEADBEEF" (i.e.: "[DEEADBEEF]" is a pointer with an offset of 0).