Jump to content

Question

Posted

I have an error in my script.When i second function "BACK" 'OK' and then first function "Exit" 'Cancel', this script is show error like follow error code.

Please help me where is error in my script. Please see attach file my script.

(Script ended:

Script error: luaj.o: /storage/emulated/0/VMOSfiletransferstation/helprequest.lua:13

`if menu[3] == true then`

attempt to index ? (a nil value) with key '3' (global 'menu')

level = 1, const = 17, proto = 0, upval = 1, vars = 5, code = 35

GETTABLE v0 v0 3

 ; PC 28 CODE 00434007 OP 7 A 0 B 0 C 269 Bx 269 sBx -130802

stack traceback:

/storage/emulated/0/VMOSfiletransferstation/helprequest.lua:13 in function 'START'

/storage/emulated/0/VMOSfiletransferstation/helprequest.lua:66 in main chunk

[Java]: in ?

at luaj.LuaValue.f(src:989)

at luaj.LuaValue.c(src:2864)

at luaj.LuaValue.i(src:2767)

at luaj.LuaValue.w(src:1094)

at luaj.LuaClosure.a(src:363)

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))

 

requesthelp.lua

1 answer to this question

Recommended Posts

  • 0
Posted
8 hours ago, Yelay12 said:

I have an error in my script.When i second function "BACK" 'OK' and then first function "Exit" 'Cancel', this script is show error like follow error code.

Please help me where is error in my script. Please see attach file my script.

(Script ended:

Script error: luaj.o: /storage/emulated/0/VMOSfiletransferstation/helprequest.lua:13

`if menu[3] == true then`

attempt to index ? (a nil value) with key '3' (global 'menu')

level = 1, const = 17, proto = 0, upval = 1, vars = 5, code = 35

GETTABLE v0 v0 3

 ; PC 28 CODE 00434007 OP 7 A 0 B 0 C 269 Bx 269 sBx -130802

stack traceback:

/storage/emulated/0/VMOSfiletransferstation/helprequest.lua:13 in function 'START'

/storage/emulated/0/VMOSfiletransferstation/helprequest.lua:66 in main chunk

[Java]: in ?

at luaj.LuaValue.f(src:989)

at luaj.LuaValue.c(src:2864)

at luaj.LuaValue.i(src:2767)

at luaj.LuaValue.w(src:1094)

at luaj.LuaClosure.a(src:363)

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))

 

requesthelp.lua 1.04 kB · 0 downloads

os.exit()

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.