Mytherin / Tibialyzer

Tibialyzer is an extension made for the MMORPG Tibia. It automatically scans the server log and messages from the Tibia client by reading its memory, and gathers various statistics, such as loot found from creatures, damage dealt by party members and experience gained every hour.
Other
184 stars 60 forks source link

Other people's health remains on screen until you reset HUD #51

Open Galarzaa90 opened 8 years ago

Galarzaa90 commented 8 years ago

When you add someone to your Health List tracking, you get a health bar for that person the first time he appears on your screen.

The issue is that the names remain in there until you hide and show the HUD again. Eventually the bar shows -1% if the player hasn't been near for some time.

I think it needs to have a timer so when someone has been out of range for a some time, the name should be removed from the HUD.

This occurs since commit e6ff506

sshot-2016-04-12- 22-19-33 allan-pc

Mytherin commented 8 years ago

I can fix this pretty easily by simply not displaying players with <0% life. I think it should be no problem.

Galarzaa90 commented 8 years ago

That's definitely an easier fix.

Galarzaa90 commented 8 years ago

Just wanted to bring up that,hiding players with a percentage lower than 0% fixes the issue of death or logged off players still showing up in there,but it still shows people that you ran into for a brief second and that are in your health list, and they remain there for almost an hour.

My health list has the people I usually hunt with. But sometimes, if I see one of them somewhere,they will remain on the health list until for a long time. Removing and readding them for each hunt would work, but I'd have to add their pictures everytime too.

Today, I went on a hunt, and I had one of the people in my list show up for 40mins, I only saw that person for less than a minute and never saw him again after that.

GalLuvton commented 8 years ago

@Mytherin You can check that the target x y z coordinates fit the screen of the player (you know the player X Y Z, and the screen size in tibia pixels is constant). That's how I filter druid targets in my tool.