View Bug Report | ||||||||||||||
|
Notes | Sort Options |
By: ins - 04/02/14 05:39 PM |
Cheers. Any chance you could take a screenshot or a cut and paste of the error message you get? I'm not sure what you mean with concatenating nils, so an image/text copy would be nice to have to see the error message. Glad to hear it works with globals, they used to be globals but saw someone mention it being bad in another thread Now I'm gonna sleep while they struggle to patch EU |
By: graywind - 04/02/14 05:48 PM |
Thats kinda odd that globals would be bad for something that is static all the time and only ever set once. Can other addons stomp on them? That doesn't make much sense though. I'm assuming you could have unexpected behavior for variables that are in constant flux but I don't see how it could go wrong here. Link me to the thread if you could! Concatenation is longwinded way of saying adding many strings into one. The problem here is when you call the colors that are locally set, they aren't found in your other functions (and are therfore nil, or null in other languages) You cant take a nil value and .. it to another string. I can undo my changes and show you in a screenshot though. Have a good rest! |
By: ins - 04/02/14 06:00 PM |
I (THINK I) found out why it works with globals, and why I do not get the error message. Another addon I made uses the same colour variables, but there they are globals. I'll rename the variables to something more 'unique' and put them up as globals. Thanks for the heads up. Now I really should go to bed. |
By: graywind - 04/02/14 06:05 PM |
It looks like there is no way to attach an image so here you go http://imgur.com/WdTYlyW |
By: ins - 04/02/14 06:11 PM |
I updated the addon now, 0.6.b, should be available shortly. Hopefully it is fixed now and I haven't introduced something new EU still down so I cant test it. |
By: ins - 04/02/14 06:11 PM |
Thanks for the screenshot |
By: ins - 04/02/14 06:54 PM |
Fixed in 0.6c Thanks. |