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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 07-03-2019, 10:00 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

https://github.com/EQEmu/Server/comm...0af938b91ac142

^petremove still sticks to charmed (temporary) pets.

^petgetlost removes all summoned types (mage, enchanter, beastlord, dragon fang summons, etc...)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 07-03-2019, 10:47 PM
phantomghost
Hill Giant
 
Join Date: May 2015
Posts: 126
Default

Ahh... just needed to update the server. Thanks.
Reply With Quote
  #4  
Old 07-03-2019, 11:38 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Thanks for posting that!

It was just blind luck that I added that when I did.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #5  
Old 08-27-2019, 01:09 AM
GM Ash
Fire Beetle
 
Join Date: Apr 2018
Posts: 8
Default

Quote:
Originally Posted by Uleat View Post
https://github.com/EQEmu/Server/comm...0af938b91ac142

^petremove still sticks to charmed (temporary) pets.

^petgetlost removes all summoned types (mage, enchanter, beastlord, dragon fang summons, etc...)
Undocumented command?

Meant to suggest ^petrelease, ^release for charmed pets

Then ^petremove, ^remove, ^petgetlost or just ^getlost could be aliases for forcing bots to resummon (presumably highest level pet available to them)

Also meant to inquire if level 51+ (or level 60+) Mage bots could have "epic" type pet in addition to earth, fire, air and water.

Thanks for reading
Reply With Quote
  #6  
Old 08-27-2019, 01:43 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Not sure what you mean by
Quote:
Undocumented command?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


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 08:50 AM.


 

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