Map Rotation Broken

Post Reply
littlevixie
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Aug 28, 2012 12:26 pm

Map Rotation Broken

Post by littlevixie »

First off, let me thank NFO for having great, smooth and fast servers :) ... love renting from you guys.

As for my problem, I have given up trying to read tutorials and trial and error'ing this.

I want my server to rotate maps. It doesn't on it's own, even when the server is full. The problem is, when I do 'sm_mapvote (or votemap, forget which), it gives users the list and the list shows maps I've never even seen or heard of. Like: lake, dust_se, etc. But I want only the basic, Aztec, Inferno, Dust2 and etc, to show up for vote and I've put that in my 'maplist.txt.' -

Code: Select all

cs_office
cs_mansion
cs_backalley_go
de_aztec
de_dust
de_dust2
de_inferno
de_nuke
de_train
Now, when users choose the map (say Aztec) and it wins the vote. It DOES switch to Aztec, but it will say 'nextmap - train' or 'loading train' etc.

So, here are my gamemodes.txt and gamemodes_server.txt thing lol -

Code: Select all

					// Map groups for online modes
					"mapgroupsMP"
					{
						"mg_bomb"		""
						"mg_hostage"		""
						"mg_dust"		""

					}
				}
	
				"competitive"
				{
					"value"			  	"1"
					"nameID"		  	"#SFUI_GameModeCompetitive"
					"descID"		  	"#SFUI_GameModeCompetitiveDesc"
					"matchmakingvalue"	"competitive"
					"uid"				"2"
					"maxplayers"			"10"
				
					// These are the descriptive ui elements to display in the information box on.
					// These key/values should be pairs of strings.  The "key" will appear in the left
					// column, the "value" will appear in the right column.
					"ui"
					{
						"0"		{ "label" "#SFUI_CashColon"				"value" "$800" }
						"1"		{ "label" "#SFUI_WinMatchColon"			"value" "30 #SFUI_Rounds" }
						"2"		{ "label" "#SFUI_TimePerRoundColon"		"value" "2 #SFUI_Minutes" }
						"3"		{ "label" "#SFUI_BuyTimeColon"			"value" "45 #SFUI_Seconds" }
						"4"		{ "label" "#SFUI_SpectateColon"			"value" "#SFUI_SpectateTeamOnly" }
						"5"		{ "label" "#SFUI_BotsColon"				"value" "#SFUI_BotDifficulty3" }
					}

					// These are the convars that get setup when a game mode of this type is created.			
					"convars"
					{
						"bot_quota_mode"					"fill"
						"bot_quota"						"10"
						"bot_defer_to_human_items"			"1"
						"bot_defer_to_human_goals"			"1"
						"bot_difficulty"					"2"
						"bot_dont_shoot"					"0"
						"bot_chatter"						"normal"
						"cl_playerspraydisable"				"1"
						"mp_friendlyfire"					"1"
						"ff_damage_reduction_grenade"		"0.85"
						"ff_damage_reduction_bullets"		"0.33"
						"ff_damage_reduction_other"			"0.4"
						"ff_damage_reduction_grenade_self"	"1"
						"mp_afterroundmoney"				"0"
						"mp_playercashawards"				"1"
						"mp_teamcashawards"					"1"
						"mp_maxrounds"						"30"
						"mp_halftime"						"1"
						"mp_timelimit"						"0"
						"mp_roundtime"						"2"
						"mp_freezetime"						"15"
						"mp_buytime"						"45"
						"mp_forcecamera"					"1"			// Set to 1 for team only spectating.
						"mp_defuser_allocation"				"0"
						"mp_death_drop_gun"					"1"			// 0=none, 1=best, 2=current or best
						"mp_death_drop_grenade"				"2"			// 0=none, 1=best, 2=current or best
						"mp_death_drop_defuser"				"1"	
						"cl_enable_roundstart_autobuy"		"0"
						"sv_ignoregrenaderadio"				"0"
						"mp_molotovusedelay"				"0"
						"sv_alltalk"						"0"
						"sv_deadtalk"						"1"
						"bot_autodifficulty_threshold_low"	"-2.0"	// Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
						"bot_autodifficulty_threshold_high"	"0.0"	// Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)
						"mp_force_pick_time"				"15"
						"spec_freeze_time"					"5.0"
						"spec_freeze_panel_extended_time"	"0"
						"mp_match_can_clinch"				"1"			// 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
						"mp_startmoney"						"800"
						"mp_maxmoney"						"16000"

						"sv_allow_votes"						"1"		// Voting allowed in this mode
						"sv_arms_race_vote_to_restart_disallowed_after"	"0"

						// cash award convars
						"cash_team_terrorist_win_bomb"				"3500"
						"cash_team_elimination_hostage_map"			"3000"
						"cash_team_elimination_bomb_map"			"3250"
						"cash_team_win_by_time_running_out"			"3250"
						"cash_team_win_by_defusing_bomb"			"3500"
						"cash_team_win_by_hostage_rescue"			"3500"
						"cash_team_loser_bonus"						"1400"
						"cash_team_loser_bonus_consecutive_rounds"	"500"
						"cash_team_rescued_hostage"					"750"
						"cash_team_hostage_alive"					"150"
						"cash_team_planted_bomb_but_defused"		"800"
						"cash_team_hostage_interaction"				"150"
						"cash_player_killed_teammate"				"-3300"
						"cash_player_killed_enemy_default"			"300"
						"cash_player_killed_enemy_factor"			"1"
						"cash_player_bomb_planted"					"300"
						"cash_player_bomb_defused"					"300"
						"cash_player_rescued_hostage"				"1000"
						"cash_player_interact_with_hostage"			"150"
						"cash_player_damage_hostage"				"-30"
						"cash_player_killed_hostage"				"-1000"

						// gungame tr defaults (not used in this mode)
						"mp_ggtr_bomb_respawn_delay"			"0"
						"mp_ggtr_bomb_detonation_bonus"			"1"
						"mp_ggtr_bomb_defuse_bonus"				"1"
						"mp_ggtr_bomb_pts_for_upgrade"			"2"
						"mp_ggtr_bomb_pts_for_he"				"3"
						"mp_ggtr_bomb_pts_for_flash"			"4"
						"mp_ggtr_bomb_pts_for_molotov"			"5"
						"mp_ggtr_halftime_delay"				"0.0"
						"mp_ggtr_rounds_per_half"				"5"
						"mp_ggtr_end_round_kill_bonus"			"1"
						"mp_ggtr_last_weapon_kill_ends_half"	"0"

						// gungame progressive defaults (not used in this mode)
						"mp_gungameimmunitytime"				"4"
						"mp_ggprogressive_round_restart_delay"	"15"
						"mp_ggprogressive_win_panel_pct"		"0.33333"

						"mp_weapons_allow_zeus"					"0"
						"mp_solid_teammates"					"1"
						"mp_free_armor"							"0"			

^ I've only posted what I thought I would have to. If you need some more info, please let me know!

And for gamemodesserver

Code: Select all

// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"competitive"
				{
					"convars"
					{
						"bot_chatter"						"on"
						"sv_alltalk"						"1"
						"sv_full_alltalk"					"1"
						"maxplayers"						"32"
						"mp_freezetime"						"3"
						"sv_allow_votes"					"0"
						"mp_maxrounds"						"20"
						"spec_allow_roaming"				"1"
						"mp_tkpunish"						"1"
						"mp_weapons_allow_zeus"				"1"
						"sv_deadtalk"						"0"
						"sv_allow_votes"					"1"
						"mp_friendlyfire"					"1"
					}

					"mapgroupsMP"						// List of mapgroups valid for this game mode
					{
						"random_classic"		""
					}
				}
			}	
		}
	}

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


	"mapgroups"
	{
		"random_classic"									// mapgroup definition
		{
			"nameID"			"#SFUI_Map_random"
			"imagename"			"map-random-overall"
			"name"				"random"
			"maps"
			{
				"cs_office"		""
				"cs_mansion"    ""
				"de_dust2"		""
				"de_train"		""
				"de_inferno"		""
				"de_dust"		""
				"de_aztec"		""
				"de_nuke"		""
				"de_westwood"	""
			}
		}
	}
