NightUI-1.2.2.zip
What's new
NightUI 1.2.2
- Performance: the hover watcher checks the controls thirty times a second only while the mouse moves (four times a second while it is still), and the unread chat-tab pulse only runs while a tab has unread messages. Not run in the game.
- Battleground timers (new, /nui Minimap & Quests > Battleground timers, on by default): when a base, graveyard or tower is assaulted, a bar counts down until it is captured or burns, in the attacking side's colour with the node's map icon, sorted soonest first. Read from the battleground map's own markers; the game's own time left is used when it gives one, otherwise the battleground's capture time (Arathi Basin 1:00, Alterac Valley 5:00; battlegrounds are known by name too, since Forever numbers them its own way), which NightUI also learns as you play: when two captures end at the same second, that becomes the time. An objective still contested after its time shows overtime ("+0:12") instead of looking done. A node already contested when you arrive shows "?". Every other objective of the battleground (bases, graveyards, towers, mines) is listed under the timers with its map icon, which shows who holds it (/nui Minimap & Quests > Show every objective, on by default). Click a timer to tell your team in instance chat (raid or party chat outside battlegrounds), e.g. "Stables: Horde assault, 0:42 left"; the win line works the same way. If the game ever refuses the message, the line is shown to you instead, with the reason. Move the bars with /nui > Unlock frames. Nothing runs outside battlegrounds.
- Win estimate (new, on by default, /nui Minimap & Quests > Battleground timers > Show win estimate): in battlegrounds with a points race (Arathi Basin and the like) a line under the score bars says who wins, when and the final score, e.g. "Alliance wins in 3:40 2000 - 1630", in the winner's colour. It is worked out from how fast each side's score is going up over the last half minute, so it follows bases changing hands, and counts down smoothly between score ticks.
- Profiles now carry the Blizzard action bars' places too: saving a profile keeps the Edit Mode layout that is active (where the action bars and the other Edit Mode frames sit), and loading it puts that layout back as the account layout "NightUI " and makes it active, so the bars move with the profile (out of combat; it shows after the reload). A profile saved on a built-in layout (Modern / Classic) selects it again. Profiles saved before this have no layout: save them again once to include it. Exported profile text carries the layout too.
- Battlegrounds: "X has joined / left the battle" and "the instance group" lines are no longer shown (/nui Chat > Hide battleground join and leave lines, on by default). This also stops the game's "N players have joined the battle" message from repeating every frame with "Your AddOns are experiencing a large number of errors": the game gathers those lines into one message, and on Forever that gathering can break and repeat forever. Inside battlegrounds the game hides those lines from addons, so NightUI instead switches off the part of the game that prints the gathered summary; the game's own filter then keeps swallowing every join and leave line for the whole battleground.
- "Your Battleground is ready!" window in NightUI's look (dark box with a plain thin border all round, NightUI buttons, the battleground picture softened behind the text, the name in the accent colour), with a countdown along the bottom: "Enter within 1:23" and a bar that runs down, red for the last 15 seconds (the game's own time left to enter).
- Lighter on the CPU with windows open, and no more dropped frames when opening them: the windows NightUI styles are looked over four times a second instead of about seven. Opening a window or clicking in one used to have every open window looked over on every frame for most of a second (up to a hundred times on a fast screen); now it is every frame only for the first tenth of a second, then ten times a second, and only the window that opened is styled at once, not all the others too. The character window, the slowest by far (about 16 ms each look, enough to drop frames on its own), now only looks over the page that is on screen instead of every tab's hidden pages as well. Clicks in the world, camera turns and the action bars no longer count. Far less memory is churned while they are open. The party and raid side menu is refreshed much less often, and hardly at all while it is collapsed.
- Fix: friendly players in battlegrounds (and other instances) showed an empty portrait on the target and party frames. Inside instances the game can hide whether a unit is a player; NightUI took that as "not a player" and gave the flat picture, whose class could not be read either. Now only a unit known to be a creature gets the flat picture; players keep their 3D model.
- Fix: vendors that take honor, marks or other currencies (the honor and PvP vendors) showed prices without the currency icons, with stray box corners beside the numbers. Those small price buttons are now left as they are, like gold, silver and copper.
This mod has no additional files

