NPC Loot bugfix
This is to correct corpses from poofing even when you leave items on the corpse. It's just a check to see if the loot count is zero.
client_process.cpp - line(1226) - OP_EndLootRequest handler Code:
APPLAYER* outapp = new APPLAYER; |
Another looting-related bug I noticed is when you loot more than one stackable item of the same type (e.g 2 bat wings) from the same corpse, the zone server crashes. If you just loot one of each type it doesn't crash, even if you already have items of that type in your inventory.
Also - though this isn't really a major issue since #spawn is meant only for testing - if a NPC created with #spawn has stackable items in its randomly-generated inventory, the stacks always contain 0 items. When you loot them, though, they still take up space in your inventory even though they don't show up. Anyway, good work with fixing that "disappearing corpse" bug though. |
I'll take a look at that. All sounds related to the lootlist. I crashed last night testing this out and couldn't reproduce but now that I think about it, it was 2 items of the same type.
|
All times are GMT -4. The time now is 11:47 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.