Thanks in advance, as I do not know what to do anymore :(

Oh, the plugins I'm running are:

Metamod:Source 1.9
SourceMod 1.5
Image
LittleB
This is my homepage
This is my homepage
Posts: 160
Joined: Mon Feb 06, 2012 4:14 am
Location: US
Contact:

Re: Map Rotation Broken

Post by LittleB »

What's your mapcycle.txt look like?
Image
littlevixie
New to forums
New to forums
Posts: 6
Joined: Tue Aug 28, 2012 12:26 pm

Re: Map Rotation Broken

Post by littlevixie »

I'm a noob, this is my first server lol. But, um...I look in the File Manager in the control panel and through FileZilla FTP and I see no MAPCYCLE, but I see a MISSIONCYCLE. Maybe it's not in CSGO folder?
Image
LittleB
This is my homepage
This is my homepage
Posts: 160
Joined: Mon Feb 06, 2012 4:14 am
Location: US
Contact:

Re: Map Rotation Broken

Post by LittleB »

littlevixie wrote:I'm a noob, this is my first server lol. But, um...I look in the File Manager in the control panel and through FileZilla FTP and I see no MAPCYCLE, but I see a MISSIONCYCLE. Maybe it's not in CSGO folder?
Should be listed right before the maplist.txt.
Image
littlevixie
New to forums
New to forums
Posts: 6
Joined: Tue Aug 28, 2012 12:26 pm

Re: Map Rotation Broken

Post by littlevixie »

Before maplists.txt .. it is loadouts.txt

This is default server settings and stuff too, since I didn't change much. So, maybe it's supposed to be there and it's not?
Image
LittleB
This is my homepage
This is my homepage
Posts: 160
Joined: Mon Feb 06, 2012 4:14 am
Location: US
Contact:

Re: Map Rotation Broken

Post by LittleB »

Sounds like it.Just create one using a text editor & place it in your csgo folder.
Image
littlevixie
New to forums
New to forums
Posts: 6
Joined: Tue Aug 28, 2012 12:26 pm

Re: Map Rotation Broken

Post by littlevixie »

Okay. I'm assuming that this will fix the rotation? Does this fix the automatic rotation as well? Thank you in advance, I appreciate it :)
Image
LittleB
This is my homepage
This is my homepage
Posts: 160
Joined: Mon Feb 06, 2012 4:14 am
Location: US
Contact:

Re: Map Rotation Broken

Post by LittleB »

Should fix the rotation issue,not sure about the auto rotation.
Image
EzRemade
New to forums
New to forums
Posts: 10
Joined: Sat Aug 25, 2012 12:10 pm

Re: Map Rotation Broken

Post by EzRemade »

Are you using the mapchooser plugin for source mod?

If so, you have to make your own mapcycle.ini file and place it in /csgo/addons/sourcemod/configs.
Then, you need to edit the maplists.cfg in the same folder so that all the source mod plugins point to your mapcycle.ini

The mapchooser section in maplists.cfg should look something like this

Code: Select all

	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"file"		
	"addons/sourcemod/configs/mapcycle.ini"
	}
As far as the server saying "Next map, Dust" when it's actually something else, I'm not sure. I have that issue too. I think it may just be something we need to wait for source mod to fix.
littlevixie
New to forums
New to forums
Posts: 6
Joined: Tue Aug 28, 2012 12:26 pm

Re: Map Rotation Broken

Post by littlevixie »

Thank you for this, Ez. I appreciate the help! You too, LittleB!
Image
EzRemade
New to forums
New to forums
Posts: 10
Joined: Sat Aug 25, 2012 12:10 pm

Re: Map Rotation Broken

Post by EzRemade »

After more fooling around, the source mod plugins like mapchooser, seem to be pretty broken. Most of the time the plugin will act properly, but sometimes players will vote for train, be told the next map is dust, and then have the server switch to inferno.

I've switched over to Ultimate Map Chooser plugin which actually works properly

http://forums.alliedmods.net/showthread.php?t=134190
FlyingMongoose
This is my homepage
This is my homepage
Posts: 353
Joined: Fri Sep 17, 2004 7:50 pm
Contact:

Re: Map Rotation Broken

Post by FlyingMongoose »

Sourcemod's default mapchooser has map enforcement which unfortunately plays tug of war on cs go and mapgroups :-/
Image
Post Reply