Menu

#965 TitanRepair: Durability percentage incorrect

Resolved
nobody
None
2013-12-01
2013-11-09
Anonymous
No

Originally created by: cassendr...@gmail.com

in the durability module, it keeps showing 100% event I have repair to do.
howerver, the gold amount needed for repairs is still working

Related

Wiki: Titan_Panel_Version_History

Discussion

  • Anonymous

    Anonymous - 2013-11-11

    Originally posted by: Honor...@gmail.com

    I cannot duplicate this.  I see the percentage value decrease when I take damage as well as the cost to repair.  Please take a few screenshots showing the problem and attach them to this issue.

    Status: Pending

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: cassendr...@gmail.com

    Here is a screenshot of my repair status. I have also the ElvUI addon which displays also the durability.

    while Titan displays 100%, ElvUI displays 91%

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: Honor...@gmail.com

    Can you put your mouse over it to show the tooltip and then take another screenshot?

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: ludovic....@gmail.com

    I'm experiencing the same in FR localized WoW, I believe it happened after a bugfix patch few weeks ago.

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: ludovic....@gmail.com

    After having a better look at the screenshot in previous comment, it looks like cassendra.wow@gmail.com has a FR-localized wow as well. i18n issue?

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: cassendr...@gmail.com

    I will put another screenshot with the tooltip displayed. as I remember the tooltip
    showed all my current equiped gear with the duraibility.

    but for each item, it shows "0/0" instead of "95/100" (for instance). I guess this is why Titan calculation result is 100%.

     
  • Anonymous

    Anonymous - 2013-11-12

    Originally posted by: ludovic....@gmail.com

    Here is the screenshot. All items have 0/0 durability. My helmet is actually 84/100.

     
  • Anonymous

    Anonymous - 2013-11-13

    Originally posted by: Honor...@gmail.com

    Yeah, I think this is a change in the frFR localization.  I've asked our FR translator to run TitanRepair in debug mode and to send me the results.  Additionally, we have a "pattern" entry in the localization file which is supposed to be getting those values from the items but they may have changed the matching string slightly.  As I don't have way to test this, I'm sort of shooting in the dark and hoping someone will say, "Blizzard changed the way they list Durabilité in the tooltips to just Durabilite" or something silly like that.  It would be an easy fix then.

     
  • Anonymous

    Anonymous - 2013-11-14

    Originally posted by: ludovic....@gmail.com

    Thanks for the update. Is there anything I can do to help?

     
  • Anonymous

    Anonymous - 2013-11-14

    Originally posted by: ludovic....@gmail.com

    I found a dirty fix by modifying the regex used in the "pattern" variable of the L["REPAIR_LOCALE"] structure in file "Localization.FR.lua".

    from:

    --Titan Repair
    L["REPAIR_LOCALE"] = {
        pattern = "^Durabilité (%d+) / (%d+)$"

    to

    --Titan Repair
    L["REPAIR_LOCALE"] = {
        pattern = "^Durabilit.*: (%d+) / (%d+)$"

    I looks like a ":" has been added between the durability label and the values.

    However I tried many other exact patterns (without the .*) and didn't find one working.

    pattern = "^Durabilité : (%d+) / (%d+)$" KO
    pattern = "^Durabilité: (%d+) / (%d+)$" KO
    pattern = "^Durabilit. : (%d+) / (%d+)$" KO
    ...

     
  • Anonymous

    Anonymous - 2013-11-17

    Originally posted by: Honor...@gmail.com

    We've confirmed this is happening in frFR and itIT localizations.  It seems Blizzard added the colon character for some silly reason.  We're testing a new API call that will replace the pattern matching.  This should appear in the upcoming 5.2.3 release.

    Summary: TitanRepair: Durability percentage incorrect
    Status: Started

     
  • Anonymous

    Anonymous - 2013-11-29

    Originally posted by: Honor...@gmail.com

    This has been fixed in the 5.2.3.50400 release.

    We switched from using tooltip scraping for gathering item durability information to Blizzard's GetContainerItemDurability() and GetInventoryItemDurability() functions.

    Status: Resolved

     
  • Anonymous

    Anonymous - 2013-12-01

    Originally posted by: Honor...@gmail.com

    Not at all.  Thank you for narrowing down the problem for us.  It's always helpful when people say, "this is broken and here is how I fixed it" as it at least saves us discovery time.  If you see anything strange happen when 5.4.2 hits in a few weeks, please let me know.

     

    Last edit: Anonymous 2016-11-08

Log in to post a comment.