Threat Plates

Threat Plates

30M Downloads

Combo point widget disappears

KyoukanGG opened this issue ยท 17 comments

commented

Observations

  • Sporadically while in combat the combo point widget will disappear from the current target
  • Selecting a new target brings the widget back, as well as re-targeting the original target that the widget disappeared on
  • Gaining new combo points or spending combo points does not cause the widget to reappear
  • Issue began with the most recent update (or at the very least I didn't notice it before the most recent update)
  • Does not throw any Lua errors
  • Combo points still appear on the target via other addons (e.g. on Shadowed Unit Frames's target frame)

Speculation

  • Could be related to rapidly gaining combo points (e.g. when using Fan the Hammer procs as an Outlaw rogue)
  • Could be related to a mob dying to Blade Flurry (e.g. while not the primary target)
  • I don't believe I've triggered the issue when only in combat with one target, but not certain

EDIT: After some more testing, it feels like killing a secondary target right after switching targets might be the cause, but it's not consistent. Maybe some kind of race condition with events? This seems like the most reliable reproduction steps:

  1. Pull multiple targets
  2. Focus one target down
  3. Swap to a new target right before the focus target dies
  4. Kill the first target via indirect damage (e.g. dots, Blade Flurry, etc.)
  5. Combo point widget disappears on new target
commented

What version are you currently using? The beta version (for TWW) or the most recent 11.2.x version?

commented

What version are you currently using? The beta version (for TWW) or the most recent 11.2.x version?

I'm on 11.2.13, updated from the Curse client

commented

Just adding that this occurs with Windwalker as well, same rough reproduction steps. Hopefully this eliminates it being tied to any rogue specific talents/spells/hooks. I assume that it would also occur on Feral, but I haven't made one of those yet... :)

commented

Another update - in TWW early access this occurs basically any time enemies you are in combat with die while not being your current target (e.g. anytime you pull more than one mob at once).

Currently using version 12.0.9

commented

It's really a weird behaviour that I do not experience myself (but I play a druid). I also do not get any other reports regarding this.

commented

The only change I can think of that could cause this is the addition of soft-target support. Do you have soft-targeting enabled (for friendly/enemy/... units)? And if so, what exactly do you have enabled?

commented

I actually had no idea this was a thing, so it's unlikely I've opted into it somehow. Judging by AdvancedInterfaceOptions' CVar browser, I have the soft targeting related settings at default (e.g. only enabled for Gamepad). See attached.

I do have SoftTargetInteract set to 3 (BetterFishing made this change to fish with a single keybind), but as far as I can tell that doesn't have anything to do with combat, only interaction with objects.

I also attached a clip of it happening just in case you can spot something I might not know to look for, though this is slightly different than described above. In this clip the widget disappears when the current target dies, and a new target is selected.

Wow_zkoT5llnL2

combo-bug_1.mp4
commented

I still fail to reproduce this, even with a rogue. For me, the CP always correctly reset once a mob dies. Can you test if this also happens with all other addons disabled (if you did not yet do that)?

Although, that does not make a lot of sense. If so, that should have an impact on the whole nameplate, not just the combo points widget ...

commented

I just noticed something. After the first mob died, the second mob did get the combo points display, but only for a very short time until it gets hidden again when the first mob finally dies.

image

What I can see is: The first mob dies and your target immediately switches to the second mob. The combo point widget is also shown on the seoncd mob. Then, the first mob switches to headline view as it's dead (which is something I added some time ago). When it finally dies, the nameplate (in headline view) disapears and so does the combo points widget on the second mob.

commented

I think I now know why it happens, but I still need to verify. If I am correct, it should work without bugs when you disable SoftTargetInteract (I think you need to set it to 0).

Basically, when a nameplate from a unit is removed, all target-unit-based widgets are hidden. Now, when I added soft-target-support, I also do this for soft-target units, e.g., the first mob, that died, which is a interact target in this second (as can be seen by the loot icon above its nameplate).

The combo points widget only works for non-soft-target, but the hidding function is called for soft-targets as well. So, I should be able to fix this bug by only process real targets in the hidding function of the combo points widget.

Puh ....

commented
commented

I'm not 100% sure this fixes it, because it's a bit inconsistent, but from doing a handful of work quests and intentionally trying to break it by tabbing around a lot while mobs are dying, trying to kill things at the same time, etc. it seems to be resolved.

I'll keep this version installed and will keep an eye on it, and report back regardless of good or bad news when I'm done playing for the day.

commented

Still seems solved, I think that did it! Thanks for taking the time to dig into it!

I'm surprised that this isn't something more people experience, but I guess that the interact key just isn't something most people use. I guess to be fair, I only really use it when fishing as it allows you to fish without looking at the screen or using the mouse.

commented

Actually, the above version will still have bugs when you enable soft-enemy targeting (which you don't have enabled). So, it's more complicated than I thought, but I think I have fixed it now. Still need to look into the resource widget which should have similar issues.