Jump to content
  • 0

How to search value that is in listitems?


Ardit19

Question

Posted
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()))

 

3 answers to this question

Recommended Posts

Posted
On 11/10/2023 at 10:15 AM, Count_Nosferatu said:

Command gg.clearResults() must be executed before, not after search. 🙂

Thanks for the answer even though it didn't help but overall I achieved it! 

1 hour ago, SYLVIA said:

CLOSED!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.