runelite / runelite

Open source Old School RuneScape client
https://runelite.net
BSD 2-Clause "Simplified" License
4.83k stars 5.25k forks source link

[Opponent Information] Araxxor Health #18433

Closed Hammmed closed 1 month ago

Hammmed commented 1 month ago

Type

Incorrect behavior

Operating System

None

OS Version

No response

Bug description

It seems as though Araxxor's Health in the Opponent Information plugin is displaying as a percentage even when other Display Style options are selected in the plugin.

Screenshots or videos

Screenshot_2024-10-14_at_9 36 40_pm

RuneLite version

RuneLite Version 2.6.3

Logs

No response

cdfisher commented 1 month ago

I took a look at the NPC information and Araxxor isn't listed there, which would cause this issue to happen. Since Opponent Information doesn't know how many hitpoints Araxxor has, it defaults to showing the percentage instead.

Looking further, it appears that the wiki scraper encountered duplicate IDs for Araxxor on the wiki page, so it didn't grab the hitpoints value from the page.

Taking a look at the wiki page showed the ID parameter was listed as being the same value in two different instances of the {{Infobox Monster}} template. I've adjusted the wiki page so that the scraper shouldn't have this issue the next time it runs.

Hammmed commented 1 month ago

Oh nice, I was having a little poke around to see where the issue might be last night but couldn't figure it out.

Thanks for sorting that out! I'll go ahead and close this issue out.

cdfisher commented 1 month ago

Oh nice, I was having a little poke around to see where the issue might be last night but couldn't figure it out.

Thanks for sorting that out! I'll go ahead and close this issue out.

It may be a few days to actually be "fixed" in the client since that won't happen until the wiki scraper runs again but it should be resolved once that does happen.