Jump to content
  • 0

Can anyone help me im getting this error


PH3ONIX

Question

Script ended:
Script error: org.luaj.vm2.LuaError: load /storage/emulated/0/Download/My Scripts/C-OPSv1.ByPH3ONIX UPDATE.lua: org.luaj.vm2.LuaError: /storage/emulated/0/Download/My Scripts/C-OPSv1.ByPH3ONIX UPDATE.lua:331
`gg.clearResults()`
<goto sgnztw> at line 22 jumps into the scope of local 'old'
    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:4584)
    at android.ext.Script$ScriptThread.run(Script.java:4418)
Caused by: org.luaj.vm2.LuaError: /storage/emulated/0/Download/My Scripts/C-OPSv1.ByPH3ONIX UPDATE.lua:331
`gg.clearResults()`
<goto sgnztw> at line 22 jumps into the scope of local 'old'
    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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • Administrators

used goto in wromg way. you can not jump in other scope. So do not use goto at all and problem gone.

_______________________________________________
added 0 minutes later

http://lua-users.org/wiki/GotoStatement

_______________________________________________
added 1 minute later

http://www.lua.org/work/doc/manual.html#3.3.4

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.