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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-29-2016, 06:55 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

https://github.com/EQEmu/Server/blob.../bot.cpp#L3880


It's still too vague to determine what the actual cause is.

Group is taken from the bot owner - who should be leader in that case.

And the code that follows can only be accessed if the conditions that appear to lead to the crash are true. (The access of 'g->GetLeader()->GetID()' would crash if 'g' or
'GetLeader()' were nullptr..but, they're not. They could have been recently deleted..but, that type of diagnosis requires a hands-on testing.)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #2  
Old 05-14-2016, 11:39 AM
ponyboy_nd32
Fire Beetle
 
Join Date: Jun 2015
Posts: 4
Default

I was running into this same issue, however I did not receive a crash or anything when I zoned or died. The bots would simply despawn and I would have to respawn them.

After some investigation, I was able to fix the zoning issue by commenting out the the Depop(); line in:

https://github.com/EQEmu/Server/blob.../bot.cpp#L6960



I was also able to prevent my bots from despawning when I die with a couple other changes. Now when I die, my bots do not despawn but instead my group gets disbanded and my bots zone to my bind spot with me.

What I would like to happen is that when I die my bots stay where they are and continue to fight until they die also or better yet win. That way when I die they could Rez me to where we they are (assuming they didn't die also) and I wouldn't have to run back. I'm not sure if this is possible since looking at the code it seems that anytime the client zones the bots zone along with them.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:54 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