Default Map Changer
12 Attachment(s)
Default Map Changer
Description: Changes the map to default if the server is empty. There are a lot of auto map changers out there but none of them did what I wanted. This is a very simple default map changer with no cvars or timers. Most server operators set their startup map to the servers most common or default map. This plugin uses the server's first start map as the default. If the server empties out the map will be changed back to default. Features: - Uses your server's first start map as default. - Keeps the server from changing maps if mp_timelimit has expired and a player connects. - Compatible with SourceTV. - Compatible with Counter-Strike: Global Offensive. Installation: Copy the plugin to your addons/sourcemod/plugins folder and restart the server. Changelog: Code:
05/09/12 - Version 2.5 |
Re: Default Map Changer
Simple = good, so good job.
How long the server must be empty for plugin to change the map? Maybe there should be a Cvar for emptyness time? |
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Code:
27-10-10 |
Re: Default Map Changer
Does this work if there are no players, but bots in your server?
|
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Force Mission Changer cant use in same time.if player finish final map always change servers starup map (default map)
cant auto change next map(have player in server.server is not idel). |
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Quote:
if player non stop play.use Force Mission Changer can auto change next map. if server is empty auto change starup map (default map) can help me do this?thanks because your plugin can help me fix "the passing" bug if all player in "the passing" leave.server change to idle have player join on this time.server will crash.get this error 5/ - survivor_bot: UTIL_SetModel: not precached: models/survivors/survivor_teenangst.mdl 5/ - survivor_bot: UTIL_SetModel: not precached: models/survivors/survivor_biker.mdl http://forums.steampowered.com/forum....php?t=1241279 |
Re: Default Map Changer
This might fix your problem. Everyone should update anyways.
06/11/10 - Version 1.2 - Fixed a bug where multiple map changes were requested. |
Re: Default Map Changer
11/11/10 - Version 1.3
- Fixed a bug where the map was not changed to default. |
Re: Default Map Changer
What should i change in source code if i want a "default map change" on min. 4 players?
Or can you please make it configurable? That would be fine, cause i cant find another working plugin for our server. :/ |
Re: Default Map Changer
Quote:
Code:
if(g_PlyrCount < 4) |
Re: Default Map Changer
Updated!
Code:
09/08/12 - Version 2.0 |
Re: Default Map Changer
Stupid question but I have to ask.
What about if the server got empty in the default map, will it reload the map again? I am asking this because I am running a MvM server and after get empty need change the map to kick the bots. Thank you. |
Re: Default Map Changer
6 Attachment(s)
Quote:
|
Re: Default Map Changer
Updated!
Code:
27/08/12 - Version 2.2 |
Re: Default Map Changer
Quote:
TY |
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Updated!
Code:
29/08/12 - Version 2.3 |
Re: Default Map Changer
Sorry for all the updates, one of my changes had unforeseen consequences. It should be stable and working now. Everyone running this should update to the latest version.
Updated! Code:
29/08/12 - Version 2.4 |
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Updated!
Code:
05/09/12 - Version 2.5 |
Re: Default Map Changer
Anyone using this should update to the latest version.
|
Re: Default Map Changer
could you explain what you mean by this "Uses your server's first start map as default" Is it the map written in the commandline to start the server or the first map in the mapcycle.txt.
|
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
Assuming I don't have to set anything up this plugin doesn't seem to work on TF2 on any of my servers. I don't run bots or anything of that nature, but I test it out myself on several occasions where I changed the map from the default load map and joined then left. Even after an hour it didn't trigger to go back to the start map
|
Re: Default Map Changer
Quote:
You should not be able to change the map when the server is empty. It would immediately change back to default. You would only be able to join the server, change the map, then leave, if you wanted to test it properly. It does work with TF2, I know of a few people using it. |
Re: Default Map Changer
running linux GO server.. v2.5.. if you unload the plugin and then change maps, the plugin gets reloaded and that map becomes your new default map.. I actually like this; being able to change it without shutting down the server :)
|
Re: Default Map Changer
I like this plugin, but could you added at least 1 minute for the map change time limit, becuase i always use the changelevel command in the server console before connected to the server.
|
Re: Default Map Changer
mod the source yourself.. or just sm_map <newmap> when your in game.. why would you ask him to change it just for yourself, how selfish ;]
|
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
It doesn't work either way. you have to start up with +map and never use the host_workshop_collection, once you do its theirs :(
|
Re: Default Map Changer
2 Attachment(s)
Quote:
PS. For those who can't mod plugins themselves to change or remove the delay change CreateTimer(60.0, ChangeMap) on line 91 to CreateTimer(0.1, ChangeMap) for example. To change the minimum players needed for the map to be set back to the default change #define MIN_PLAYERS 1 on line 5 to #define MIN_PLAYERS 4 for example. After your edits use this to compile the plugin: http://www.sourcemod.net/compiler.php EDIT: Apparently doesn't work correctly with workshop maps, meaning the default map can only be set as a non-workshop one. |
Re: Default Map Changer
I have a problem.
sm_defaultmap "/125488374/de_dust2_se" When there are no players on the server, the map is constantly changing. Approximately every 5-10 seconds. |
Re: Default Map Changer
Quote:
|
Re: Default Map Changer
In reply to allienaded's EDIT.. the plugin works fine for workshop maps... his cvar does not..
|
Re: Default Map Changer
Simple and effective, I like :)
|
All times are GMT -4. The time now is 05:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.