- 0
Help me Lua script experts, how do I copy the resulting offset value, then paste the value in the next search result that has been offset?
-
Similar Content
-
- 3 answers
- 638 views
-
- 15 answers
- 3,892 views
-
- 2 answers
- 1,116 views
-
- 21 answers
- 17,070 views
-
- 11 answers
- 16,843 views
-
Question
POXO
gg.clearResults()
gg.clearList()
gg.searchNumber("4321", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()
gg.searchNumber("4321", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()
gg.searchNumber("4321", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t) gg.clearResults()
local tc = gg.getListItems() gg.cleaeList()
for i, v in ipairs(tc) do
v.address = v.address - 0x1C
end
gg.addListItems(tc)
local ttc = gg.getListItems()
gg.searchNumber("1234", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()
gg.searchNumber("1234", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()
gg.searchNumber("1234", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t) gg.clearResults()
local tb = gg.getListItems() gg.cleaeList()
for i, v in ipairs(tb) do
v.address = v.address + 0x1C
v.value = ttc[1].value
end
gg.addListItems(tb)
gg.setValues(ttc)
Edited by POXO0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now