etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 83
|
Posted: Fri Aug 05, 2022 7:37 am Post subject: Batch update invalid script addresses |
|
|
This can be used for update script that address invalidation but relatively offset not change.
| Code: |
local list = getAddressList()
for n = 0, list.Count - 1 do
local rec = list[n]
if rec.OffsetCount > 0 then
py = rec.Offset[0] + 0x26D9B4
rec.setAddress("0x123")--Change here to target
rec.setOffsetCount(2)
rec.setOffset(0, py)
rec.setOffset(1, 0x678)
end
end
|
Batch modify the addresses whose value is not 0 in the script
| Code: |
local list = getAddressList()
for n = 0, list.Count - 1 do
local rec = list[n]
cp = tonumber(rec.value)
if cp ~= nil
then
if cp > 0 then
rec.value = 999
end
end
end
|
what level can upload a gif image of the function demonstration?
What caused it? this ——Upload Error: Could not upload Attachment to ./files/gif03_847.gif.
how he do this ?
https://forum.cheatengine.org/viewtopic.php?t=619620
the gif link is https://forum.cheatengine.org/files/structurepicker....
Last edited by etioplmld on Tue Aug 23, 2022 10:14 am; edited 2 times in total |
|