Sorry again.
I do have
Цитата
local PROCESS_VM_READ = 0x0010
It didn't copy properly it was above ffi.
I already use pointers in my script. I have pointers from player address for every variable about character.
I also have pointer to player address. Problem is that it needs start address from which first offset goes.
On screenshot attached I have found HP which is "static" in CE. My pointer to hp looks like this:
Цитата
local gameMemStart = 0xCF0000 -- same as underlined on screenshot (which I have to check every time in CE)
local playerHP = readmem (gameMemStart + 0x7B774C, "D") -- same as the green static address/pointer on the search list of CE
My problem is that this "static" address changes every time I open the game client.
Tried doing 14 levels of pointerscan to this gameMemStart address in CE (took me 4 hours) and found no pointers.
In Cheat Engine when you expand "Memory Scan Options" dropdown list you can see all modules associated with the process to which CE is attached. On the list I select the "xxxGameClientNamexxx.exe".
My bad that I didn't describe it properly.