Thread Tools Display Modes
10-17-12, 09:58 AM   #1
Jarod24
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 66
info about "script ran too long"

So i've read that the Blizzard devs added a restriction on how long scripts can run.
The "script ran too long" error is shown if your code is too slow, especially when in combat.


However i have not seen much info more than that; like how much time is "too long"? Is this a flat time or are they counting operations done? callstack-depth? or... what?
__________________
Author of IfThen, Links in Chat
  Reply With Quote
10-17-12, 02:22 PM   #2
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 363
I have seen this error occur several times now and it seemingly blames a different addon each time. I usually see it after entering combat during a UI reload.
  Reply With Quote
10-17-12, 04:39 PM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Hmmm.... If I use ANY type of addon that lets me know how much memory is being used by my addons, I get that error as soon as I enter combat. No reload required. Disable the memory addon,and.... VIOLA'!! The error goes away. Strange, eh?
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 10-17-12 at 04:44 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » info about "script ran too long"

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off