<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>EQItems: Forums</title>
    <link>http://eqitems.13th-floor.org/phpBB2/</link>
    <description>eqitems forum</description>
    <managingEditor>kyle@13th-floor.org</managingEditor>
    <webMaster>kyle@13th-floor.org</webMaster>
    <lastBuildDate>Fri, 21 Nov 2008 06:27:01 GMT</lastBuildDate>
    <ttl>120</ttl>
<item>
  <title>Development (Website) :: RE: Spells and Tomes don't show class(es)</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1360#1360</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=2" target="_blank">ksmith</a><br />
    
    Posted: Mon Nov 03, 2008 4:12 pm (GMT 0)<br />
    Topic Replies: 1<br /><br />
    <span class="postbody"><table cellspacing="0" cellpadding="3" width="500" align="center" class="sidebar">  <tr>    <td class="itemtitle" valign="center"><a href="http://eqitems.13th-floor.org/item.php?id=117921">Tome of Foray Rk. II</a></td>  </tr>  <tr>    <td class="itemdata">      <div style="float: right"><img src="http://eqitems.13th-floor.org/img/item_778.png" width="40" height="40" align="absmiddle" /></div>MAGIC ITEM LORE ITEM NO TRADE <br />Level Needed: <br />Skill: Hand To Hand<br />Mana Cost: 0<br />Combat Effect: Assaults your target with a flurry of savage attacks.<br />WT: 0.1 Size: SMALL<br />Class: BST<br />Race: ALL<br />    </td>  </tr></table>
<br />

