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

How to ALWAYS have bots on my server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mr_cock
Member
Join Date: Sep 2018
Old 10-02-2018 , 12:40   How to ALWAYS have bots on my server?
Reply With Quote #1

Hi there!

I just opened my first server and since its now empty most of the time, I want to always have 4 bots on the server.

I already tried writing things like "bot_quota 4" in my gamemodes_server.txt aswell as this plugin: https://forums.alliedmods.net/showthread.php?t=195000

I also have this in my gamemodes_competetive.cfg:

bot_chatter off
bot_defer_to_human_goals 1
bot_defer_to_human_items 1
bot_difficulty 2
bot_quota 2
bot_quota_mode normal
bot_join_after_player" 0

Do I need:

sv_hibernate_when_empty 1?

At the end of this post, he says that a plugin isnt needed anymore:

https://forums.alliedmods.net/showthread.php?t=283744

also: when i type: exec gamemode_competetive
it says: couldnt exec gamemode_competetive

the file exists tho!

do i have to change the fileg amemode_competetive.cfg or gamemode_competetive_server.cfg?

Last edited by mr_cock; 10-02-2018 at 13:15.
mr_cock is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-02-2018 , 17:40   Re: How to ALWAYS have bots on my server?
Reply With Quote #2

https://developer.valvesoftware.com/...ual_server.cfg

Never edit the default configs as you might lose them when your server updates.

Only edit _server configs.
__________________
Neuro Toxin is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-03-2018 , 17:43   Re: How to ALWAYS have bots on my server?
Reply With Quote #3

but how do i make it so that they get executed automatically?
mr_cock is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-03-2018 , 17:55   Re: How to ALWAYS have bots on my server?
Reply With Quote #4

Quote:
Originally Posted by mr_cock View Post
but how do i make it so that they get executed automatically?
You don't, as it executes automatically already. Read the link Neuro Toxin provided. It executes every map change.
https://developer.valvesoftware.com/...ual_server.cfg

You only have to add it to your gamemode_*_server.cfg file (which you may need to create), you don't ever, for any reason at all, need to touch the gamemode_*.cfg.
* = casual, competitive, etc...
Maxximou5 is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-03-2018 , 18:15   Re: How to ALWAYS have bots on my server?
Reply With Quote #5

so gamemode_*_server.cfg overrides the other?
mr_cock is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-03-2018 , 18:17   Re: How to ALWAYS have bots on my server?
Reply With Quote #6

All server* configs override their predecessors as the execute last.
__________________
Neuro Toxin is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-03-2018 , 18:29   Re: How to ALWAYS have bots on my server?
Reply With Quote #7

thanks and sorry for the dumb questions!

i got another dumb one: i have 12 slots but always 2 bots on the server, which i want. in the community browser it says 0/9 tho as if I only had 9 slots!

Last edited by mr_cock; 10-03-2018 at 18:31.
mr_cock is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-03-2018 , 19:03   Re: How to ALWAYS have bots on my server?
Reply With Quote #8

You probably also have a GOTV, which takes a slot as well. Unfortunately, that's just how the browser operates.
Maxximou5 is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-03-2018 , 19:32   Re: How to ALWAYS have bots on my server?
Reply With Quote #9

ohh ye i do! thanks!
mr_cock is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 10-04-2018 , 02:03   Re: How to ALWAYS have bots on my server?
Reply With Quote #10

can add start up command -nobots
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
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:36.


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