.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   Max bots no longer working (http://forums.bots-united.com/showthread.php?t=2544)

Burnt Powder 28-08-2004 23:37

Max bots no longer working
 
I have and always had max_bots set to "8" and min_bots set to "0".

When there were 8 bots on the server and a real player joined, a bot dropped making it 7 bots and 1 real player. Since changing over to the latest beta dll last evening, the bots are never kicked when a real player joins and sometimes there are 8 bots and 12 real plays on the server when it should only be 12 real players an no bots.

Has something changed in this dll that is causing the bots to not be kicked like they were before when real players joined?

TIA

Burnt Powder 29-08-2004 04:30

Re: Max bots no longer working
 
Maybe this was just a fluke. The actual game server crashed (memory error >:( ) and when I brought it back up, it appears to be working like it always did (kicking bots when real players join).

Burnt Powder 29-08-2004 06:24

Re: Max bots no longer working
 
***UPDATE***

It is still doing it and I cannot seem to pinpoint it to one thing.

sPlOrYgOn 29-08-2004 06:38

Re: Max bots no longer working
 
don't worry I think I've fixed it.. It's an error on my part while trying to fix something else dealing with min_bots/max_bots
I'll probably release b42 sometime tomorrow (GMT -8 )

Burnt Powder 29-08-2004 06:47

Re: Max bots no longer working
 
Cool......it is good to know that it was not my configuration and it can be fixed. I have been racking my brain here trying to think if I changed anything other than the .dll when I replaced it the other night.

Thanks for the fast response. Take your time and thanks again!

-bp

Burnt Powder 30-08-2004 00:48

Re: Max bots no longer working
 
One other question/request.


The var in the podbot.cfg titled "pause" is for the server to pause before it executed anything in the pod config right?

Well when I start my server, I have pause set to "20" and it waits 20 seconds to start adding bots. When the map changes, it ignores that pause of 20 and instantly starts adding bots. This is not a problem unless there were that many real players on the server and they are getting kicked because "server is full".

Is there anyway to get that pause to work on map changes too?

sPlOrYgOn 30-08-2004 00:56

Re: Max bots no longer working
 
well it does work for map changes but..
those bots joining aren't joining because of the config they're joining because they were "saved" last map and are joining next map like real players.. who even likes this feature?

Burnt Powder 30-08-2004 01:52

Re: Max bots no longer working
 
For the reason I stated above, I do not like the "saved" feature.

Huntkillaz 30-08-2004 04:03

Re: Max bots no longer working
 
put an option in the cfg to turn it on\off that way everyone's happy :)

sPlOrYgOn 30-08-2004 05:44

Re: Max bots no longer working
 
it doesn't even work that well.. I don't see why anyone wants it.. it's not like this bot is the csbots or realbots where each name has it's own unique personality..
maybe I might remove it..
but an option to turn it off sounds nice so other people won't get mad :D

KWo 30-08-2004 10:57

Re: Max bots no longer working
 
Quote:

Originally Posted by Burnt Powder
Well when I start my server, I have pause set to "20" and it waits 20 seconds to start adding bots. When the map changes, it ignores that pause of 20 and instantly starts adding bots. This is not a problem unless there were that many real players on the server and they are getting kicked because "server is full".

I think You are talking about map change executing by command changelevel - then really this pause is not executed, because bot.dll doesn't know yet the changelevel was executed and then more bots are added instantly. Map before changelevel You had 0 bots and 28 players, map after changelevel You have 8 bots and 24 players - 4 players got kicked out - and this "saved" function in this case really doesn't work good. After reaching timelimit or maxround (I don't know what the system do You use) all should work OK with this "unwanted" by You feature.
But because recognizing the situation "the new map is started right-now" for bot.dll isn't any problem, I don't know exactly why this pause can't be used correctly :P

@sPlOrYgOn - when You totally remove this function (saving how many bots were at previous map), then all Your effort to prevent situation reported by another server-owner - making bot-server empty after map change - all this Your effort will be losed. :P

If the people are playing in some system - for example 10 on 10 at some map, and there is 6 players and 4 bots in both teams - after map change they want to play the same system (but only new map and maybe team change by people). But if this feature (saving bots from previous map) will be disabled, every time after map change they will need some admin to kick or add some bots. Now all is automated, so they can play without any admin intervention and the people are used to this (since PB2.0, maybe 1.4x - don't remember exactly). That's why the number of bots-players is "saved" to the next map. This is some PB-only feature. Removing it - it's like taking out something especially from this bot.

The problem is always the same - if something is too difficult to fix, lazy coders prefer rather remove this and forget about the problem, than fix. :D

I'm agree with Huntkillaz - temporary add rather some variable to "save" or "don't save" number of bots-players from previous map. But adding something to code is more difficult than delete something from it... :)

Burnt Powder 31-08-2004 05:17

Re: Max bots no longer working
 
I follow you KWo.

sPlOrYgOn 31-08-2004 05:20

Re: Max bots no longer working
 
hmm looks like I didn't read this...
KWo.. if I remove it they'll still join after a map change :D
your specification for the auto rejoin will work even after a map change and bots will join..

KWo 31-08-2004 07:30

Re: Max bots no longer working
 
Quote:

Originally Posted by sPlOrYgOn
KWo.. if I remove it they'll still join after a map change :D

I prefer first try this my-self. Please some beta only for me for test. Then - if all will be OK - we can officialy release it. I'm afraid it will work in different ways after changelevel and after reaching timelimit (or maxrounds).

Quote:

Originally Posted by sPlOrYgOn
your specification for the auto rejoin will work even after a map change and bots will join..

I didn't suppose it's so solid this specification :D

The problem can be this part of code saying - "if there isn't any bot at the server and the new map is started and nobody is there, then some bots should be added from podbot.cfg (addbot or fillserver commands)". Seems I really need to take a book to learn how to read C++ code at least... :)

Don't remove this part of code totally, but comment out only for tests. I think it can be for this moment useless. My specifications keeps number of bots-players on the server, so there shouldn't be that situation, that PMB was trying to prevent. Or maybe I'm wrong once again? Need test this.

Burnt Powder 07-09-2004 05:43

Re: Max bots no longer working
 
No pushing here what so ever (get to it when you get to it) but did anyone get a chance to look into this?

Thx Guys

BP

MarD 15-09-2004 18:53

Re: Max bots no longer working
 
Heyyo,

Did you try his latest release? R2.42? it's in the filebase (http://filebase.bots-united.com) under PODbot v2.6mm, cause if not he may have fixed it, n' you just havn't updated yet...

Quote:

Originally Posted by sPlOrYgOn
okay build 42 is out now.
hopefully fixed the min_bots/max_bots problem..
added new command "welcome_msgs" example "pb welcome_msgs off" to turn welcome messages off..
hopefully fixed problem with breakables and doors..

Well, maybe after a mapchange, it only turns back on the use of minbots/maxbots after like, 2 mins or so... then eveyone should be loaded up, n' the min/max bots shouldn't make anyone get kicked cause of "server is full", or try to load extra bots while the server's loading the "saved" bots.

Burnt Powder 15-09-2004 23:38

Re: Max bots no longer working
 
Yes I was running vR2b42 dll that is dated 8/29/04 when I posted the original message and after these guys replied back stating they know about this issue.

I see that the latest beta version at the link you gave me and also at this link
http://filebase.bots-united.com/pafi...on=file&id=187 is dated 7/26/04 ???:( ???:( ???:(

Was the version I am using pulled?

sPlOrYgOn 17-09-2004 03:39

Re: Max bots no longer working
 
thats the date I added that file to the file base..
but not the date I edit the file :D
so you were getting these issues in b42..
I'll see what I can find/do..


All times are GMT +2. The time now is 23:57.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.