Raised This Month: $51 Target: $400
 12% 

[TF2] Bot Manager


Post New Thread Reply   
 
Thread Tools Display Modes
RocketFish
Junior Member
Join Date: Jul 2014
Old 02-21-2015 , 11:51   Re: [TF2] Bot Manager
Reply With Quote #91

Quote:
Originally Posted by Dr. McKay View Post
I guess it would help if I pushed the commit, wouldn't it?


thanks! I thought I was missing some new repository you were using, all the usual sites were't yielding the new version.
RocketFish is offline
pmgpriebe
Junior Member
Join Date: Jan 2015
Old 02-24-2015 , 06:57   Re: [TF2] Bot Manager
Reply With Quote #92

My bots just kinda sit in the spawn after I created the .nav file offline and uploaded it. Do I need to edit my .nav file to get them to leave the spawn area?

Last edited by pmgpriebe; 02-24-2015 at 07:19.
pmgpriebe is offline
Disrupted_Hunter
Member
Join Date: Apr 2012
Old 03-14-2015 , 13:05   Re: [TF2] Bot Manager
Reply With Quote #93

Every time my bot count changes, my chat gets flooded with text saying that sv_tags has been changed. It spams it about 4 or so times
Disrupted_Hunter is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-14-2015 , 14:26   Re: [TF2] Bot Manager
Reply With Quote #94

Quote:
Originally Posted by Disrupted_Hunter View Post
Every time my bot count changes, my chat gets flooded with text saying that sv_tags has been changed. It spams it about 4 or so times
You can thank Valve for that. Install Tidy Chat or something.
__________________
Dr. McKay is offline
RocketFish
Junior Member
Join Date: Jul 2014
Old 03-20-2015 , 13:56   Re: [TF2] Bot Manager
Reply With Quote #95

I'm seeing odd behavior with quota. At least I think it is odd, perhaps I'm recalling a time before I used this module.

So, here are the settings I'm using related to player numbers/bots:
Code:
on startup I'm using +maxplayers 18

in server.cfg:
sv_visiblemaxplayers 16
sm_bot_quota 12
sm_bot_on_team_only 1
sm_bot_game_logic 0
sm_bot_supported_map 1
sm_bot_join_after_player 0
What I'd like to see is when teams are unbalanced by 1 or more, to remove or add bots as needed.

Example of 6 bots on each team. I will join red. Red bot leaves. Teams are balance, 6 bots on blue, 5 bot + 1 human on Red. If I switch teams and jump over to Blue, the bots do not change, so now there are 6 blue bots + 1 human against 5 red bots.

I could swear at one point this was changing as I expected and if I switched teams it would auto-balance again.

Am I missing a cvar or perhaps a module that would handle this?
RocketFish is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-20-2015 , 14:24   Re: [TF2] Bot Manager
Reply With Quote #96

Quote:
Originally Posted by RocketFish View Post
I'm seeing odd behavior with quota. At least I think it is odd, perhaps I'm recalling a time before I used this module.

So, here are the settings I'm using related to player numbers/bots:
Code:
on startup I'm using +maxplayers 18

in server.cfg:
sv_visiblemaxplayers 16
sm_bot_quota 12
sm_bot_on_team_only 1
sm_bot_game_logic 0
sm_bot_supported_map 1
sm_bot_join_after_player 0
What I'd like to see is when teams are unbalanced by 1 or more, to remove or add bots as needed.

Example of 6 bots on each team. I will join red. Red bot leaves. Teams are balance, 6 bots on blue, 5 bot + 1 human on Red. If I switch teams and jump over to Blue, the bots do not change, so now there are 6 blue bots + 1 human against 5 red bots.

I could swear at one point this was changing as I expected and if I switched teams it would auto-balance again.

Am I missing a cvar or perhaps a module that would handle this?
This plugin doesn't do that. Do you have mp_teams_unbalance_limit set to 0 or >1? If it's set to 1 it shouldn't allow you to join a team if doing so would put the teams out of balance (iirc). This forces you to join spectate first, which properly triggers Bot Manager to add/remove bots.
__________________
Dr. McKay is offline
RocketFish
Junior Member
Join Date: Jul 2014
Old 03-21-2015 , 01:45   Re: [TF2] Bot Manager
Reply With Quote #97

