you doesn't declare PROCESS_VM_READ. It have no value and nil will be passed to kernel.OpenProcess().
I dont understand what you try to say, when you write about "start address of the executable". In general it always something like 0x0. You dont have access to physical address inside operation system, you always work with virtual address (provided by operation system). Cheat Engine, uopilot and any kind of program using virtual address and it can be same in many processes. Its a reason why you need a handle to open process for start to read memory.
Pointer finding:
https://stackoverflow.com/questions/5122022...-address-offsetFor read int you can use readmem() function.
Example:
Код
-- you need to have right handle
-- in workwindow().
-- use ctrl+a or findwindow for it.
local pointer = 0
pointer = readmem(0x00001234, "d") + 0x28
pointer = readmem(pointer, "d") + 0x15
pointer = readmem(pointer, "d") + 0x72
local address = readmem(pointer, "d") + 0x68
local value = readDouble(address)
log(value)
Сообщение отредактировал DarkMaster - 1.11.2023, 6:12