A Cooldown Manager and a flight master for OAP Lazy Stuff
Two of OAP Lazy Stuff's helpers couldn't be tried in Lizzard: marching ants round a missing buff, and skipping a flight master's chat. Blizzard's Cooldown Manager now reads its spells from the game's own tables, and a test can open an NPC's chat. The first surprise: an empty buff row turned out to be correct.
Read the entry: A Cooldown Manager and a flight master for OAP Lazy Stuff
OAP Lazy Stuff watches the Cooldown Manager's buff row and puts marching ants round a buff that has dropped off. In Lizzard that row stayed empty, and Blizzard's code complained as it loaded. I asked Claude to work through the open issues for OAP Debug and OAP Lazy Stuff.
The Cooldown Manager asks the game which spells each class can track. Lizzard had no answer at all, so Claude built one from the game's cooldown tables: a level 10 Paladin's list now holds Devotion Aura at its highest known rank, the Seals and the Blessings. They come from the same set as the buffs my own, higher-level Paladin showed in game.
The row was still empty. More missing pieces turned up behind the first, the worst being an event the game sends at login that Lizzard never did, so the manager's settings never loaded. With those in, the row was still empty, and this time Blizzard's code was right. Every tracked buff starts hidden until the player picks it in the Cooldown Manager's settings. The seven buffs in my row in game were my own choices. A test now picks them the same way, and the icons appear.
The flight master was simpler. Lizzard has no NPCs to talk to, so a test can now open a chat with the options the game gave at Devrak in the Crossroads: one line, "I need a ride." Without the addon, Blizzard's chat window opens under his name. With OAP Lazy Stuff loaded it picks the ride before the window gets a look in, which is the whole point of the addon.
Along the way, OAP Debug's options page raised an error each time it opened. The cause was a small difference between plain Lua and the game's version of it: the game hands a Settings page its frame through a call that plain Lua quietly drops the extra values from. Lizzard now behaves like the game.
None of this has been checked against the game beyond the lists it copies. A Paladin's auras on the stance bar and the minimap's tracking list can't be worked out from the tables, so the probe will record them from my character in game next. After the ride is chosen, Lizzard shows no flight map yet, and Devrak has a name but no face.
Follow-up, : The probe recorded my Paladin's stance bar and minimap tracking list in game, and both now work in Lizzard. The game's tables give every place on the stance bar but the first: Devotion Aura, like the first stance or form of every class, has no row. So Claude took the spells the game actually showed on my bar from the capture, and the tables do the rest. A level 30 stand-in now gets my four auras in my order and at my ranks. The aura that is on shows a different, brighter icon in the game, and that came from the capture too. The tracking list is the stand-in's tracking spells, Sense Undead for a Paladin, then the 23 town and quest filters my game listed, since no table holds them. The first try never finished loading: Blizzard's tracking button answers each change by setting every entry again, and Lizzard announced every one of those as another change. Now only a real change is announced. A stance button's tooltip also read "within $a1 yards": spell text can name an effect's radius, and Lizzard now fills in the 30 yards from the tables. Still to check: the town filters' places in Blizzard's tracking menu, which need one more capture, and other classes' first stance or form.


