Poster: Violentnight at 2/4/2006 6:41:57 PM PST Subject: Shortcomings of SavedVariables |
| |
By recursively iterating over the children of UIParent, I was able to store each element of the UI into a table following the syntax:
table.elements.UIParent.children.childA.children.SubChildA.children...
Unfortunately, when loading the SavedVariables file, WoW throws an error once the structure gets to be 127/128 levels deep. Also, it stops before finishing... the last line is 127/128 levels deep and just "[" .. so it never finishes the work of saving everything.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=314454&p=#post314454 |
| |
Poster: slouken at 2/6/2006 9:51:44 AM PST Subject: Re: Shortcomings of SavedVariables |
| |
Q u o t e: By recursively iterating over the children of UIParent, I was able to store each element of the UI into a table following the syntax:
table.elements.UIParent.children.childA.children.SubChildA.children...
Unfortunately, when loading the SavedVariables file, WoW throws an error once the structure gets to be 127/128 levels deep. Also, it stops before finishing... the last line is 127/128 levels deep and just "[" .. so it never finishes the work of saving everything.
I'm not going to say anything. :)
There's a 1024 character limit on saved variable names at the moment. I fixed that for 1.10, but there might be something else causing problems as well. Can you post a link to an addon that shows this problem?
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=314454&p=#post315170 |
Poster: slouken at 2/8/2006 6:07:52 PM PST Subject: Re: Shortcomings of SavedVariables |
| |
Thanks, this won't crash WoW in 1.10
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=314454&p=#post316774 |