[WoW Classic] UI API Change for UnitHealth

the post first made on the chinese bnet forums said it was because Real Mob Health had at one point caused raid instances to crash.

1 Like

You dont represent classic, you’re nobody, we’re taking over now.
Take a back seat mate, enjoy the ride or take off, you’re not welcome here.

2 Likes

People saying “nochanges”

Functionally this changes nothing. literally nothing. Everyone and their mother was running RealMobHealth and already saw real health values. Not that much different than the days of old before unit health was added to official api in wrath I think it was? vanilla and BC both obfuscated mob health and addons basically put it back.

This is basically true of threat as well. Although threat doesn’t use that much syncing. Real Mob Health was using a crap ton of it. To the point that having millions of concurrent users running it for BWL launch, did in fact cause strain on servers. It made blizz re-evaluate whether or not it made any sense to obfuscate health, only to have an addon tank their server performance and give health info ANYWAYS. Logically it makes more sense for blizzard to kill the addon and give health themselves.

Again though, there is literally no functional change to end users. You had health before, you have health now. You just have it with less performance impact to both end user and blizz servers. Win win?

I’m honestly surprised they didn’t just return the threat api while at it and kill off that wasted cpu and sync overhead as well, but I guess not as many people are running it.

14 Likes

Fantastic!

Quick question - is there now a way in game to have mob health values shows by default - or do we still need an addon to tell the api to show it?

11 Likes

Yeah made a level one with no addons on just try try and test. Can’t see anything.

4 Likes

if you use the default ui and want your target frame to continue displaying that value, youre going to need an addon that actually calls that api up when drawing the target frame. the realmobhealth addon author created an addon that does simply that. hooks unithealth/unithealthmax api into default blizzard ui.
curseforge . com / wow / addons / modern-targetframe

5 Likes

Yes i deleted realmobhealth and reinstalled it upon logging in and not seeing mob health or an option to turn it on - the advantage is soon ui addons will have this as standard built into itself

elvui, luna, etc. all those handbuilt target frames will certainly retain the functionality as those actually call unithealth/unitmaxhealth while being drawn.

the default ui needs to be modified to use these updated api calls. thats why he released that new addon, modern targetframe.

people who use the default will experience your issue. people who use a custom target frame can remove realmobhealth and just continue.

1 Like

Champ - just installed it.

3 Likes

so did it fix your problem? im confused

i uninstalled realmobhealth and no longer had them show in the target frame, then installed modern targetframe and it does now. it solved the problem for me in the default ui.

if it didnt solve the problem for you then there might be another addon causing an issue

oh also i was originally replying to vol, i didnt even see your post haha.

1 Like

Yes worked perfectly.

I’ve moved the RealMobHealth files on Curse into their archive and I’m sending a request to move the addon into the outdated category on WoWInterface. I thank everyone for their support of the addon during the course of its lifetime.

10 Likes

In all technicality, Blizzard is already running the formatting code to display the health values on the TargetFrame. The only thing I do on that part of the addon is place text objects where existing code is looking for them.

3 Likes

Is this your addon? Im loving the threat addition

nice! i had no idea. thanks so much for your work. you and all other addon authors are the heroes of classic. <3

While we’re on the topic of performance improvements, can we please get batching looked at again and reduced/removed. I can speak from experience, that most if not all the people who came back to blizzard servers from the private scene did so for reduced server latency. Then we get an artificial lag in the form of batching added to the game. It makes no sense for it to be in the game and not what anyone wanted when coming back to a monthly sub.

2 Likes

How would I get my game to display my friendly target’s health with these new changes?

This is perfect, even better now with the rare mod indicator, ty

This change doesn’t apply to players outside your party/raid.