Poster: Mozz at 7/2/2005 8:08:07 PM PDT Subject: Slouken: two small bugs on /console reloadui |
| |
Hi Slouken,
Just in case you run out of things to do (hah! right) and want something easy...
There are a couple of small bugs that occur when you use /console reloadui (I know this doesn't affect most people, but its a minor annoyance for addon developers).
(1) This bug has been around forever: After reloading, the GetCurrentMapZone() function seems to return 0 until you zone (no matter what zone you're in). This confuses the world map, among other things. The workaround for this bug was one of the first things I wrote for my MozzTweaks addon. =)
(2) I just noticed this one tonight: After reloading, the GetZonePVPInfo() function returns nil for the pvpType until you zone. The effect of this is, if you reload your UI while in a hostile or contested area, addons will not be able to tell what kind of zone it is.
It seems likely that there is a line or two of missing code somewhere in the stuff that reloads the UI, which would explain both bugs.
Problem (2) is interesting, because the MinimapZoneText frame *does* continue to display the zone name in the correct color if you do /console reloadui. I suppose that is why its effects on the standard UI escape notice. I've peeked through its code and I can't figure out why that works. The tooltip does not include the FACTION_CONTROLLED_TERRITORY string until you zone or change areas.
Its always possible that this is one of those things that looks easy but isn't, plus I know you're a busy guy. If you don't have time to track this down and fix it I completely understand! =)
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=173066&p=#post173066 | | | Poster: slouken at 7/5/2005 11:56:35 AM PDT Subject: Re: Slouken: two small bugs on /console reloa |
| |
These should be fixed in 1.7. The map bugs were all the same issue. (and if they're not fixed when 1.7 hits the test server, please let me know)
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=173066&p=#post174415 |
View all recent official Blue Posts
|