Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-03-2019, 08:40 PM
phantomghost
Hill Giant
 
Join Date: May 2015
Posts: 126
Default Adding ^petremove command for other bots with pets

Not sure if anybody would want this, but I have been meaning to do this for awhile, so figured I would post it in the event someone else had any interest.

Eventually, bots (shamans and beastlord etc.) as they level, they do not re-summon a new pet, they keep it until the zone is #repop or you have the bot run and die with the pet.


Without knowing much of what needs to be changed, the existing ^petremove command can be easily added to other classes.

Line 7432 of bot_command.cpp
Code:
uint16 class_mask = (PLAYER_CLASS_DRUID_BIT | PLAYER_CLASS_NECROMANCER_BIT | PLAYER_CLASS_ENCHANTER_BIT);
Change to:

Code:
uint16 class_mask = (PLAYER_CLASS_DRUID_BIT | PLAYER_CLASS_NECROMANCER_BIT | PLAYER_CLASS_BEASTLORD_BIT | PLAYER_CLASS_SHAMAN_BIT | PLAYER_CLASS_ENCHANTER_BIT);
Recompile and it should allow ^petremove command to work for other classes.

Bst and sham in this case would be able to kill their pet, then just ^camp the bot and invite again and they will re-summon the higher level spell.

Necro, enchanter and druid always had this option. Mage you can add to as well, but setting their pet type will force them to re-summon anyway.
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 07:04 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3