Total RP 3

Total RP 3

4M Downloads

Cursor becomes forbidden in dungeon

Ellypse opened this issue · 0 comments

commented

The GameTooltip can sometimes become forbidden and can no longer be used by add-ons when friendly nameplates are enabled and the cursor shows the tooltip from débutes anchored to the friendly nameplates. Subsequent use of the GameTooltip will raise a taint error.
Image

After discussion with developer friends, the only solution here is unfortunately to disable friendly nameplates debuffs for the user by setting the nameplateShowDebuffsOnFriendly CVar to 0 and actively enforce this settings (make sure it stays off even if someone is trying to set it back on).

  • Implement workaround to set nameplateShowDebuffsOnFriendly CVar to 0 when the user is inside a dungeon (save current value and restore it when leaving protected environment)
  • Enforce this workaround by hooking the SetCVar function and checking if someone is trying to re-enable it.