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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2020, 02:23 AM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default Bot spawn limit

So I've deployed a new windows server of Akk's auto install + bots.

In my ruleset I have Bots:SpawnLimit set to 1; and it works...sorta.

Once you zone, another bot from your bot list automagically appears. So now you have two bots.

The rule set works if you try to spawn another bot manually, I get the message "You may only have one bot spawned at a time." But where is this other bot coming from after you zone?

It doesn't matter where you zone, the other one just shows up to party.

How can I fix this?
Reply With Quote
  #2  
Old 05-12-2020, 01:29 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

- Did you ever have this second bot spawned?

- Have you restarted your server since changing the rule?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 05-12-2020, 06:34 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

Quote:
Originally Posted by Uleat View Post
- Did you ever have this second bot spawned?

- Have you restarted your server since changing the rule?
To your first question, you mean prior in another session? Yes, but probably never properly despawned; just a simple /camp command was issued while still spawned. If that's the case, I can't see many folks issuing a despawn command before logging off. But in terms of the same session, no; I can simply login, do a ^botlist, click one to spawn and then I'm in good shape. Once I zone with the bot I just spawned; the one from the top of the botlist spawns along with the one I just chose from the list.

And yes, server has been restarted.

It's almost as if some sorta bot count check isn't happening or calculated correctly on zoning.

Any other ideas?
Reply With Quote
  #4  
Old 05-13-2020, 06:04 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Still trying to figure out where this is happening...

Did you happen to change the rule with the extra bot spawned?


EDIT:

It should be looking at database entries for bots to spawn after zoning.

That would mean that something didn't clean itself up after the change.


EDIT2:

Try issuing a ^camp command to the bot in question to see if that clears it.
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 05-13-2020 at 06:16 PM..
Reply With Quote
  #5  
Old 05-13-2020, 11:10 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

I don't believe I changed the ruleset with the bot spawned; I could be wrong on that but as far as I remember there were no active logins at the time. And, the issue is not unique to my account. A couple other players also noticed this oddity. This is using the RoF2 client as well. I have not tried any other client yet.

I tried changing the bot spawn limit to 0 just to see if a bot would spawn on zoning and it didn't. I'll keep poking around with it.
Reply With Quote
  #6  
Old 05-14-2020, 12:18 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

Uleat, I *might* be on to something.

If you create a bot and then subsequently delete that bot because maybe you accidentally created the wrong race/class/gender etc; then, you proceed to create another bot with the same name as the now freshly deleted bot; THAT new bot is the one that decides to show up on zoning; that is, if you don't already have that specific bot spawned.

This is the only correlation that players on my server can make so far in terms of when this is happening; however, if you look at the bot_data table there's only one instance of the bot(s) in question that exist. So again, perhaps some cleanup isn't happening somewhere when a bot is deleted and then subsequently recreated with the same name.

Thoughts?
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 11:36 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