1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Item class list and their IDs

Discussion in 'Census: General Discussion' started by Quicktiger, Feb 7, 2012.

  1. Quicktiger

    Quicktiger Guest

    I was hoping to be able to store the integer value returned in the typeinfo.classes list, but it turns out this won't actually work because tradeskill classes and adventure classes have conflicting IDs.

    One way is for me to internally map tradeskill classes to be 1000+id something, but this largely makes the id field useless in the data feeds.

    e.g,

    census.daybreakgames.com/yaml/get/eq2/item/3178856780

    One solution would be to indicate if this is a tradeskill or adventure class in the hash, I suppose.

    Not really seeking an action here, just mentoining it for others before they get caught by the same appealing target.  :)

     
  2. Dethdlr

    Dethdlr Guest

    The IDs conflicting doesn't bother me much but it might be nice if "classes" contained the adventure class and something like "ts_classes" contained the tradeskill classes but even that isn't that big a deal to me.   

    When I parse them on my end, I store the tradeskill classes and adventure classes in separate places since they should be compared to separate things in the character data.  But having them combined in "classes" in the item data might make it easier to display which classes the item applies to since you only have to look at one place instead of two.

    Either way works.  But you're right that it's something to be aware of. 

    At least it says the proper tradeskill class names now instead of using some of the adventure class names plus brawler, crusader, cleric, and priest like it used to.  :)

     

Share This Page