HELP!----Error: "function at line 2577 has more than 60 upvalues"
Feb 27 2019 07:50 PM
Your module has way too much code in it. It will be difficult to resolve. You need to (a) post the lines which are shown in the error and ( boil your module down so that some of its work is done in other files.
Thanks horacebury, I have solve the problema just a hour ago. I do not understand yet but a simple condition that incriminates a global variable was the cause.
Some lua editors, such as Zerobrane Studio, have a function to autoindent your code. You'll then be able to see which function, loop etc. matches with which end statement, and crucially find the missing one.
Thanks nick_sherman, I use Zerobrane Studio but I solve the problem already.