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

How to find weapon/shield/range type?

Discussion in 'Census: EverQuest II' started by Uberfuzzy, Aug 7, 2012.

  1. Uberfuzzy

    Uberfuzzy Guest

    Lets go on a little walk, k?

    Shields have a type (tower/small/round/buckler/etc), ingame examine windows show this 

    BuckerType   Buckler

    This cannot be found (to my knowledge) in the data feed. Where is "Buckler" or "Type Buckler" in here? [url="census.daybreakgames.com/xml/get/eq2/item/3409011483">census.daybreakgames.com/xml/get/eq2/item/3409011483[/url]

    Weapons have a weapon type such as Dagger, Sword, Spear; a weild, and a damage type.

    SwordOne-Handed Slashing

    Lets look at the feed [url="census.daybreakgames.com/xml/get/eq2/item/2919919231">census.daybreakgames.com/xml/get/eq2/item/2919919231[/url]

    The "One-Handed" we can get from typeinfo.<span style="color: #881280; font-family: monospace; font-size: 13px; "><span style="color: #881280; font-family: monospace; font-size: 13px;">wieldstyle<span style="font-size: x-small; font-family: monospace; color: #881280;">=<span style="color: #881280; font-family: monospace; font-size: 13px;">"One-Handed<span style="color: #881280; font-family: monospace; font-size: 13px;">"<span style="font-family: monospace; color: #881280;">(we will ignore the "Main Hand" shows as "One-Handed" issue for now)

    The "Slashing" we can get (with a little ucfirst magic) from typeinfo.<span style="color: #881280; font-family: monospace; font-size: 13px; "> <span>skill="<span>slashing"

    But there is no indicator/id/field for "Sword" anywhere. So where does this come from?

    This is extra annoying for "ranged" items, as we only have typeinfo's<span style="color: #881280; font-family: monospace; font-size: 13px; "> wieldstyle="ranged"

    This is a bow [url="census.daybreakgames.com/xml/get/eq2/item/2651161555">census.daybreakgames.com/xml/get/eq2/item/2651161555[/url]This is a focus item [url="census.daybreakgames.com/xml/get/eq2/item/542159153">census.daybreakgames.com/xml/get/eq2/item/542159153[/url]

    Can you show me where I'm supposed to find "Bow" or "Focus" in there, or from that data?

    And this is triple extra annoy for "Symbols" items, as they all show as<span style="color: #881280; font-family: monospace; font-size: 13px;"> item.type="Shield" item.typeid="4" <span style="font-family: monospace; font-size: 13px;"> and also<span style="color: #881280; font-family: monospace; font-size: 13px;"> typeinfo.name="shield"

    [url="census.daybreakgames.com/xml/get/eq2/item/2692734655">census.daybreakgames.com/xml/get/eq2/item/2692734655[/url]

    My reason for bringing this up is on armor, ingame shows us "Cloth Armor (Chest)", and the feed gives us this armor type both as text and internal name on the typeinfo node

    <span style="color: #881280; font-family: monospace; font-size: 13px; ">knowledgedesc="Cloth Armor" knowledgename="verylightarmor"<span style="color: #881280; font-family: monospace; font-size: 13px; "><span>knowledgedesc="<span>Chain Armor"<span style="color: #881280; font-family: monospace; font-size: 13px; "> <span>knowledgename="<span>mediumarmor"<span style="color: #881280; font-family: monospace; font-size: 13px; "> 

    So why does the API give us such useful and helpful text for armor, but lacking a major piece of infor for weapons, and hot mess concerning shield slot items?

    Am I missing a resolve somewhere? Am I missing some sort of id that I have to lookup on the constant's page? (btw, some of these are on there in the skills section)

     
  2. feldon30

    feldon30 Guest

    You are correct on all points.I just had to make do with what was available. So far, I have yet to get an e-mail to EQ2U asking why these data points aren't shown.

    For Focus Ranged (spell weapons), you can maybe fake it by looking for Ranged items that are Priest or Mage only.

     
  3. feldon30

    feldon30 Guest

    Not too long ago, we started getting Tinkering/Adorning skill on items. For example the mender bot now has this field:

    <requiredskill min_skill="350" text="tinkering"/>

    But what I didn't expect is that other things would show up in this requiredskill.text field -- namely some weapon types. Here are some of the values I found by looking up items linked by Uberfuzzy.

    <requiredskill min_skill="1" text="symbols"/>

    <requiredskill min_skill="1" text="sword"/>

    <requiredskill min_skill="1" text="buckler"/>

    <requiredskill min_skill="1" text="bow"/>

    However the "Focus" Spell weapon/wand does not have such a field. Neither does this dagger which Quicktiger linked in the other thread:

    I would prefer to review a large number of different weapons and items and make sure it is consistently accurate before I start using it. EQ2 does some funky things under the hood and which we've largely been insulated from by the helpful formatting of Census. Some of the possible values for requiredskill.text are interesting to say the least:

    For now, I'm only displaying this field if it's set to 'tinkering' or 'adorning'. Otherwise, players will be asking us how they can get better at noctivagance, skullduggery, and hallucinations.

     
  4. Quicktiger

    Quicktiger Guest

    ... Or if Thrownweapon is different from thrownweapon...  :)

    I have opted to show just about everything on eq2mission.flame.org.  This is mostly 'cause I wanted to, not that I wanted to be perfectly accurate.

    I do admit the data feed has many oddities about it.   Most items are consistent, but the rules about when to display field X in-game is not always clear...

     
  5. feldon30

    feldon30 Guest

    Our item view is the secret sauce. ;)

    I looked at hundreds of items in-game to see how things were displayed and then kept adding more and more stuff until it started to look close.

     
  6. feldon30

    feldon30 Guest

    At long last, EQ2U is now using the requiredskill data for primary, secondary, and ranged weapons.

    For a dagger that can be equipped in either hand, instead of:

    One-Handed PiercingSlots: Primary, Secondary

    You get:

    DaggerOne-Handed Piercing

    Some weapons are main hand only (namely epic weapons). We were displaying these as:

    One-Handed PiercingSlots: Primary

    Now they correctly show as:

    DaggerMain Hand Piercing

    It was REALLY nice to be able to replace:

    FocusRanged

    With:

    Spell Autoattack Weapon (Focus)

    I'm actually having to keep a hard-coded list of valid wield types (Bow, Thrown Weapon, Mace, Dagger, Rapier, Great Sword, etc.). It's pretty ugly to be honest but it's faithful to the game. Actually, instead of a hard-coded list of requiredskills, I could probably check for the presence of wieldstyle.

    Our item rendering code is nearly 31KB now. And that's without Experimentation and Refining. <img src="/station/images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" border="0" />

     
  7. Uberfuzzy

    Uberfuzzy Guest

    now to find the code I was working on 8 months ago when I first posted this...

     

Share This Page