nio04 Posted July 22, 2021 Posted July 22, 2021 i want to hav a function for revert & remove values which are saved in SavedTab. but i cant make it, cause im noob so, plz help me
MAARS Posted July 22, 2021 Posted July 22, 2021 You need to explain the concept of your script so you can get something that fit. [added 3 minutes later] And also the values need to be equal, or the function will be more complicated to write
HEROGAMEOfficial Posted July 22, 2021 Posted July 22, 2021 10 hours ago, nio04 said: i want to hav a function for revert & remove values which are saved in SavedTab. but i cant make it, cause im noob so, plz help me Use gg.saveVariable to save original value. Use gg.getValues for check value. Use gg.setValues for change value. Use gg.removeListItems for remove value in tab save. Sooo It's that simple
MAARS Posted July 23, 2021 Posted July 23, 2021 16 hours ago, HEROGAMEOfficial said: Use gg.saveVariable to save original value. Use gg.getValues for check value. Use gg.setValues for change value. Use gg.removeListItems for remove value in tab save. Sooo It's that simple Theorie is always simple,
nio04 Posted July 25, 2021 Author Posted July 25, 2021 On 7/23/2021 at 5:52 AM, HEROGAMEOfficial said: Use gg.saveVariable to save original value. Use gg.getValues for check value. Use gg.setValues for change value. Use gg.removeListItems for remove value in tab save. Sooo It's that simple brother, can u write the code for it? sorry for this long delay comments. i was busy to make my game - antiBan
HEROGAMEOfficial Posted July 25, 2021 Posted July 25, 2021 gg.searchNumber("1234", gg.TYPE_DWORD) if gg.getResultsCount() > 1 then local found = gg.getResults(gg.getResultsCount()) gg.saveVariable(found, gg.EXT_CACHE_DIR.."/Original.value") gg.clearResults() for a, b in next, found do if b.flags == gg.TYPE_DWORD then b.value = b.value--Value to change elseif b.flags == gg.TYPE_BYTE then b.value = b.value--Value to change end b.freeze = true end gg.addListItmes(found) gg.toast("Hack success"} gg.removeListItems(found) local check = loadfile(gg.EXT_CACHE_DIR.."/Original.value") if check then local a = check () local b = gg.getValues(a) for a, b in next, b do --do what you want end gg.setValues(a)--revert to original end end Simple, you can develop it.
nio04 Posted July 25, 2021 Author Posted July 25, 2021 27 minutes ago, HEROGAMEOfficial said: gg.searchNumber("1234", gg.TYPE_DWORD) if gg.getResultsCount() > 1 then local found = gg.getResults(gg.getResultsCount()) gg.saveVariable(found, gg.EXT_CACHE_DIR.."/Original.value") gg.clearResults() for a, b in next, found do if b.flags == gg.TYPE_DWORD then b.value = b.value--Value to change elseif b.flags == gg.TYPE_BYTE then b.value = b.value--Value to change end b.freeze = true end gg.addListItmes(found) gg.toast("Hack success"} gg.removeListItems(found) local check = loadfile(gg.EXT_CACHE_DIR.."/Original.value") if check then local a = check () local b = gg.getValues(a) for a, b in next, b do --do what you want end gg.setValues(a)--revert to original end end Simple, you can develop it. wow! super! thanks a hundred u use telegram?
estehmanis Posted October 8, 2021 Posted October 8, 2021 On 7/26/2021 at 6:00 AM, HEROGAMEOfficial said: gg.searchNumber("1234", gg.TYPE_DWORD) if gg.getResultsCount() > 1 then local found = gg.getResults(gg.getResultsCount()) gg.saveVariable(found, gg.EXT_CACHE_DIR.."/Original.value") gg.clearResults() for a, b in next, found do if b.flags == gg.TYPE_DWORD then b.value = b.value--Value to change elseif b.flags == gg.TYPE_BYTE then b.value = b.value--Value to change end b.freeze = true end gg.addListItmes(found) gg.toast("Hack success"} gg.removeListItems(found) local check = loadfile(gg.EXT_CACHE_DIR.."/Original.value") if check then local a = check () local b = gg.getValues(a) for a, b in next, b do --do what you want end gg.setValues(a)--revert to original end end Simple, you can develop it. It is not an efficient way to save a values. You could just store store them into a variable, instead of creating a file which of course much slower, and what if you want to do that a hundred times. That's gonna be time consuming.
Question
nio04
i want to hav a function for revert & remove values which are saved in SavedTab. but i cant make it, cause im noob
so, plz help me
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.