View Single Post
01/28/23, 02:55 AM   #4
quentinlamamy
 
quentinlamamy's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2016
Posts: 24
Thumbs up

Originally Posted by Sharlikran View Post

YourModNameAsAString has to match the manifest file or the text file and the folder name.

If that isn't what you need then I have no idea what you mean. Other then yes Lua, interpreter, and infinite loop I get that, but not sure what you mean.
Try to create inside your addon a function calling itself you will see

Originally Posted by Baertram View Post
No, there is no check.
lua will do what you tell it to do and ESO will freeze and crash if your loops take too long or are infinite
You need to handle that with some variables, like a maxLoops number or a boolean check or similar, yourself.

Best you can do is use an IDE which shows you recursive calls of your functions, leaking global variables etc. so you can check that yourself before doing the next /reloadui ingame.

https://www.esoui.com/forums/showthread.php?t=9875
No need for an IDE, it was the night, i run out of coffee, just a little mistake. I was just a bit surprised to see my code running with a so big mistake inside.

Dear moderation : Please mark this thread a resolved
  Reply With Quote