Hi, i tried to decompile this lua file but got this error, other tool https://luadec.metaworm.site/ works, so i assume opcodes are standard
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "upvalue.name" is null
at unluac.decompile.expression.TableReference.isUpvalueOf(TableReference.java:40)
at unluac.decompile.expression.TableReference.print(TableReference.java:52)
at unluac.decompile.expression.FunctionCall.print(FunctionCall.java:80)
at unluac.decompile.block.IfThenEndBlock.print(IfThenEndBlock.java:146)
at unluac.decompile.statement.Statement.printSequence(Statement.java:27)
at unluac.decompile.block.DoEndBlock.print(DoEndBlock.java:43)
at unluac.decompile.statement.Statement.printTail(Statement.java:38)
at unluac.decompile.statement.Statement.printSequence(Statement.java:25)
at unluac.decompile.block.OuterBlock.print(OuterBlock.java:49)
at unluac.decompile.Decompiler.print(Decompiler.java:187)
at unluac.decompile.expression.ClosureExpression.printMain(ClosureExpression.java:117)
at unluac.decompile.expression.ClosureExpression.printClosure(ClosureExpression.java:92)
at unluac.decompile.statement.Assignment.print(Assignment.java:260)
at unluac.decompile.statement.Statement.printSequence(Statement.java:27)
at unluac.decompile.block.OuterBlock.print(OuterBlock.java:49)
at unluac.decompile.Decompiler.print(Decompiler.java:187)
at unluac.Main.main(Main.java:100)
Local variable information is stripped, but line numbers are not which confuses unluac's heuristic for detecting debug info. Use --nodebug(and there is no debug info, natch).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i tried to decompile this lua file but got this error, other tool https://luadec.metaworm.site/ works, so i assume opcodes are standard
Local variable information is stripped, but line numbers are not which confuses unluac's heuristic for detecting debug info. Use
--nodebug(and there is no debug info, natch).