Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-17-2016, 08:43 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,604
Default

Quote:
Originally Posted by image View Post
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.
The check above all that reward stuff checks for nullptr and if the killer is a client. So assuming that the line you posted is the proper syntax, that's all he should have to add.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:28 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3