.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   Problem with fill server (for me atleast) (http://forums.bots-united.com/showthread.php?t=1189)

kron!c 28-03-2004 01:33

Problem with fill server (for me atleast)
 
Hi

I've been using the PODBOT re-release for 1.6 for awhile now with no problems. However, recently i updated the version i was using and now i can only fill the terrorist side using the fillserver cmd. When i attempt to fill the ct side it seems to autobalance or atleast add the bots randomly to either side. I have of course got mp_limitteams 0 and mp_autoteambalance 0.

Any ideas?

Thanks

Pierre-Marie Baty 28-03-2004 19:34

Re: Problem with fill server (for me atleast)
 
Thanks for the information, yes there was a bug with my new team selection code, sorry for that :)

In the BotStartGame() function, the line
Code:

          if ((pBot->bot_team > 1) || (pBot->bot_team > 2))
                pBot->bot_team = 5;

should have been
Code:

          if ((pBot->bot_team < 1) || (pBot->bot_team > 2))
                pBot->bot_team = 5;

I code too fast :(

The bug is now fixed, and the fix will be included in the next release of the bot.


All times are GMT +2. The time now is 01:30.

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