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

[L4D2] Server shutdown on team leave ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GM-Scorp
Senior Member
Join Date: Jun 2009
Location: netherlands
Old 01-07-2010 , 16:37   [L4D2] Server shutdown on team leave ?
Reply With Quote #1

people are complaining about the fact that the
server shutsdown after the whole enemy team
leaves the server

can anything be done to keep the server running
when the whole team leaves

so they can wait until
new players join

some say no new players wil join
but i've seen people join during a game

it just bad luck if the whole team leaves and the server shuts down
most people just wanna wait for new peopel
or wanna be able to invite somefriend to join
without having to start a new Game

and chance that a plugin can bypass the server shutdown ?



Sorry for my bad english
__________________
GM-Scorp is offline
Send a message via MSN to GM-Scorp
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 01-07-2010 , 17:52   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #2

Just add to the server.cfg:
Quote:
sb_all_bot_team 1
This will prevent that the server will go in hibernation, if people are on the server or not.
__________________
DieTeetasse is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 01-07-2010 , 19:13   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #3

dont forget the sm_cvar
__________________
triggerman is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 01-08-2010 , 00:00   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #4

sm_cvar was made to allow certain admins to change cvar values. From console you can set cvars like DieTeetasse has.
__________________
Greyscale is offline
Unsichtbar
Member
Join Date: Oct 2007
Old 01-08-2010 , 11:23   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #5

I was looking for the same plugin as GM-Scorp. I guess the problem with sb_all_bot_team is that server will stay "in use" after the server is empty. Is there a solution to prevent the server shutdown if only one side left the game?
__________________

Unsichtbar is offline
Big Myke
Senior Member
Join Date: Jan 2009
Location: Grain Belt, USA
Old 01-08-2010 , 11:41   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #6

sm_cvar sb_all_bot_team 1 Does not work for me in L4D2.
__________________
Successful Pluggins that I've Requested.
[L4D2]Blind Luck | [L4D2]Laser Sight Crosshair Removal
Big Myke is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 01-08-2010 , 12:36   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #7

sb_all_bot_team 1 is working fine for me, when i am alone on the server to test things in versus mode. Otherwise the server kicks me in L4D2.

Maybe it is possible to prevent the shutdown when one team left. If we check on OnClientDisconnect() if there are any people left in the leavers team and if not, we create a fake client and switch him to the team. Just an idea. ;)
__________________

Last edited by DieTeetasse; 01-08-2010 at 12:38.
DieTeetasse is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 01-08-2010 , 19:16   Re: [L4D2] Server shutdown on team leave ?
Reply With Quote #8

AtomicStryker's survivor AI fix for LFD2 will unintentionally stop the server from shutting down in versus with no one on another team if sb_all_bot_team isn't working.

http://forums.alliedmods.net/showthread.php?t=110708

Last edited by SkaP; 01-08-2010 at 19:36.
SkaP 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 15:34.


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