Commit Graph

90 Commits

Author SHA1 Message Date
florian.berthold b6d42dfe5d Add OmenSync: addon-channel fallback for Vol'jin party threat
The CoA Vol'jin core does not push UnitDetailedThreatSituation data
for party-member units, so vanilla Omen draws only the local
player's bar in 5-mans. The same install on Bronzebeard/classic+
shows the whole party because that core does push the data. The gap
is server-side, not client-side, and there is no Omen flag that
fixes it.

OmenSync layers a tiny SendAddonMessage("OMSYNC", …, "PARTY"|"RAID")
relay on top:
- Each player's Omen broadcasts its own player+pet threat values
  (throttled, ~0.4s + 5% delta) every time updatethreat() succeeds
  via the API path.
- Receivers store incoming values keyed by senderGUID/mobGUID and
  serve them as a fallback in updatethreat() whenever
  UnitDetailedThreatSituation returns nil.

When the API does push data (Bronzebeard) the existing path still
wins; sync values are simply unused, so this is a no-op on healthy
realms. Both peers must run a fork that emits the OMSYNC prefix.

Wire format keeps each message under the 255-byte AddonMessage cap:
    <subjectGUID>|<mobGUID>|<threatValue>|<isTanking 0|1>
Sender's name comes from CHAT_MSG_ADDON's sender arg. Subject GUID
distinguishes the player and pet broadcasts each Omen instance
emits.

Hook in Omen.lua's local updatethreat():
- After UnitDetailedThreatSituation returns nil for any unit, try
  Omen:SyncGetThreat(guid, mobGUID).
- After it returns a value for "player" or "pet", call
  Omen:SyncBroadcastThreat to relay it to peers.
2026-05-08 23:40:17 +02:00
florian.berthold 7181066855 ascension: v3.0.9 → vendored 3.0.9 (in-game AddOns dir)
Imported from /srv/add01/wow-ascension/Interface/AddOns/Omen — the
build Ascension's WotLK 3.3.5 client ships.

Single vendored drop: Ascension's build process bundles their custom
patches with the standard CurseForge packager output (62 embedded
Libs/), and the individual patches aren't published separately.

Net delta vs upstream v3.0.9, excluding bundled libs and CRLF
normalization: 11 files, 2284+/34- — Ascension-specific adaptations
for WotLK 3.3.5.

