Jump to content

MC874

Contributor
  • Posts

    547
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by MC874

  1. It works charmly, i didnt know that adding false will give significant changes Thanks a lot! +Rep
  2. [ Introduction ] Hi! I have some struggle with my script. I have discovered on how to set memory range inside Lua Script from this forum, its barely old format because i get it from old posts. I dont know if its from the script itself or because of new game guardian version. Im using latest Game Guardian for Emulator for VM uses. [ Problematic ] Come to the issues, i have script to change DWORD values that equal to [' ~A ANDEQ R4, R0, R0 '] and change the result to [' 4451 ']. So here's some snippet : gg.clearResults() gg.setVisible(false) gg.toast("【 1 / 8 】") gg.clearResults() gg.clearList() gg.setRanges(gg.REGION_C_DATA | gg.REGION_CODE_APP) gg.searchNumber("16384", gg.TYPE_DWORD, gg.SIGN_EQUAL, 0x04000000, 0x04ea7000) gg.getResults(100000) gg.editAll("4451", gg.TYPE_QWORD) I have put the range in Hex format (' 0x04000000 ') and usual ordinary form (' 04000000 ') but its doesnt make any differences.Its always show error message : Script ended: Script error: luaj.n: /storage/emulated/0/Pictures/Script/Coins.lua:7 `gg.searchNumber("16384", gg.TYPE_DWORD, gg.SIGN_EQUAL, 0x04000000, 0x04ea7000)` bad argument #3: number: boolean expected, got number (field 'searchNumber') level = 1, const = 43, proto = 0, upval = 1, vars = 6, code = 347 CALL v0..v5 ; PC 34 CODE 0300401D OP 29 A 0 B 6 C 1 Bx 3073 sBx -127998 stack traceback: /storage/emulated/0/Pictures/Script/2 Month Bypass.lua:7 in main chunk [Java]: in ? at luaj.ap.a(src:265) at luaj.ap.a(src:172) at android.ext.Script$searchNumber.d(src:3098) at android.ext.Script$ApiFunction.c(src:1481) at android.ext.Script$ApiFunction$1.run(src:1453) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) Usually im using manual way using search button, but its really tiresome and i decide to make some script from codes that i found in this forum. In the end its lead to Bad Argument error, even i already change script EOL into Linux or Windows. I hope anyone that read this can help me out! Thanks guys!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.