Quote:
Originally Posted by Dr. McKay View Post
This plugin doesn't do that. Do you have mp_teams_unbalance_limit set to 0 or >1? If it's set to 1 it shouldn't allow you to join a team if doing so would put the teams out of balance (iirc). This forces you to join spectate first, which properly triggers Bot Manager to add/remove bots.
my face is red.. apparently I failed on an edit at some point and mp_teams_unbalance_limit was... 10.

talk about stacking the team. sorry to waste your time on this, but thank you for pointing me in the correct direction.
RocketFish is offline
pilger
Senior Member
Join Date: Sep 2010
Old 04-09-2015 , 08:40   Re: [TF2] Bot Manager
Reply With Quote #98

Hey Doc, I was looking at the code and I can't really figure out why did you create a timer which fires every 0.1 seconds to check the bot situation. Wouldn't it be better to hook the events related to players joining or changing teams and react to those instead?

Doesn't this 0.1 loop timer consumes more resources?

Not trying to disprove you or anything. Since you're more experienced programmer than me, I'd like to know why did you do that. Maybe I'm doing things the wrong way here.
__________________
pilger is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 04-09-2015 , 23:55   Re: [TF2] Bot Manager
Reply With Quote #99

Quote:
Originally Posted by pilger View Post
Hey Doc, I was looking at the code and I can't really figure out why did you create a timer which fires every 0.1 seconds to check the bot situation. Wouldn't it be better to hook the events related to players joining or changing teams and react to those instead?

Doesn't this 0.1 loop timer consumes more resources?

Not trying to disprove you or anything. Since you're more experienced programmer than me, I'd like to know why did you do that. Maybe I'm doing things the wrong way here.
It was just an easier way to do it and the performance hit is negligible.
__________________
Dr. McKay is offline
MlG M8O
Junior Member
Join Date: May 2015
Old 05-31-2015 , 17:05   Re: [TF2] Bot Manager
Reply With Quote #100

BOT 99CCFFPancake Man has left the game
BOT 99CCFFPancake Man has left the game
BOT 99CCFFFem-Spy has left the game
BOT 99CCFFFem-Spy has left the game
BOT FF4040Vagineer has left the game
BOT FF4040Vagineer has left the game
BOT 99CCFFPootis Man has left the game
BOT 99CCFFPootis Man has left the game
BOT FF4040Seeldier has left the game
BOT FF4040Seeldier has left the game
BOT FF4040Seeman has left the game
BOT FF4040Seeman has left the game
BOT 99CCFFDashboy has left the game
BOT 99CCFFDashboy has left the game
BOT FF4040Piss Cakehole has left the game
BOT FF4040Piss Cakehole has left the game
BOT 99CCFFSpencer Pootis has left the game
BOT 99CCFFSpencer Pootis has left the game
BOT FF4040Christian Brutal Sniper has left the game
BOT FF4040Christian Brutal Sniper has left the game
BOT 99CCFFHeavydile has left the game
BOT 99CCFFHeavydile has left the game
BOT 99CCFFIntelligent Heavy has left the game
BOT 99CCFFIntelligent Heavy has left the game
BOT FF4040Spyper has left the game
BOT FF4040Spyper has left the game
BOT 99CCFFSny has left the game
BOT 99CCFFSny has left the game
BOT FF4040Saxton Hale has left the game
BOT FF4040Saxton Hale has left the game
BOT FF4040Weasel Cake has left the game
BOT FF4040Weasel Cake has left the game
BOT 99CCFFDoomspy has left the game
BOT 99CCFFDoomspy has left the game
BOT 99CCFFBaby Pyro has left the game
BOT 99CCFFBaby Pyro has left the game
BOT FF4040Dic Soupcan has left the game
BOT FF4040Dic Soupcan has left the game
BOT FF4040Ass Pancakes has left the game
BOT FF4040Ass Pancakes has left the game
[
Why does this happen?
MlG M8O is offline
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 21:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode