Question about MIRC and XML - 25/03/10 11:18 PM
I'm trying to get info from a XML database named items.xml. There are several thousand entries and I want to be able to use
!item <item name>
For example:
!item Lustrous Thrall's Ruined Gloves
!item Basalt Sword of Anarchy
The XML is setup like this:
And I'm trying to get the results as:
Lustrous Thrall's Ruined Gloves (Scale) - Lvl: 50, Qual: 90, AF: 66 - Quickness: 15, Crush Resist: 5, Hits: 20 - Dropped/sold by 'ursine thrall' in 'Treibh Caillte' at locs 26k, 19k
Basalt Sword of Anarchy (Slash) - Lvl: 50, Qual: 100, DPS: 16.5, Spd: 4.2 - Slash: 2, Strength: 15, Quickness: 15, Matter Resist: +7 - Dropped/sold by 'Legion' in 'Darkness Falls' at locs 36k, 43k
Not sure if this is possible, or if anyone wants to help out, but just thought I'd ask... thanks in advance!
Or if anyone knows how to bring it up on php I can just use sockets... once again, thanks!
!item <item name>
For example:
!item Lustrous Thrall's Ruined Gloves
!item Basalt Sword of Anarchy
The XML is setup like this:
Code:
<item> <armor af="66">SCALE</armor> <uid>1</uid> <name>Lustrous Thrall's Ruined Gloves</name> <origin>Dropped/sold by 'ursine thrall' in 'Treibh Caillte' at locs 26k, 19k</origin> <position>GLOVES</position> <lastupdate>07.01.2007 18:14:49</lastupdate> <realm>Hibernia</realm> <level>34</level> <quality>90</quality> <bonus>20</bonus> <description>Item on Uthgard</description> <effect id="QUICKNESS">15</effect> <effect id="RES_CRUSH">5</effect> <effect id="HITPOINTS">20</effect> </item> <item> <weapon dps="16,5" speed="4,2">SLASH</weapon> <uid>3</uid> <name>Basalt Sword of Anarchy</name> <origin>Dropped/sold by 'Legion' in 'Darkness Falls' at locs 36k, 43k</origin> <position>WEAPONS</position> <lastupdate>07.01.2007 18:14:49</lastupdate> <realm>Albion</realm> <level>50</level> <quality>100</quality> <bonus>35</bonus> <description>Item on Uthgard</description> <effect id="SLASH">2</effect> <effect id="STRENGTH">15</effect> <effect id="QUICKNESS">15</effect> <effect id="RES_MATTER">7</effect> </item>
And I'm trying to get the results as:
Lustrous Thrall's Ruined Gloves (Scale) - Lvl: 50, Qual: 90, AF: 66 - Quickness: 15, Crush Resist: 5, Hits: 20 - Dropped/sold by 'ursine thrall' in 'Treibh Caillte' at locs 26k, 19k
Basalt Sword of Anarchy (Slash) - Lvl: 50, Qual: 100, DPS: 16.5, Spd: 4.2 - Slash: 2, Strength: 15, Quickness: 15, Matter Resist: +7 - Dropped/sold by 'Legion' in 'Darkness Falls' at locs 36k, 43k
Not sure if this is possible, or if anyone wants to help out, but just thought I'd ask... thanks in advance!
Or if anyone knows how to bring it up on php I can just use sockets... once again, thanks!