Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-29-2009, 01:48 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default pet dies when caster becomes invisible

I want to modify pets in a variety of ways..to make them function as they originally did on live.

I am new to making custom changes, so the methods I use are probably not correct at all.

#1. Pets die when their caster becomes invisible/hidden.

What is the correct way to go about this? I tried using SetPet(0) in attack.cpp, but no change.. probably because I don't know what I'm doing


#2. Pets die when their owner zones

I received errors when trying to use SetPet in client.cpp

#3. When an npc dies, its pet remains and fights until death.
I wasn't entirely sure where to find this. Only thing I found was in attack.cpp.

^ Results : Same as above

Any knowledge about how to make this work will be appreciated by the npcs of norrath.
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 10:21 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