kiynox Posted December 21, 2023 Posted December 21, 2023 [ @_yourram ] --- As it's name, gg.toast will summon: android toast, it is only visible when you hide the game guardian ui (press the 'x' button on top right corner). If you want to show a message, use gg.alert(): Quote gg.alert('done') ---
_yourram Posted December 21, 2023 Author Posted December 21, 2023 @kiynoxstill gg.toast doesn't appearing and I know about gg.alert() but I just want to fix this problem :!
_yourram Posted December 21, 2023 Author Posted December 21, 2023 @kiynox do you know how to run the "changed as search result" command in a script?
kiynox Posted December 21, 2023 Posted December 21, 2023 [ @_yourram ] --- Quote still gg.toast doesn't appearing and I know about gg.alert() but I just want to fix this problem :! It's either notification/permission/or some daemon problem: > Hold game guardian app shortcut -> App Info -> Grant all kind of notification (badge, etc). > Allow display over other apps > Allow any kind of permission > Run this command on termux: su setenforce 0 then go inside Game Guardian -> Fix It -> Switch to work with SELinux and restart the app --- Quote do you know how to run the "changed as search result" command in a script? Don't understand. Please describe it more precisely. --- To see the toast, you need to close the Game Guardian UI: gg.setVisible(false)
_yourram Posted December 22, 2023 Author Posted December 22, 2023 @kiynox 8 hours ago, kiynox said: changed you'll see what I mean by watching this video (well I don't know if this command exists or not) Load all changed elements as a result of the search - GameGuardian
kiynox Posted December 22, 2023 Posted December 22, 2023 [ @_yourram ] --- Quote Load all changed elements as a result of the search - GameGuardian You can but it has to be manual, just use gg.addListItems() --Search DWORD: 30 gg.searchNumber('30', gg.TYPE_DWORD) --Get search results results = gg.getResults(gg.getResultsCount()) --Store addresses that wants to be edited edits = {} --Edit 3,6,9 result for k, v in ipairs({3,6,9}) do if v ~= nil then edits[#edits + 1] ={ address = results[k].address value = results[k].value --Change your value here flags = results[k].flags } end end --Apply edits gg.setValues(edits) --Save edits gg.addListItems(edits) ---
_yourram Posted December 22, 2023 Author Posted December 22, 2023 3 hours ago, kiynox said: You can but it has to be manual, just use gg.addListItems() --Search DWORD: 30 gg.searchNumber('30', gg.TYPE_DWORD) --Get search results results = gg.getResults(gg.getResultsCount()) --Store addresses that wants to be edited edits = {} --Edit 3,6,9 result for k, v in ipairs({3,6,9}) do if v ~= nil then edits[#edits + 1] ={ address = results[k].address value = results[k].value --Change your value here flags = results[k].flags } end end --Apply edits gg.setValues(edits) --Save edits gg.addListItems(edits) @kiynoxalright, thanks you helped me alot
_yourram Posted December 22, 2023 Author Posted December 22, 2023 3 hours ago, kiynox said: You can but it has to be manual, just use gg.addListItems() --Search DWORD: 30 gg.searchNumber('30', gg.TYPE_DWORD) --Get search results results = gg.getResults(gg.getResultsCount()) --Store addresses that wants to be edited edits = {} --Edit 3,6,9 result for k, v in ipairs({3,6,9}) do if v ~= nil then edits[#edits + 1] ={ address = results[k].address value = results[k].value --Change your value here flags = results[k].flags } end end --Apply edits gg.setValues(edits) --Save edits gg.addListItems(edits) I'm not too good at scripts, what am I doing wrong? Plus can you add any type of value there where you have written "Change your value here"
Question
_yourram
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.