https://www.curseforge.com/wow/addon...ightbattletext
From the msbt creator, still at beginning too
Ps: damage meters wont work while this is active
- - - Updated - - -
From the addon, explaining why it uses dmg meters:
Hi friends I've gotten a few questions about the Damage Meters not working, especially when some other add-ons are showing scrolling text with meters still working, so I thought I'd create a dedicated post explaining how this addon works.
When Blizzard released 12.0 (Midnight) they removed the API (for non-engineers, APIs are how we access data) that most add-ons used for outbound damage information. Now there are only two reliable ways to get some outbound damage information: an event called UNIT_COMBAT, and the Damage Meters.
The other battle text add-ons you've seen with functioning damage meters are using the UNIT_COMBAT method. Let me explain why MidnightBattleText does not use this: because in short, it doesn't work. UNIT_COMBAT shows ALL damage your target is taking but does not indicate *who* did that damage. In solo play that sort of works, but in groups and especially raids there's no way to know. Similarly it does not indicate what spell did the damage. Add-ons using this have tried to implement "guessing" systems that look at things like your last spell cast and time window to try and guess who and what spell did the damage. But it's not reliable outside of solo play, like raids where there's dozens of dots ticking every second.
The way MidnightBattleText works is by getting the damage numbers from the damage meters. Unlike UNIT_COMBAT, these numbers are accurate - they are bound to your player id in Blizzards API and Blizzard provides the source spell id. The downside is that damage meters only return totals - the only way to get the per spell amount is to clear them after every attack, which is why they don't work with this addon.
Hopefully Blizzard adds a third option in the future that is more reliable. For now, however, given the choice, I prefer accurate numbers that don't let me use the meters over inaccurate numbers that do, that's why MBT is built the way it is. Feel free to reach out if you're curious for more technical details, always happy to share!

Recent Blue Posts
Recent Forum Posts
Titan Artificer class concept
MMO-Champion

Reply With Quote




