kkbs4u Posted June 19, 2020 Share Posted June 19, 2020 gg.searchNumber("1179403647", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) I Want To Set Offset On First Result Offset Is 38899787 and Edit Offset Value with Freeze -776588887 How To Do Please Help Link to comment Share on other sites More sharing options...
MrXnuv3r Posted June 30, 2020 Share Posted June 30, 2020 On 6/20/2020 at 3:39 AM, zam535582 said: gg.searchNumber("1179403647", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) r = gg.getResults(1) local t = {} t[1] = {} t[1].address = r[1].address + 38899787 t[1].flags = 4 t[1].value = -776588887 t[1].freeze = true gg.setValues(t) gg.addListItems(t) what if the search results are more than one ?. I tried the code but only 1 result was edited gg.searchNumber("10;20", gg.TYPE_FLOAT) gg.refineNumber("10") r = gg.getResults(10) local t = {} t[1] = {} t[1].address = r[1].address - 0x4 t[1].flags = gg.TYPE_FLOAT t[1].value = 10 t[1].freeze = true gg.setValues(t) gg.addListItems(t) Link to comment Share on other sites More sharing options...
MonkeySAN Posted June 30, 2020 Share Posted June 30, 2020 local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address - 0x4 t[i].flags = 16 t[i].value = 10 t[i].freeze = true gg.setValues(t) gg.addListItems(t) gg.toast("Done") end someone gave me this method..a long time ago. it could be work for you. try it. Link to comment Share on other sites More sharing options...
MrXnuv3r Posted July 1, 2020 Share Posted July 1, 2020 17 hours ago, MonkeySAN said: local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address - 0x4 t[i].flags = 16 t[i].value = 10 t[i].freeze = true gg.setValues(t) gg.addListItems(t) gg.toast("Done") end someone gave me this method..a long time ago. it could be work for you. try it. Thanks sir, its work perfectly Link to comment Share on other sites More sharing options...
zam535582 Posted June 19, 2020 Share Posted June 19, 2020 gg.searchNumber("1179403647", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) r = gg.getResults(1) local t = {} t[1] = {} t[1].address = r[1].address + 38899787 t[1].flags = 4 t[1].value = -776588887 t[1].freeze = true gg.setValues(t) gg.addListItems(t) Link to comment Share on other sites More sharing options...
kkbs4u Posted June 20, 2020 Author Share Posted June 20, 2020 15 hours ago, zam535582 said: gg.searchNumber("1179403647", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) r = gg.getResults(1) local t = {} t[1] = {} t[1].address = r[1].address + 38899787 t[1].flags = 4 t[1].value = -776588887 t[1].freeze = true gg.setValues(t) gg.addListItems(t) Working perfectly Thankyou very much sir Link to comment Share on other sites More sharing options...
Question
kkbs4u
gg.searchNumber("1179403647", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
I Want To Set Offset On First Result
Offset Is 38899787
and Edit Offset Value with Freeze -776588887
How To Do Please Help
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.