Bonuses for Equipped items including Durability and Classes?

A detailed character information viewer
Includes character stats, item bonuses, talents, spell book, mail, inventory, quests, and recipes.

Bonuses for Equipped items including Durability and Classes?

Postby Wyren » Mon Sep 29, 2008 12:44 pm

Noticed that the Bonuses for Equipped Items also include, as Enchants, things that are clearly neither bonuses or enchants...

Durability 160
160
Minor Speed
+9 Stamina
+40 Healing Spells
+14 Spell Damage
Druid
Classes
+20 Spirit
The "Durability 160" and "160" is both from the same two items (url: http://roster.treehuggery.org/index.php ... info&a=c:9), "Druid" and "Classes" are from my Tier 5 and Tier 6 items. Same goes for other chars, it lists "Classes" and the actual class for Tier 4, 5 and 6 loot.
Oh, and on my lvl 57 Shammy I get this:
Fiery Blaze
Enchant
...
Any fix for this?
Last edited by Wyren on Mon Sep 29, 2008 12:45 pm, edited 1 time in total.
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

Re: Bonuses for Equipped items including Durability and Clas

Postby tuigii » Mon Sep 29, 2008 7:13 pm

Well,

The short and valid answer: Yes - this can be solved.

The long answer is: it's a matter of feeding this PHP function preg_match the correct mask so it filters out the tooltip correctly.

The masks are in the preg_match/enUS.php file
The filter magic is being done in lib/item.php

pregmatch is being documented on the internet - no worry about that.

Ok, I hear you think, "You don't want the way that walks you to the solution", you want the solution.
The (my) final answer is: help us finding someone that can work with pregmatch, and you’re the WoWRoster man of the year.

Believe me, this issue seems simple, but is complicated, not even taken in account that Blizzard fiddles with the tooltip every day.
Last edited by tuigii on Mon Sep 29, 2008 7:14 pm, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Bonuses for Equipped items including Durability and Clas

Postby Wyren » Mon Sep 29, 2008 10:58 pm

Hmm... Need to have a look at the enUS.php file when I don't have a headache tho :)

Just one thing I noticed, is that all the items it incorrectly lists variuos things as enchantments, is where the incorrectly listet value is listed *higher* in the tooltip than gem sockets...
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm


Return to CharacterInfo

Who is online

Users browsing this forum: No registered users and 0 guests

cron