Jump to content
  • 0

How to Fix Stack Traceback Script?


TanHaxs

Question

Script berakhir:
Mungkin script ini membutuhkan versi terbaru dari GameGuardian. Cobalah untuk update ke versi terbaru.

kesalahan Script: luaj.LuaError: /storage/emulated/0/Download/VIP_CHEAT_PUBG213-1.lua:14
`    if menu[1] == true then`
attempt to index ? (a number value) with key '1' (global 'menu')
level = 1, const = 69, proto = 39, upval = 1, vars = 10, code = 151
GETTABLE v0 v0 1
 ; PC 24 CODE 0043C007 OP 7 A 0 B 0 C 271 Bx 271 sBx -130800
stack traceback:
    /storage/emulated/0/Download/VIP_CHEAT_PUBG213-1.lua:14 in main chunk
    [Java]: in ?
    at luaj.LuaValue.error(LuaValue.java:989)
    at luaj.LuaValue.indexerror(LuaValue.java:2864)
    at luaj.LuaValue.gettable(LuaValue.java:2767)
    at luaj.LuaValue.get(LuaValue.java:1094)
    at luaj.LuaClosure.execute(LuaClosure.java:363)
    at luaj.LuaClosure.call(LuaClosure.java:160)
    at android.ext.Script.runScript(Script.java:6018)
    at android.ext.Script$ScriptThread.run(Script.java:5747)

Is that a GG Problem or The script?

 

Screenshot_20200512-141201.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

menu[1] means taking the first key from table "menu". Probably you are not trying to retrieve "true" from the variable menu. 

We are not magician to guess your code. But here's some guess and solution.

Only possibility I could guess, if you are trying to check what button the user pressed, then don't have to use menu[1], use 

if(menu==1)then
  -- do whatever you want
end

 

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.