I'm having troubles updating certain values.
Let's say i have address: BFEBF00C
with value: 198
which i got from using this: gg.searchNumber('198',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0xBF000000,0xC1000000) gg.getResults()
I have a fixed offset: 3BF7C
which points to: BFEFAF88
how can i modify the value of this address? (BFEFAF88)
from what I can tell, there is no function searchaddress() where I can input the offset as variable..
I tried:
local offset = tonumber('3BF7C',16)
local address = (address + offset)
t = {}
t[1].address = address
but this throws an error: table expected for set index ('address') value, got nil
if i alert the value of address, it shows a decimal number