Jump to content
  • 0

Help me for search more then one value


MrXnuv3r

Question

help me to find more than one value

I mean, if I look for the value "25" and there are no results, then continue to look for the second value "20".
but if I look for the value "25" and there are results, then don't look for the second value "20"

I tried writing the script but GG always read i search value "5"

sorry for my english
I hope you understand what I mean

Quote

gg.searchNumber("25~20", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineAddress("7???????5C", -1, gg.TYPE_DWORD, gg.SIGN_EQUAL, 0, -1, 0)
r = gg.getResults(1)
local t = {}
t[1] = {}
t[1].address = r[1].address - 0x4
t[1].flags = 4
t[1].value = 123
gg.setValues(t)
t[1].address = r[1].address - 0x8
t[1].flags = 4
t[1].value = 123
gg.setValues(t)
t = nil
gg.clearResults()

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.