ls- / ls_Toasts

Development repository of ls: Toasts
Other
27 stars 3 forks source link

Bug: iLVL display wrong number on toast #67

Open Ghaan opened 3 months ago

Ghaan commented 3 months ago

bild

As you can see here it is displaying the wrong ilvl on the toast itself vs what ilvl the item actually has.

Taizunz commented 3 months ago

Just here to confirm this. image

ls- commented 3 months ago

It's a known bug. Blizz have 3 APIs that can return an item level, I use the second best one, but I can't use the most precise one. Potentially, I could scan tooltips, but it can be rather laggy and that's not something I'm fond of, some people with weaker machines already complain about stutters when a bunch of toasts spawn, but I may change my mind later.

ls- commented 2 months ago

I reported this issue to Blizz yet again, but this time around via a trusty comrade who has contacts inside Blizz, so maybe they'll finally fix this bs 😅 For now we can only hope because it's been broken for years at this point 🙏🏼

Ghaan commented 2 months ago

If that lead doesn't pan out, I know the addon Baganator had a similar issue that ended up being resolved. Can't say in which way, but may be worth looking into if the report to Blizz doesn't work out.

https://github.com/Baganator/Baganator/issues/169

ls- commented 2 months ago

Yeah, I'm aware of that API, that's what I meant when I said that I was using the second best option. The best option is what baganator uses, at least when it can, but it's not something that can be used for toasts.

The only accurate alternative to that is parsing tooltips which I'd like to avoid because it comes with its own host of issues.