Jump to content


  • Content Count

  • Donations

  • Joined

  • Last visited

Community Reputation

0 n00b

About uraveragedude

  • Rank

Additional Information

  • Android
    8.x (Oreo)
  • Device
  • Service provider
  1. Nevermind, I got my issues all sorted out! Deleted all my goto statements, and replaced the editAll version with the more advanced version. Works perfectly, thanks for the help!
  2. How would I do such a thing? Thanks again.
  3. I'm sorry, I'm afraid I do not understand what you mean.
  4. After adding the changes you suggested CmP, I get this error: Script ended: Script error: org.luaj.vm2.LuaError: load /storage/emulated/0/Download/gg scripts/demo.lua: org.luaj.vm2.LuaError: /storage/emulated/0/Download/gg scripts/demo.lua:45 `print('You did not select anything')` <goto noselect> at line 19 jumps into the scope of local 'results' at org.luaj.vm2.LuaValue.error(LuaValue.java:1076) at org.luaj.vm2.Globals.loadfile(Globals.java:230) at android.ext.Script.runScript(Script.java:4492) at android.ext.Script$ScriptThread.run(Script.java:4326) Caused by: org.luaj.vm2.LuaError: /storage/emulated/0/Download/gg scripts/demo.lua:45 `print('You did not select anything')` <goto noselect> at line 19 jumps into the scope of local 'results' at org.luaj.vm2.compiler.LexState.lexerror(LexState.java:278) at org.luaj.vm2.compiler.LexState.syntaxerror(LexState.java:282) at org.luaj.vm2.compiler.LexState.semerror(LexState.java:840) at org.luaj.vm2.compiler.LexState.closegoto(LexState.java:991) at org.luaj.vm2.compiler.LexState.findgotos(LexState.java:1036) at org.luaj.vm2.compiler.LexState.labelstat(LexState.java:1772) at org.luaj.vm2.compiler.LexState.statement(LexState.java:2114) at org.luaj.vm2.compiler.LexState.statlist(LexState.java:2145) at org.luaj.vm2.compiler.LexState.mainfunc(LexState.java:2161) at org.luaj.vm2.compiler.LuaC$CompileState.luaY_parser(LuaC.java:129) at org.luaj.vm2.compiler.LuaC.compile(LuaC.java:99) at org.luaj.vm2.Globals.compilePrototype(Globals.java:349) at org.luaj.vm2.Globals.loadPrototype(Globals.java:328) at org.luaj.vm2.Globals.load(Globals.java:299) at org.luaj.vm2.Globals.loadfile(Globals.java:224) ... 2 more I was confused, as after I changed the code, this popped up when it didn't happen before. Was it a problem with my noselect? Here is what I had down: if menu == nil then print('error') end goto noselect Sorry to be a bother!
  5. Could you give an example? Sorry, I do not currently know all of the API as I have just started on GameGuardian LUA scripts. Here is my code: gg.searchNumber('2', gg.TYPE_FLOAT) gg.getResults(22) print('Replaced: ', gg.editAll('-2', gg.TYPE_FLOAT)) gg.toast(Magic Bullets activated!)
  6. So, I'm a newbie to LUA scripting for GameGuardian, and I was just creating a simple Magic Bullets script so I didn't have to manually search the values. The thing is, with the values that i have to edit, I need to edit all of them except for just one. I was wondering how to do that, and yes, I have already tried gg.targetResultsNumbers. Please help!
  • Create New...