king2345 Posted April 11, 2020 Posted April 11, 2020 Hi please help me . I have created script it's searching well and also taking address and modify well but I can't freeze them . gg.setVisible(false) gg.setRanges(gg.REGION_JAVA_HEAP | gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP | gg.REGION_ANONYMOUS) gg.clearResults() gg.searchNumber("10000;100000;1000000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("10000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) n = gg.getResultsCount(100) ali = gg.getResults(100) for i = 1, n do gg.addListItems({[1] = {address = ali [1].address + 50699708 , flags = 4, gg.TYPE_DWORD}}) gg.addListItems({[1] = {address = ali [1].address + 50701020 , flags = 4, gg.TYPE_DWORD}}) gg.setValues({[1] = {address = ali [1].address + 50699708 , flags = 4, value = 1, gg.TYPE_DWORD}}) gg.setValues({[1] = {address = ali [1].address + 50701020 , flags = 4, value = 5, gg.TYPE_DWORD}}) gg.clearResults() gg.toast("(Congratulations) Patching Successful",true) end end
Administrators Enyby Posted April 12, 2020 Administrators Posted April 12, 2020 See examples: Examples of Lua scripts (#9v7rwwt2)
king2345 Posted April 12, 2020 Author Posted April 12, 2020 Sir I checked all these examples but no one matching with my script actually i used GoTo option and these examples are not matching with this command .
Question
king2345
Hi please help me . I have created script it's searching well and also taking address and modify well but I can't freeze them .
gg.setVisible(false)
gg.setRanges(gg.REGION_JAVA_HEAP | gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP | gg.REGION_ANONYMOUS)
gg.clearResults()
gg.searchNumber("10000;100000;1000000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("10000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
n = gg.getResultsCount(100)
ali = gg.getResults(100)
for i = 1, n do
gg.addListItems({[1] = {address = ali [1].address + 50699708 , flags = 4, gg.TYPE_DWORD}})
gg.addListItems({[1] = {address = ali [1].address + 50701020 , flags = 4, gg.TYPE_DWORD}})
gg.setValues({[1] = {address = ali [1].address + 50699708 , flags = 4, value = 1, gg.TYPE_DWORD}})
gg.setValues({[1] = {address = ali [1].address + 50701020 , flags = 4, value = 5, gg.TYPE_DWORD}})
gg.clearResults()
gg.toast("(Congratulations) Patching Successful",true)
end
end
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.