Jump to content

How to edit last result?


Recommended Posts

18 hours ago, CmP said:

Have you even tried searching the forum?
Very similar question has been already asked and answered before. Here is a link to the post with the question: 

LUA scripting (#47m71t3d)

 

I have this error

Script error: org.luaj.vm2.LuaError: load /storage/emulated/0/Download/nuke.txt: org.luaj.vm2.LuaError: /storage/emulated/0/Download/nuke.txt:16
`lastResult[1].value = '444.555'`
syntax error near 'ï'
    at org.luaj.vm2.LuaValue.error(LuaValue.java:1082)
    at org.luaj.vm2.Globals.loadfile(Globals.java:235)
    at android.ext.Script.runScript(Script.java:5072)
    at android.ext.Script$ScriptThread.run(Script.java:4906)
Caused by: org.luaj.vm2.LuaError: /storage/emulated/0/Download/nuke.txt:16
`lastResult[1].value = '444.555'`
syntax error near 'ï'
    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.check_condition(LexState.java:867)
    at org.luaj.vm2.compiler.LexState.exprstat(LexState.java:2034)
    at org.luaj.vm2.compiler.LexState.statement(LexState.java:2128)
    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:354)
    at org.luaj.vm2.Globals.loadPrototype(Globals.java:333)
    at org.luaj.vm2.Globals.load(Globals.java:304)
    at org.luaj.vm2.Globals.loadfile(Globals.java:229)
    ... 2 more

Link to comment
Share on other sites

51 minutes ago, DylanTroonesYT said:

I have this error

Script error: org.luaj.vm2.LuaError: load /storage/emulated/0/Download/nuke.txt: org.luaj.vm2.LuaError: /storage/emulated/0/Download/nuke.txt:16
`lastResult[1].value = '444.555'`
syntax error near 'ï'
    at org.luaj.vm2.LuaValue.error(LuaValue.java:1082)
    at org.luaj.vm2.Globals.loadfile(Globals.java:235)
    at android.ext.Script.runScript(Script.java:5072)
    at android.ext.Script$ScriptThread.run(Script.java:4906)
Caused by: org.luaj.vm2.LuaError: /storage/emulated/0/Download/nuke.txt:16
`lastResult[1].value = '444.555'`
syntax error near 'ï'
    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.check_condition(LexState.java:867)
    at org.luaj.vm2.compiler.LexState.exprstat(LexState.java:2034)
    at org.luaj.vm2.compiler.LexState.statement(LexState.java:2128)
    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:354)
    at org.luaj.vm2.Globals.loadPrototype(Globals.java:333)
    at org.luaj.vm2.Globals.load(Globals.java:304)
    at org.luaj.vm2.Globals.loadfile(Globals.java:229)
    ... 2 more

Try to manual write the code, if you copy paste from the forum dont forget to remove 'invisible character' in your text editor.

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.