cf_armory : UpgradeCentral, planning

Time to think about what to do with the new armory data available, item upgrades. I have a feeling those armory servers will need hardware upgrades soon if they keep adding usefulness to the site. There will be more and more developers writing stuff to pound that data.

  1. Get the person's character name and realm with a simple form
  2. Pull the character sheet, character-sheet.xml
  3. Pull out a list of current gear from the xml page/characterInfo/characterPage/items
  4. Loop over the items, requesting the xml of upgrades
  5. Remove any items you just wouldn't likely use, i.e. remove leather items if you're a warrior
  6. ?? Remove any items below the currently equipped one
  7. Display back the list of items, by slot

This project is the perfect place to try CF8's <cfthread> tag. After getting a list of equipped items, spawn a thread for each one send them on their way. Merge them back together before displaying. With 16-17 item slots (remove tabard and shirt, ignore off-hand if the character uses a 2 handed weapon), cfthread in theory would make the page come back maybe 15 times faster. If it really ends up being that much faster, it would be fine to create a list for an entire guild. You could created a "most wanted" list of bosses and instances, where the most people could possibly get an upgrade. This, like the heroic key builder, you still wouldn't want to run on demand when it's for an entire guild.

<filters>
<filter name="source" value="all"/>

<filter name="type" value="weapons"/>
<filter name="rrt" value="all"/>
<filter name="andor" value="or"/>
<filter name="slot" value="ranged"/>
<filter name="usbleBy" value="3"/>
<filter count="1" name="advOpt" value="attackPower_gteq_30"/>
<filter count="2" name="advOpt" value="agility_gt_0"/>
<filter count="3" name="advOpt" value="spellManaRegen_gt_0"/>
<filter name="recc" value="1"/>

<filter name="rqrMax" value="73"/>
</filters>

That's at the top of the upgrade page. Look at the "advOpt" filters, very cool. It figures those are my 3 top stats needed.

Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner