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
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
LUA scripting
in Guides
Posted
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:
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