FangYX Posted October 23, 2020 Posted October 23, 2020 gg.searchNumber("110~125;5000;0::9",4) gg.refineNumber("5000",4) results = gg.getResults(100) v = gg.getValues(results) gg.clearResults() gg.searchAddress(v[1].address,4) so i can speed up the search
Lover1500 Posted October 23, 2020 Posted October 23, 2020 21 minutes ago, Fathoni267 said: gg.searchAddress(v[1].address,4) You used the wrong key. That must be i.e. gg.searchAddress('blah blah', -1, gg.TYPE_DWORD) -- or something type And you can use easily gg.addListItems() and gg.getListItems().
FangYX Posted October 23, 2020 Author Posted October 23, 2020 37 minutes ago, Lover1500 said: You can use easily gg.addListItems() and gg.getListItems(). so how to change the value? bcs they said Script ended: Script error: luaj.n: /storage/emulated/0/GameGuardian/script/Mobile Legends: Bang Bang/[𝐹𝑆267]MLBB.lua:167 `gg.editAll("5000") end` bad argument #2 to 'gg.editAll' (no value: int expected, got nil) (field 'editAll') level = 1, const = 43, proto = 0, upval = 1, vars = 10, code = 132 CALL v0..v1 ; PC 21 CODE 0100401D OP 29 A 0 B 2 C 1 Bx 1025 sBx -130046 stack traceback: /storage/emulated/0/GameGuardian/script/Mobile Legends: Bang Bang/[𝐹𝑆267]MLBB.lua:167 in function 'BYPASS' /storage/emulated/0/GameGuardian/script/Mobile Legends: Bang Bang/[𝐹𝑆267]MLBB.lua:15 in function 'start' /storage/emulated/0/GameGuardian/script/Mobile Legends: Bang Bang/[𝐹𝑆267]MLBB.lua:416 in main chunk [Java]: in ? at luaj.ap.a(src:265) at luaj.ap.o(src:301) at android.ext.Script$editAll.b(src:3711) at android.ext.Script$ApiFunction.a_(src:1393) at luaj.lib.VarArgFunction.a(src:58) at luaj.LuaClosure.a(src:534) at luaj.LuaClosure.l(src:160) at luaj.LuaClosure.a(src:533) at luaj.LuaClosure.l(src:160) at luaj.LuaClosure.a(src:533) at luaj.LuaClosure.l(src:160) at android.ext.Script.d(src:6056) at android.ext.Script$ScriptThread.run(src:5785) and here's my code results = gg.getListItems(100) if results[1].value == 0 then gg.editAll("5000") end
Lover1500 Posted October 23, 2020 Posted October 23, 2020 2 minutes ago, Fathoni267 said: gg.editAll("5000") Wrong again! When you use edittAll,you need to set flag(type). gg.editAll('5000', 4) --if you want change dword
FangYX Posted October 23, 2020 Author Posted October 23, 2020 10 minutes ago, Lover1500 said: Wrong again! When you use edittAll,you need to set flag(type). gg.editAll('5000', 4) --if you want change dword sorry i forgot thank you
HEROGAMEOfficial Posted October 23, 2020 Posted October 23, 2020 how to search a same value/address after i use gg.clearResults() ? Maybe it help: 3 hours ago, Fathoni267 said: gg.searchNumber ( "110 ~ 125; 5000; 0 :: 9" , 4 ) gg.refineNumber ( "5000" , 4 ) a = gg.getResults (gg.getResultsCount()) gg.clearResults () for b, c in next, a do gg.searchNumber(c.value, c.flags) d = gg.getResults (gg.getResultsCount()) --gg.editAll(value, c.flags) --gg.clearResults () end
FangYX Posted October 23, 2020 Author Posted October 23, 2020 7 hours ago, HEROGAMEOfficial said: gg.searchNumber ( "110 ~ 125; 5000; 0 :: 9" , 4 ) gg.refineNumber ( "5000" , 4 ) a = gg.getResults (gg.getResultsCount()) gg.clearResults () for b, c in next, a do gg.searchNumber(c.value, c.flags) d = gg.getResults (gg.getResultsCount()) --gg.editAll(value, c.flags) --gg.clearResults () end but can i use it in other function?
Question
FangYX
so i can speed up the search
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.