License: All rights reserved (per .toc).
2026-05-08 03:52:23 +02:00
Xinhuan 2bb095b4ba Add an option to make Omen click-through (non-interactive), defaults off. 2009-12-24 05:12:03 +08:00
Xinhuan 32a9369e18 Optimized the bar animation code significantly. 2009-08-09 15:10:19 +08:00
Xinhuan 46bdf6cc48 Fix bar backgrounds not being set to the inverted color on login if the "Invert Bar/Text Colors" setting is on. This wasn't noticable if the bar label color was the default white text with 100% alpha. 2009-08-09 13:03:09 +08:00
Xinhuan 4d8c03b773 Minor ConfigMode behavior change. 2009-08-08 18:17:02 +08:00
Xinhuan 245b70ff43 Omen will now update its bars immediately on showing from a hidden state instead of updating on the next threat event. 2009-08-08 18:16:22 +08:00
Xinhuan 98d138a111 GC away some one-use initialization functions after they are run. 2009-08-08 17:36:33 +08:00
Xinhuan 5f8a470f48 Add ConfigMode support (see addon OneButtonConfig). 2009-08-08 17:27:22 +08:00
Xinhuan e2f4ee8678 Remove the LoadAddOn workaround for loading disembedded libraries which was broken before patch 3.1. 2009-08-08 16:49:10 +08:00
Xinhuan 421cd8d86b Fix GetShapeShiftFormInfo() error that occurs for DKs when they aren't in any presence. This occurs when they respec between their primary/secondary specs and the game drops them out of all presences and subsequently enter combat presence-less. 2009-07-13 02:30:23 +08:00
Xinhuan c1b3a7a9ed Update version to 3.0.7, Interface number to 30100, and repackage all the new translations contributed by users. 2009-04-15 12:34:44 +08:00
Xinhuan a0a73b55af Add "Invert Bar/Text Colors" option (default off) which swaps the bar background and text colors. 2009-04-02 05:28:06 +08:00
Xinhuan 3f0379ca14 Add /omen show and /omen hide slash commands. 2009-03-02 16:11:58 +08:00
Xinhuan 26eeb1d240 Omen now generates the config tables on demand. Omen now provides better error feedback if AceGUI-3.0-SharedMediaWidgets is not found and will continue to function (but without any config). 2009-03-02 15:58:48 +08:00
Xinhuan 623c47c922 Upvalue Omen's menu and quick menu functions. 2009-03-02 11:38:27 +08:00
Xinhuan 869412d537 Show Omen's version number in some config strings. 2009-02-15 06:07:59 +08:00
Xinhuan 740ef06a5a Add optional !ClassColors support. 2009-02-15 06:07:09 +08:00
Xinhuan f88be07553 Add Fade/MI Color to the options. This color is used on players under the effects of MI/Fade. 2009-01-02 10:45:34 +08:00
Xinhuan 4c06c56dea Add 410065408 threat to all players with negative threat for display purposes. English translation: You can now see the "un-Faded/un-MIed threat" of players under the effects of Fade and Mirror Image. 2009-01-02 08:28:08 +08:00
Xinhuan 7c60567b81 Omen will now remember its visible state when you log out (applicable only if auto-show/hide is off). 2008-12-19 02:58:00 +08:00
Xinhuan 18c0419696 Set a player's threat to 0 (for display purposes) if the player's threat is less than 0. This occurs on Fade and Mirror Image, which gives the caster a temporary threat reduction of 410057408 (or 4.1m threat in Omen's terms). Previously Omen ignored players with negative threat. 2008-12-18 13:13:44 +08:00
Xinhuan dcf493fe7d Fix Omen getting stuck to the mouse if autocollapse is on and you moved Omen while you are in combat and exited combat during the move. 2008-12-16 17:21:58 +08:00
Xinhuan 1be205d8de Clear the guidNameLookup table on zoning to recover some memory. 2008-12-08 08:29:07 +08:00
Xinhuan 1c16bdda99 Put a throtle on the UpdateBars function, reducing CPU usage to about 20%-40% compared to before, with no loss of threat updates (more savings when in a larger raid). 2008-12-07 17:30:19 +08:00
Xinhuan 64532ed5a0 Minor fix so that it doesn't report pulling aggro on "> Pull Aggro <". 2008-11-28 16:18:42 +08:00
Xinhuan bc9b775b95 Fix "Passed X% of Y's threat" message where it would report your name instead of the tank's name if you passed your tank's aggro AND pulled aggro at the same time. 2008-11-25 06:09:44 +08:00
Xinhuan d251a9c99f Allow the user to have different background settings for the Title Bar than from the main Omen window. 2008-11-14 03:43:31 +08:00
Xinhuan 75ad81d9e3 Add LSM callbacks so that the user can use custom media or media registered by other addons correctly. 2008-11-07 07:40:48 +08:00
Xinhuan 3310c42362 Localize a few more globals after looking a GETGLOBAL grep pass. 2008-11-04 08:15:43 +08:00
Xinhuan d6f8ca38e2 Change default pet color from white-washed green to violet. 2008-11-04 06:08:35 +08:00
Xinhuan f82c78c1eb Fix bugs with "Hide Omen on 0 bars" option not working properly. 2008-11-04 06:06:58 +08:00
Xinhuan 0a91f771cf Changed code so that we no longer create the LibDBIcon-1.0 minimap button if Broker2FuBar or FuBar exists as we have direct FuBar support. 2008-11-03 07:38:53 +08:00
Xinhuan c6d780f9df Add option to change the Pet Color. 2008-11-03 07:21:14 +08:00
Xinhuan f8060ff747 Fix error that occurs on changing Clamp To Screen option. 2008-11-02 10:18:16 +08:00
Hendrik Leppkes 0ae2c8ff00 Fix nil error in OnProfileChanged related to Value/Percent display 2008-11-02 01:02:25 +01:00
Xinhuan 4c7ae9b918 Apply a whole list of configuration settings that were forgotten on changing profiles. 2008-11-01 22:59:29 +08:00
Xinhuan 717d351ce0 Split FAQ into 2 parts due to string truncation. Update esES with new strings. 2008-11-01 22:27:43 +08:00
Hendrik Leppkes fb1d9f352a Disable the Minimap Button option in the config if LDBIcon was not found 2008-11-01 21:37:23 +08:00
Hendrik Leppkes 1b57bf66c3 Refresh LDBIcon when changing profile 2008-11-01 21:37:20 +08:00
Hendrik Leppkes 60ff76589d LDB and LDBIcon are now optional, however still packaged by default 2008-11-01 21:37:01 +08:00
Xinhuan 9741c71ec1 Fix a possible "table index is nil" error that can happen while zoning in Test Mode. 2008-11-01 11:09:57 +08:00
Xinhuan 10b3cf44a2 Add Frame Strata and Clamp To Screen options. 2008-11-01 04:45:28 +08:00
Xinhuan e44f5c6f91 Add option to ignore player pets to display threat info on (Default: On). Yes, player pets have aggro tables too! 2008-11-01 04:07:02 +08:00
Xinhuan 90990c813d Minor optimization and tweaks. 2008-10-31 19:42:15 +08:00
Xinhuan 1a4bd3a0cf Add an internal flag so that if the user manually toggles Omen's visibility, it stays shown/hidden until he next zones, join/leave a party/raid, or change any Auto Show/Hide settings. 2008-10-31 16:17:59 +08:00
Xinhuan 14def8a171 Rewrite Auto Show/Hide options to be more intuitive. Add option not to use Auto Show/Hide. 2008-10-31 14:45:16 +08:00
Xinhuan 3992eacb48 Prefix the name of the custom Aoogah sound effect with Omen so that LSM users will know which addon it originated from. 2008-10-31 12:25:41 +08:00
Xinhuan b5699c9390 Fix Omen's FuBar plugin issue for right clicks to open the configuration panel interfering with library upgrading paths. 2008-10-31 12:00:13 +08:00
Xinhuan 0ee193de54 Hard embed LibDataBroker-1.1 and use it. Add LibDBIcon-1.0 external. Add minimap button option, default shown. 2008-10-31 08:35:26 +08:00