<br />
Done.
    </span><br />]]>
  </description>
  <author>ksmith</author>
  <dc:creator>ksmith</dc:creator>
  <pubDate>Mon, 03 Nov 2008 16:12:27 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Update to +damage</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1359#1359</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=2" target="_blank">ksmith</a><br />
    
    Posted: Mon Nov 03, 2008 4:07 pm (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody"><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span class="genmed"><strong>Nilwean wrote:</strong></span></td></tr><tr><td class="quote">While you're at it, the most recent set of icons would be nice.</td></tr></table>
<br />

<br />
Edit: nevermind, icons are updated.
    </span><br />]]>
  </description>
  <author>ksmith</author>
  <dc:creator>ksmith</dc:creator>
  <pubDate>Mon, 03 Nov 2008 16:07:00 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Update to +damage</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1358#1358</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=41" target="_blank">Nilwean</a><br />
    
    Posted: Sat Nov 01, 2008 11:54 pm (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">While you're at it, the most recent set of icons would be nice.
    </span><br />]]>
  </description>
  <author>Nilwean</author>
  <dc:creator>Nilwean</dc:creator>
  <pubDate>Sat, 01 Nov 2008 23:54:31 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Update to +damage</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1357#1357</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    
    Posted: Wed Oct 29, 2008 3:16 am (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">Speaking of common.inc:
<br />

<br />
$aug_restrictions array, around line 514:
<br />

<br />
14 =&gt; &quot;1h Slash, 1h Blunt, or Hand to Hand Only&quot;
<br />

<br />
<a href="http://eqitems.13th-floor.org/item.php?id=48766" target="_blank">http://eqitems.13th-floor.org/item.php?id=48766</a> has this restriction in-game
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Wed, 29 Oct 2008 03:16:00 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: Spells and Tomes don't show class(es)</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1356#1356</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=43" target="_blank">Skurge</a><br />
    Subject: Spells and Tomes don't show class(es)&lt;br /&gt;
    Posted: Mon Oct 27, 2008 12:01 pm (GMT 0)<br />
    Topic Replies: 1<br /><br />
    <span class="postbody"><a href="http://eqitems.13th-floor.org/item.php?id=117921" target="_blank">http://eqitems.13th-floor.org/item.php?id=117921</a>
<br />

<br />
<a href="http://eqitems.13th-floor.org/item.php?id=118888" target="_blank">http://eqitems.13th-floor.org/item.php?id=118888</a>
    </span><br />]]>
  </description>
  <author>Skurge</author>
  <dc:creator>Skurge</dc:creator>
  <pubDate>Mon, 27 Oct 2008 12:01:49 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Update to +damage</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1355#1355</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=2" target="_blank">ksmith</a><br />
    
    Posted: Mon Oct 27, 2008 1:13 am (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">Updated
    </span><br />]]>
  </description>
  <author>ksmith</author>
  <dc:creator>ksmith</dc:creator>
  <pubDate>Mon, 27 Oct 2008 01:13:34 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: Update to +damage</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1354#1354</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    Subject: Update to +damage&lt;br /&gt;
    Posted: Sun Oct 26, 2008 11:43 pm (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">In common.inc, the $element_type array needs updating:
<br />

<br />
global $element_type;
<br />
$element_type = array(
<br />
		1 =&gt; &quot;Magic&quot;,
<br />
		2 =&gt; &quot;Fire&quot;,
<br />
		3 =&gt; &quot;Cold&quot;,
<br />
		4 =&gt; &quot;Poison&quot;,
<br />
		5 =&gt; &quot;Disease&quot;,
<br />
		6 =&gt; &quot;Chromatic&quot;,
<br />
		7 =&gt; &quot;Prismatic&quot;,
<br />
		);
<br />

<br />

<br />
<a href="http://eqitems.13th-floor.org/item.php?id=48773" target="_blank">http://eqitems.13th-floor.org/item.php?id=48773</a> shows chromatic damage.
<br />

<br />
<a href="http://eqitems.13th-floor.org/item.php?id=48782" target="_blank">http://eqitems.13th-floor.org/item.php?id=48782</a> shows prismatic damage.
<br />

<br />
I can't find any items that have corruption damage.
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Sun, 26 Oct 2008 23:43:46 GMT</pubDate>
</item>
<item>
  <title>Development (Item Collector) :: RE: database problem</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1353#1353</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    
    Posted: Sat Oct 25, 2008 2:20 pm (GMT 0)<br />
    Topic Replies: 7<br /><br />
    <span class="postbody">Heh, I guess I should have said they <span style="font-style:italic">used</span> to give me problems. =)  A couple of years back, I found another post on here that gave some Perl code to handle them, and I was able to adapt that to PHP.  If I need to import the DB to a spreadsheet, I usually just go in and manually delete those three items (along with a few thousand others so it fits in Excel's 65K record limit); they're almost never relevant to what I need.
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Sat, 25 Oct 2008 14:20:31 GMT</pubDate>
</item>
<item>
  <title>Development (Item Collector) :: RE: database problem</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1352#1352</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=2" target="_blank">ksmith</a><br />
    
    Posted: Fri Oct 24, 2008 5:43 am (GMT 0)<br />
    Topic Replies: 7<br /><br />
    <span class="postbody">The dumps (and EQ back when it sent the serialized item data as text) use '\' to escape special characters just like C and most other programming languages do.
<br />

<br />
In <a href="http://eqitems.13th-floor.org/download/loaditems.pl" target="_blank" class="postlink">loaditems.pl</a> the official import script for the nightly database dumps, I specifically have it split on '|' characters that are not immediately preceded by a '\' character.  This isn't entirely ideal since it would miss the case of an item name ending with '\\' that is, a literal '\' which is being escaped.  However it was simple to implement in perl and it gets the job done.
    </span><br />]]>
  </description>
  <author>ksmith</author>
  <dc:creator>ksmith</dc:creator>
  <pubDate>Fri, 24 Oct 2008 05:43:06 GMT</pubDate>
</item>
<item>
  <title>Development (Item Collector) :: RE: database problem</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1351#1351</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    
    Posted: Thu Oct 23, 2008 3:38 pm (GMT 0)<br />
    Topic Replies: 7<br /><br />
    <span class="postbody">Those three items are a pain; I know they give me headaches every time I try to import the DB into a spreadsheet or my own database.  The good news is that there are already a few solutions for how to handle them programmatically.  Sounds like you have to update your import code.
<br />

