Jump to content
  • 0

How to search value that is in listitems?


Ardit19
 Share

Question

gg.searchNumber("1040372000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
gg.addListItems((gg.getResults(gg.getResultsCount())))
for i, i in ipairs((gg.getResults(gg.getResultsCount()))) do
  i.address = i.address - 0x8
end
gg.addListItems((gg.getResults(gg.getResultsCount())))
gg.loadResults((gg.getResults(gg.getResultsCount())))
gg.clearList()
gg.refineNumber("12000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
for i, i in ipairs((gg.getResults(1))) do
  i.address = i.address - 0x24
end
gg.addListItems((gg.getResults(1)))
gg.clearList()
test = gg.getListItems("1")
gg.searchNumber(test[1].value, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
for i, i in ipairs((gg.getResults(2000))) do
  i.address = i.address + 0x238
  i.value = "0"
end
gg.addListItems((gg.getResults(2000)))
gg.setValues((gg.getResults(2000)))
gg.addListItems((gg.getListItems()))

 

Edited by Ardit19
Link to comment
Share on other sites

3 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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.