.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Ideas
Ideas One idea per thread please! :)

Reply
 
Thread Tools
Different treatment of joining players
Old
  (#1)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Different treatment of joining players - 13-06-2004

Robert's worries, part 2: When a DS is configured to run 8 on 8 bot matches and a player joins, a bot will be kicked for the player to join (at least the way he has his DS configured). So far, so good.
However, the bot gets kicked before the player has fully connected and joined a team. So it could happen that a T bot gets kicked to make room for the joining player. Now the player has finished loading the map and decides to play as CT. As a result, there would be 9 CT against 7 T.
Now we wondered if it would be possible to force joining players into spectator mode first and keep all bots as active players - until the player has chosen a team to play for. Now a bot could be kicked from that very team to keep the teams balanced... impossible, possible or nonsense?



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Different treatment of joining players
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Different treatment of joining players - 13-06-2004

This is good idea, but I see some inconveniance. Imagine this situation: There is 14 bots on the server (7 on 7) and mp_maxplayers 16. 2 people connected and they decided to stay as spectators. No one bot is kicked. In this situation no one player more can connect (not free slots). How to solve this?

Last edited by KWo; 13-06-2004 at 18:29..
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#3)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Different treatment of joining players - 14-06-2004

Yes, this is the obvious downside. Now the question is "how likely is that to happen?" I mean, if players join a game server, do they want to spectate or do they want to play? And as soon as they start playing, bots do get kicked, and player slots are freed. But of course, the problem can't be denied.



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Different treatment of joining players
Old
  (#4)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Different treatment of joining players - 14-06-2004

but what if the server was a custom map server?
most people don't wait infront of the computer while they're dling a map or something..
they'll go away and do something else..
then when they get in game they're still idle and if the server is famous and lots of people go then the server will be filled with spectators and bots playing..
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#5)
Brainz
Member
 
Brainz's Avatar
 
Status: Offline
Posts: 270
Join Date: Jun 2004
Location: Nottingham, UK
Default Re: Different treatment of joining players - 14-06-2004

well, a solution to that would be to leave kick on player join as it is, but to modify the balance code, so if a bot is kicked to balance the teams, another is added unless this would unbalance the teams the other way.
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#6)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: Different treatment of joining players - 14-09-2004

Heyyo,

YES, this has been a constant prob with my lan parties when autobalance prevents me buds from joining my team cause there's already too many bots n' players on my team.. so I have to manually kick bots from my team n' add them again later to even the teams out... it's a little tedious, for for DS's where sometimes there's no admins it's annoying...

For specators? I'm sure there's a plugin that allows you to set how many rounds they can specate before getting kicked... I'm trying to find the plugin that if you get tked you can make the tker explode in 10 seconds... lol, ohh that plugin's a work of karma on the tker.

I think the best way for managing bots it to manage bots with respect to open slots. You know? like, instead of min/max bots, I'd go by leave 2 slots open kindof thing, and you could change how many slots to try n' leave open. I believe this idea was discussed before... I should've searched the forums first, but I've already written too much to turn back.


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)

Last edited by MarD; 14-09-2004 at 21:04..
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#7)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Different treatment of joining players - 15-09-2004

I think there is only one good way - add a new cvar - autobalancebots - to prevent You against manually kick some bot from some team and then adding manually a new one. This should work automatically. Without any admin intervention. But if I remember good some speak about adding cvars - I don't remember exactly why, but sPlOrYgOn doesn't like the idea to adding new cvars...
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#8)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: Different treatment of joining players - 15-09-2004

Quote:
Originally Posted by KWo
I don't remember exactly why, but sPlOrYgOn doesn't like the idea to adding new cvars...
Heyyo,

Lol, I think it's cause of all the extra work that goes into them. Also, I think he'd have to arrange the previously built code to prevent code overlapping (like at 1 part it's trying to add bots, another trying to remove the bots..) Cause I've already seen some code overlapping... Mine is after a mapchange, to a map with a small spawn count (eg. from de_dust to de_survivor), and I try to kick the spectating bots, n' it does kick one... but the rest instantly leap onto the terrorist team, lmao, sounds funny cause then it's 10 vs like 21... but with only 10 spawnpoints... your odds of living through spawn are 2nd to none cause it seems that players spawn before fakeclients... 8D


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#9)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Different treatment of joining players - 15-09-2004

About these spectacing bots - we need more info to reproduce this. What do You have: min_bots, max_bots in podbot.cfg? How are You adding bots to the game (addbot commands in podbot.cfg or some fillserver or how)? When You starting the server what the value are You putting as max_players? Try also with R2B42 if You still can see exactly the same effect.
  
Reply With Quote
Re: Different treatment of joining players
Old
  (#10)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: Different treatment of joining players - 15-09-2004

Heyyo,

what I did is comment out the addbot lines, and I tend to start off onna map like de_dust n' de_dust2 n' set the maxplayers to about 32 and all all bots by fillserver in the podbotmenu. N' then, after that map ends, it switches to my mapcycle.txt, which is de_survivor, and since the max amount of players by team is smaller (I think 10 per team), the rest of the bots just stay in spectator mode... n' when I use the kickbot command from the podbot menu on autoselect, n' it kicks 1 spectating bot, n' the rest just instantly leap on the Terrorist team (might be the podbot admin's team, dunno, I tend to be terrorist).


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com