To get all the raw item data I scraped the site. Lucy organizes it's database such as:
etc.,
So I just used a program that grabbed the html source for each item's raw data and parsed the HTML into a database file the has the raw data listed such as:
Code:
<ITEM:1001>
AkzID = 1395
aagi = 0
ac = 2
accuracy = 0
acha = 0
adex = 0
aint = 0
asta = 0
astr = 0
attack =
aug1type = 7
aug2type = 0
aug3type = 0
aug4type = 0
aug5type = 0
augres = 0
augvalue = 0
avoidance = 0
awis = 0
bagsize =
bagslots =
bagtype =
bagwr =
banedmgamnt2 =
banedmgamt = 0
banedmgbody = 0
banedmgrace = 0
bardtype = 0
bardvalue = 0
booktype =
casttime = -1
charmfile = 0
classes = 65535
color = 0
combateffects = 0
cost = 200
cr = 0
damage = 0
damageshield =
deity = 0
delay = 0
dmgplusamnt = 0
dmgplustype = 0
dotshielding = 0
dr = 0
effecttype = 0
elemdmgamt = 0
elemdmgtype = 0
endur = 0
factionamt1 = 0
factionamt2 = 0
factionamt3 = 0
factionamt4 = 0
factionmod1 = 0
factionmod2 = 0
factionmod3 = 0
factionmod4 = 0
filename =
focusid = 0
fr = 0
gmflag = 0
haste =
hp = 0
icon = 639
id = 1001
idfile = IT63
itemclass = 0
itemtype = 10
ldonprice = 0
ldonsold = 0
ldontheme = 0
level = 0
light = 0
lore = Cloth Cap
magic = 0
mana = 0
manaregen =
material = 0
maxcharges = -1
mr = 0
name = Cloth Cap
nodrop = -1
norent = -1
pr = 0
procratemod = 0
races = 32767
range = 0
reclevel = 0
recskill = 0
regen =
reqlevel = 0
shielding = 0
size = 1
skillmodtype = 0
skillmodvalue = 0
slots = 4
spellid = -1
spellshield = 0
stackable = 0
strikethrough = 0
stunresist = 0
tradeskills = 0
tribute = 0
unknown230 =
unknown264 = 0
unknown296 = 0
unknown298 = 0
unknown300 = 0
unknown302 = 0
unknown304 = 0
unknown306 = 0
unknown308 = 0
unknown310 = 0
updated = 2004-03-21 21:43:28
weight = 2
Now I just need to parse that out so that I can return items that are usable by a certain class and filter out which slot(s) the item is assigned to.
Btw, what would the value be assigned to for usable classes? I see race, which is self-explanatory, and I see slots, which is self-explanatory (although I don't understand the algorythm for it yet), but I just need a little help figuring out how to parse it all.
Thanks again for any responses.