<br />
Search the forums here on the item name for some ideas.
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Thu, 23 Oct 2008 15:38:17 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Item stats scaling based on recommended level?</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1350#1350</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    
    Posted: Thu Oct 23, 2008 3:35 pm (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">You're correct; that's actually a snippet of code I cobbled together from a couple of other, much larger scripts that I use.  The earlier parts of those scripts validate recommended and required levels.  To be complete, I guess you'd have to insert a check before PreRound to cap the CharLevel at RecLevel. 
<br />

<br />
I'm not sure what you mean about setting stats to zero.  Do you mean that if a player dies and delevels, yet is still wearing an item with a required level above his current level, the item will have zero stats?  That would be beyond the scope of just calculating the impact of the recommended level; that gets into how you handle the required level.
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Thu, 23 Oct 2008 15:35:29 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Item stats scaling based on recommended level?</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1349#1349</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=214" target="_blank">Yoda</a><br />
    
    Posted: Thu Oct 23, 2008 10:44 am (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">you should change your formula to take into account two things:
<br />
* the character_level / rocommanded_level ratio should never get above 1
<br />
* the values should be set to zero (or one, don't remember) when the requiered_level isn't reached (can happen when death-develling).
    </span><br />]]>
  </description>
  <author>Yoda</author>
  <dc:creator>Yoda</dc:creator>
  <pubDate>Thu, 23 Oct 2008 10:44:01 GMT</pubDate>
</item>
<item>
  <title>Development (Item Collector) :: RE: database problem</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1348#1348</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=214" target="_blank">Yoda</a><br />
    Subject: Re: database problem&lt;br /&gt;
    Posted: Thu Oct 23, 2008 10:36 am (GMT 0)<br />
    Topic Replies: 7<br /><br />
    <span class="postbody"><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span class="genmed"><strong>fyredawn wrote:</strong></span></td></tr><tr><td class="quote">[...]
<br />
iksar left hand=\
<br />
iksar left hand =\
<br />
iksar right hand=\
<br />
[...]</td></tr></table> the EQitems database uses | as separator, and there is three items that uses this character in their name. those three items are those three you listed above. this behaviour creates a change of the number of colonns in the structure of the database that makes it unuseable past those three lines.
<br />

<br />
you have to edit the database everytime you download it to either alter those three names or to remove those three lines.
    </span><br />]]>
  </description>
  <author>Yoda</author>
  <dc:creator>Yoda</dc:creator>
  <pubDate>Thu, 23 Oct 2008 10:36:02 GMT</pubDate>
</item>
<item>
  <title>Development (Website) :: RE: Item stats scaling based on recommended level?</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1347#1347</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=88" target="_blank">KyrosKrane</a><br />
    
    Posted: Tue Oct 21, 2008 11:24 am (GMT 0)<br />
    Topic Replies: 4<br /><br />
    <span class="postbody">It's actually a bit more complicated, due to at least two issues I've found.
<br />

<br />
1) If a stat would come out to x.5 (like 19.5 or 217.5), EQ rounds *down*, not up.  For any other value, it rounds normally.
<br />

<br />
2) Recommended stats always have a minimum value of 1.
<br />

<br />
Here's some Javascript that I use.
<br />

<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><span class="genmed"><strong>Code:</strong></span></td></tr><tr><td class="code">function RecLevelRound&#40; num, CharLevel, RecLevel &#41;
<br />
&#123;
<br />
&nbsp; &nbsp;PreRound = num * CharLevel / RecLevel;
<br />
&nbsp; &nbsp;if &#40;PreRound - Math.floor&#40;PreRound&#41; == 0.5&#41;
<br />
&nbsp; &nbsp;&nbsp; &nbsp;PreMax = Math.floor&#40;PreRound&#41;;
<br />
&nbsp; &nbsp;else
<br />
&nbsp; &nbsp;&nbsp; &nbsp;PreMax = Math.round&#40;PreRound&#41;;
<br />
&nbsp; &nbsp;return Math.max&#40;PreMax, 1&#41;;
<br />
&#125;</td></tr></table>
<br />

<br />
I haven't tested this code with negative numbers, though.  I'm not sure how EQ rounds those.
    </span><br />]]>
  </description>
  <author>KyrosKrane</author>
  <dc:creator>KyrosKrane</dc:creator>
  <pubDate>Tue, 21 Oct 2008 11:24:54 GMT</pubDate>
</item>
<item>
  <title>Development (Item Collector) :: RE: database problem</title>
  <link>http://eqitems.13th-floor.org/phpBB2/viewtopic.php?p=1346#1346</link>
  <description>
    <![CDATA[Author: <a href="http://eqitems.13th-floor.org/phpBB2/profile.php?mode=viewprofile&u=2" target="_blank">ksmith</a><br />
    
    Posted: Mon Oct 20, 2008 6:05 pm (GMT 0)<br />
    Topic Replies: 7<br /><br />
    <span class="postbody">The database is mostly used by EQDKP and EQTraders.  It's purpose is to be useful to others.  I don't support or care what anyone does with the database dumps.
<br />

<br />
We do not talk about MQ here because it's against the EQ ToS.
    </span><br />]]>
  </description>
  <author>ksmith</author>
  <dc:creator>ksmith</dc:creator>
  <pubDate>Mon, 20 Oct 2008 18:05:10 GMT</pubDate>
</item>
</channel>
</rss>

