View Single Post
  #5  
Old 08-17-2016, 07:36 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

The problem is we never pass an AddLooter for the player that killed their PC target (this allows CanMobLoot to pass):

https://github.com/EQEmu/Server/blob...tack.cpp#L1474

need something along the lines of

new_corpse->AddLooter(killerMob);

the catch is killerMob doesn't check for owner -- so if a client pet comes in this won't trigger you have to get the owner of killermob if it is available and replace it.

Also AddLooter doesn't properly handle NULL, so make sure killerMob is a valid pointer.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote