MoP

  • Státusz Lezárva
  • % kész
    100%
  • Hibajegy típusa Bug Report
  • Kategória Core
  • Felhasználó hozzárendelése Senki
  • Rendszer All
  • Súlyosság kritikus
  • Prioritás Normál
  • Jelentett változat 1.0
  • Esedékesség határozatlan
  • Esedékesség időpontja határozatlan
  • Szavazatok 8
  • Privát
Projekt: MoP
Megnyitotta SATHENAN - 07.11.2019 01:08
Utoljára szerkesztette: Aithne - 07.04.2020 15:37

FS#18896 - API UnitDetailedThreatSituation

UnitDetailedThreatSituation returns wrong values when threat overflows integer max value and this usualy happens many times during the fight.
This bug makes threat meter based addons like omen, tidy plates and default blizzard threat meter completely useless and cause many messages about gaining/loosing agro.

Tested by some scripts and multiple addons.

By default threat value is signed number (addons like omen etc on oficial servers count with negative numbers and deal with them) but should not overflow at usual values that
greatly exceed int max value.

Edit:
According to method videos, it looks like all spells generate much more threat than on retail pandaria.

For example method’s tanks threat near the end of encounter garrosh is about 1 900 000 000. Thats oretty close, but i reached this value on warbringer or dummy in less than minute with no vengeance and external buffs, few moments later owerflow into -2 billion

   blizz 12th min.png (204 kilobájt)
   tauri.jpg (56,6 kilobájt)
   tauri over.jpg (58,9 kilobájt)
Lezárta  Aithne
07.04.2020 15:37
A lezárása indoka:  Fixed
GZPLANET commented on 09.11.2019 02:31

Its not Tauri Fault. Its Addon fault cant exceed threat numbers in billions..
There a fix for it. you have to edit your own addon.

SATHENAN commented on 09.11.2019 17:20

your coment is pointless as i said at least 2 times in report, that the function returns wrong values. How this can be fault of an addon?

Macro:
/script local _,_,_,_,value = UnitDetailedThreatSituation("player", "target");
ChatFrame1:AddMessage(tostring(value));

Output:
-2085420200

Betöltés...

Available keyboard shortcuts

Hibajegy-lista

Task Details

Task Editing