Skip to content

[Enhancement] Leech information from other addons #1

Description

@Road-block

The idea here is to add a timer module (let's say Timers\ThirdParty.lua) where we register prefixes of other addons that provide similar functionality and listen in to their chatter (no propagation, receive only)

Use that info to fill in for missing timers.

How would this look.
We register the prefix used by those addons and passively monitor their comms.
For DBM it happens here and here.
You'd register the D4C prefix, split on \t and check the first fragment for WBA and if it is then get the remaining information for which buff sequence is detected and timer offset.
The full DBM message follows this format as an example for Onyxia: prefix: D4C message: WBA\tOnyxia\tHorde\tRallying Cry of the Dragonslayer\t15

local _, timer, faction, buff, offset = strsplit("\t",message)

For WorldBuffTracker it's using WBT-1 for Warchief's blessing, WBT-2 for Onyxia and WBT-3 for Nefarian.
Relevant lines are in the C_L_E_U and CHAT_MSG_ADDON handlers for that addon.

If it's something you'd consider useful, happy to assist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions