Rs92ks Posted December 28, 2019 Posted December 28, 2019 kk1=1890 gg.clearResults() gg.setRanges(32) gg.searchNumber(kk1..'x4',4) hk=gg.getResults(999) for _,p in ipairs(hk) do p2=({address=p.address+0x4,flags=4}) if p2.value==1 then p.value=99999 gg.setValues(hk) end end Help. Value with random xor key. My script changing to value=value. How to fix?
Administrators Enyby Posted December 28, 2019 Administrators Posted December 28, 2019 27 minutes ago, Rs92ks said: p2.value==1 Never true, because you create table without value. Maybe you forget call getValues. [added 3 minutes later] kk1=1890 gg.clearResults() gg.setRanges(32) gg.searchNumber(kk1..'x4',4) hk=gg.getResults(999) hn=gg.getResults(999) for _,p in ipairs(hn) do p.address = p.address+0x4 end hn = gg.getValues(hn) for i,p in ipairs(hk) do if hn[i].value==1 then p.value=99999 end end gg.setValues(hk)
Question
Rs92ks
Help. Value with random xor key. My script changing to value=value. How to fix?
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.