GameGUGU1 Posted October 5, 2020 Share Posted October 5, 2020 Me need understand how i can do, what my script can pick item in memory and after go to address and change value to Dword example: gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('-----', gg.TYPE_DWORD) gg.searchNumber('----',gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0) z = gg.getResults(1) gg.addListItems(z) What me write what it script next do pick it first item in memory and after go to other address for change other value in my understand for go to new address it should be "gg.gotoaddress(z[1].address + '24' , gg.TYPE_DWORD), but it crashed and what write for change last value... plz help me with it thank you all! Link to comment Share on other sites More sharing options...
MonkeySAN Posted October 5, 2020 Share Posted October 5, 2020 try this.. gg.loadResults(gg.getListItems()) local t = gg.getResults(1) for i,v in pairs(t) do gg.setValues({ {address = v.address + 24, flags = 4, value = <your value>} }) gg.addListItems(t) Link to comment Share on other sites More sharing options...
GameGUGU1 Posted October 5, 2020 Author Share Posted October 5, 2020 15 minutes ago, MonkeySAN said: try this.. gg.loadResults(gg.getListItems()) local t = gg.getResults(1) for i,v in pairs(t) do gg.setValues({ {address = v.address + 24, flags = 4, value = <your value>} }) gg.addListItems(t) thank you very much realy working! Link to comment Share on other sites More sharing options...
Question
GameGUGU1
Me need understand how i can do, what my script can pick item in memory and after go to address and change value to Dword
example:
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('-----', gg.TYPE_DWORD)
gg.searchNumber('----',gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0)
z = gg.getResults(1)
gg.addListItems(z)
What me write what it script next do pick it first item in memory and after go to other address for change other value
in my understand for go to new address it should be "gg.gotoaddress(z[1].address + '24' , gg.TYPE_DWORD), but it crashed
and what write for change last value... plz help me with it
thank you all!
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.