PDA

View Full Version : Drawde: bugs in your DB addons


Shawn319
02-19-2002, 02:45 AM
I found that if u zone into Qeynos2 and crashbone (probabaly alot of other zones too) i get tons of loottable errors in zone.exe. heres a sample

Error in AddLootDropToNPC: dbitem=0, item#=4004, lootdrop_id=28
Error in AddLootDropToNPC: dbitem=0, item#=4004, lootdrop_id=28
Error in AddLootDropToNPC: dbitem=0, item#=1683, lootdrop_id=48
Error in AddLootDropToNPC: dbitem=0, item#=1201, lootdrop_id=48
Error in AddLootDropToNPC: dbitem=0, item#=1201, lootdrop_id=48
Error in AddLootDropToNPC: dbitem=0, item#=1683, lootdrop_id=48
Error in AddLootDropToNPC: dbitem=0, item#=1683, lootdrop_id=48
Error in AddLootDropToNPC: dbitem=0, item#=3156, lootdrop_id=11


Also alot of the NPC's in Soldungb and Sebilis (probably alot of other zones too) are at 0 0 0 (i am guessing thay have wrong z coords).


I'll keep ya updated with any other findings.

Minara
02-19-2002, 05:51 AM
That's a function of your item db.. or lack thereof :)

Zeitgeist
02-19-2002, 09:12 AM
yes which has Drawde's lootdrop info in it.

Shawn319
02-19-2002, 10:53 AM
If he is adding items i dont have then he should add updates for item tables too =\

Drawde
02-19-2002, 10:32 PM
I'll look into fixing those loot table bugs, not sure what's causing them though. I noticed that error message before but couldn't find any way of getting rid of it. All those items in the error list seem to be in the DB - 4004 for example is a plate breastplate. The DB entries that are giving the errors don't seem to have any typos in them.
The only thing I can think of is that it's caused by NPCs getting two items of the same equipment type - two breastplates or gauntlets, for example - and not being able to equip both. But I didn't think there was any NPC equipping code yet?

A lot of dungeon zones, particularly the Lavastorm ones, have bad Z coordinates, this is still something I really need to fix (the "bad zone" problem has slowed me down a bit)