comma separators #36


  • New
  • Defect
Open
Assigned to whitetooth3
  • _ForgeUser169356 created this issue Sep 15, 2012

    What steps will reproduce the problem?
    1.blizzard now uses comma separators in 1k+ numbers.
    2.
    3.

    What is the expected output? What do you see instead?
    LibStatLogic is not reading numbers with commas correctly, it thinks the stat is much smaller than it is.

    What version of the product are you using?
    r127

    Do you have an error log of what happened?

    Please provide any additional information below.

  • _ForgeUser169356 added the tags New Defect Sep 15, 2012
  • _ForgeUser169356 added an attachment WoWScrnShot_091512_084447.jpg Sep 15, 2012

    WoWScrnShot_091512_084447.jpg

  • _ForgeUser169356 added an attachment WoWScrnShot_091512_084449.jpg Sep 15, 2012

    WoWScrnShot_091512_084449.jpg

  • _ForgeUser581183 posted a comment Sep 15, 2012

    LibStatLogic never has handled any "have a chance" effects - and they are specifically in an exclude list. Since there is no way to to know what the effect does, there's no way it can tell you about it.

    e.g.

    Your melee attacks have a chance to grant 1,149 dodge

    • what chance?
    • how often?
    • how long does it last?
    • what's the internal cooldown?

    Nor has LibStatLogic ever handled On use items, and they are specifically excluded. Since there's no way to know what the effect is, there's no way LibStatLogic can tell you about it, e.g.:

    Use: Increases your dodge by 2

    • what is it's internal cooldown?

    Believe me, i've looked into trying to make LibStatLogic understand my Earthen Guardian. But once i looked into it i realized that there's no way to know what stats the item provides.


    So, while it is true that i went through a lot of shit to get commas working

    Note: In Germany that same number shows as 1.149

    that's not why it's failing here.

  • _ForgeUser169356 posted a comment Sep 15, 2012

    @JackTripper: Go

    i was more looking for a display of the rating to % conversion of the value once it procs, the trink states increases dodge by 2,290, LibStatLogic is attempting to convert the value but its only seeing the first digit of 2. hence the (+0.01%) its showing.

    Is this an issue with Rating Buster?


    Edited Sep 15, 2012
  • _ForgeUser581183 posted a comment Sep 15, 2012

    <<reply 954918="">>

    Is this an issue with Rating Buster?

    Whitetooth originally wrote LibStatLogic so he could write TankPoints.

    Then he created RatingBuster as graphical front-end around LibStatLogic. RatingBuster basically shows in tooltips what LibStatLogic tells it.

    And LibStatLogic has never had an API to expose "sometimes" attributes on items. Personally i wish it could take the average effect of an item:

    If Earthen Guardian Figuring adds 2500 dodge for 12 seconds, with a cooldown of 2 minutes, then it effectively adds 250 Dodge Rating. But a lot of items have hidden internal cooldowns, which needs some database to understand each item.

    Perhaps the Name of each item can start to add an effect itself:

    ["Figuring: Earthen Guardian"] = {"DODGE_RATING" = 250}
    

    But it starts to fall apart when you get into items, like Veil of Lies, which stack. You don't always be at full 10 stacks. So now you have to create some UI to configure how many stacks you expect to have up on any mob at any given time.

    Unless i decide that on average you'll have 4 stacks up:

    ["Veil of Lies'] = {"DODGE_RATING" = 18*4} --4 stacks of +18 Dodge Rating
    

    Which, now that i think about it, might be something i could do, a hard-coded database of every:

    Equip: ... has a chance to ...

    and

    Use: ...

    and decide what the effective stat is.

    But it is not this day. At the very least i'd only add them for items i use, because it's a huge database of items, most of which the internal cooldowns are not documented.


To post a comment, please login or register a new account.