Possible divide by 0 unhandled in AddLootDropToNPC
Not sure if this should be posted here or on projecteq since its a database issue unhandled by code. I noticed this happened in code and matching db revision 1410. In loottables.cpp in function (with non pool based looting enabled):
Code:
void ZoneDatabase::AddLootDropToNPC(NPC* npc,int32 lootdrop_id, ItemList* itemlist) Code:
// line 396: I fixed this by deleting rows in lootdrop_entries that had 0 value for the chance column. One example was ssratemple's shissar lorekeeper, if i recall correctly. |
Good catch on the 0% chances. I am fixing PEQ's database on this right now. There were 11 entries total as of the last database push.
|
All times are GMT -4. The time now is 01:46 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.