I wanna know how to read values when doing offset.
here is a code i find:
local t = gg.getResults(1)for i,v in pairs(t)do
t[i].address = t[i].address +0x4
t[i].flags =4
t[i].value =7
t[i].freeze =false
gg.setValues(t)
gg.addListItems(t)end
This is the part of offset, using 1 results to goto into a memory viewer to edit.
But the 1 thing i really need.
Is to read the offset value. Doing offset are static in this game. C++ Alloc
I wanna do offset then gg.alert('The offset value is 3 (DWORD)')
Then i wanna make it goes something like this
local t = gg.getResults(1)for i,v in pairs(t)do
t[i].address = t[i].address +0x4
t[i].flags =4
t[i].value =7
t[i].freeze =falseif t[i].address +0x4=="1234"then
gg.setValues(t)else
gg.alert('The offset value is not 1234, meaning this is a trap value!')end
gg.addListItems(t)end
it only edit the offset if the target offset is the correct Value. if the value is not offset target value. Then it will ignore then go to another results.
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.
Question
1x1
Hi there.
I wanna know how to read values when doing offset.
here is a code i find:
This is the part of offset, using 1 results to goto into a memory viewer to edit.
But the 1 thing i really need.
Is to read the offset value. Doing offset are static in this game. C++ Alloc
I wanna do offset then gg.alert('The offset value is 3 (DWORD)')
Then i wanna make it goes something like this
it only edit the offset if the target offset is the correct Value. if the value is not offset target value. Then it will ignore then go to another results.
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.