Posted: Wed Feb 03, 2021 12:13 am Post subject: How to populate the cheat engine table using lua?
By cheat engine table I mean the section that gets filled in when you double click an address
[Active][Description][Address][Type][Value]
(I'd show you a picture but I haven't reached a certain number of posts to paste URLs)
I am using a piece of player data, that I can find consistently, as a base (Z position) and want to populate the table with data near that base address
Example
Base: 0x12345678
Y position = Base + 0x04
X velocity = Base + 0x08
and so on...
I don't want to manually add new addresses and calculate base + offset each time I boot up CE and was hoping to use LUA to do that. However, I don't know how to add rows to CE using LUA.
I'm expecting there to be something along the lines of
Code:
-- Sudo code:
local z_position = {address = 0x12345678, type = "float"
local y_position = {address = z_position.address + 0x04, type = "float"}
local x_velocity = {address = z_position.address + 0x08, type = "float"}
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