[L4D2]A plugin that prevents empty server running 3rd party map
1 Attachment(s)
A lot dedicated servers have this problem:
The server no longer has player but it is still running a 3rd party map, this prevents people without the specific 3rd party map from joining the server. This plugin checks the map name and number of online player, if the above condition keeps for more than 5x12 seconds, then change the map to default official map(c1m1_hotel). checking intervals and default official map are hard coded, modifications are only possible by modifying the source and recompiling it. Source code and smx file are available. Possible improvements: Check the map and number of players when a player leaves the server? |
Re: [L4D2]A plugin that prevents empty server running 3rd party map
Terrible plugin and it's not allowed to post .smx files, change the .txt file into .sp with winrar or just change the name and it will automatically compile.
|
Re: [L4D2]A plugin that prevents empty server running 3rd party map
I'll test this, that's a good idea.
I used one that changed to map a specific regular map when the server was empty. But this changes only when it is in custom map, it looks good to me. |
Re: [L4D2]A plugin that prevents empty server running 3rd party map
Works very well, thanks.
|
Re: [L4D2]A plugin that prevents empty server running 3rd party map
I made another plugin, Improved Automatic Campaign Switcher, which offers a similar function but more flexible.
|
Re: [L4D2]A plugin that prevents empty server running 3rd party map
You should just use onclientdisconnect_post, and a non-repetitive timer of x seconds before changing back to c1m1_hotel.
|
Re: [L4D2]A plugin that prevents empty server running 3rd party map
Quote:
I have fixed this problem in Improved ACS, the detection now uses onclientdisconnect() https://forums.alliedmods.net/showthread.php?t=308708 And this feature can be turned off by setting a ConVar |
Re: [L4D2]A plugin that prevents empty server running 3rd party map
Why have i not done this? :O
Gj on making this :3 |
Re: [L4D2]A plugin that prevents empty server running 3rd party map
i tried to use the plugin but its not working
|
All times are GMT -4. The time now is 13:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.