View Single Post
07/06/14, 11:07 PM   #24
YelloDello
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 8
Originally Posted by merlight View Post
You seem to be misunderstanding what ZO_LinkHandler_ParseLink returns, and how # operator works...
Well, that explains it: I didn't understand the # operator fully.

Given what Garkin wrote, I interpreted that with the old 1.1.2 link style, #ZO_LinkHandler_ParseLink should have returned a 0 or nil, which was confusing because it had actually returned a nonzero integer. Now I see that it returns the character length of the string that is the first argument. Returning the length of that string would explain everything I've been seeing.

But something must've changed, perhaps they're throttling Lua instructions per timespan, I don't know.
It seems that way. I'm very new to lua and the ESO addon api so it's always possible that I'm missing something, but I've seen crashes in multiple places which I've avoided by doing nothing more than limiting the number of instructions.
  Reply With Quote