Raised This Month: $32 Target: $400
 8% 

Bad map change at the end of map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sastdk
Junior Member
Join Date: Apr 2019
Old 04-18-2019 , 09:55   Bad map change at the end of map
Reply With Quote #1

Hello, i have my cs go competitive mode server hosted on linux. At the end of last round the valve's votemap starts, i vote for example mirage then the server is loading another map, not the voted one. Can you help me please?

gamemodes_server.txt

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

"GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{

/////////////////////////////////////////
// COMPETITIVE
/////////////////////////////////////////
"competitive"{

        
        
"maxplayers"        "11"            // Note that maxplayers doesn't go in the convar block.
                                            // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
        
"exec"
        
{
                                            
// Any config files listed here will be executed after the ones in gamemodes.txt.
            
            
"exec"                    "server_last.cfg" 
        
}

        
"mapgroupsMP"                        // List of mapgroups valid for this game mode ( competitive )
        
{
            
"mg_bomb_se"        ""
        
}


}
/////////////////////////////////////////
// CASUAL
/////////////////////////////////////////
"casual"{



        
"maxplayers"        "30"

        "exec"
        
{
            
"exec"                    "server_last.cfg"
        
}

        
"mapgroupsMP"                        // List of mapgroups valid for this game mode ( casual )
        
{
            
"mg_bomb_se"        ""
        
}



}}}
"gungame"{"gameModes"{

/////////////////////////////////////////
// ARMS RACE
/////////////////////////////////////////
"gungameprogressive"{



        
"maxplayers"            "10"

        
// These are the configs that get executed when a game mode of this type is created
        
"exec"
        
{
            
"exec"                    "server_last.cfg"
        
}
                    
        
"mapgroupsMP"
        
{
            
"mg_armsrace"    ""
        
}

        
"weaponprogression_ct"
        
{
            
"deagle"        "kills"    "5" }
            
"awp"            "kills"    "5" }
            
"knifegg"        "kills"    "1" }
        }
                    
        
"weaponprogression_t"
        
{
            
"deagle"        "kills"    "5" }
            
"awp"            "kills"    "5" }
            
"knifegg"        "kills"    "1" }
        }



/////////////////////////////////////////
// DEMOLITION
/////////////////////////////////////////
"gungametrbomb"
{


        
"maxplayers"            "10"

        
// These are the configs that get executed when a game mode of this type is created
        
"exec"
        
{
            
"exec"                    "server_last.cfg"
        
}

        
"mapgroupsMP"
        
{
            
"mg_demolition"        ""
        
}

        
"weaponprogression_ct"
        
{
            
"m4a1"            "kills"    "1" }
            
"awp"            "kills"    "1" }
            
"Scar20"        "kills"    "1" }
        }
            
        
"weaponprogression_t"
        
{
            
"ak47"            "kills"    "1" }
            
"awp"            "kills"    "1" }
            
"g3sg1"            "kills"    "1" }
        }


}}}}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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"
    
{
        
"mg_bomb_se"                                    // mapgroup definition
        
{
            
"name"            "mg_bomb_se"
            "maps"
            
{
                
"de_dust_se"        ""
                "de_dust2_se"        ""
                "de_nuke_se"        ""
                "de_train_se"        ""
                "de_inferno_se"        ""
                "de_aztec_se"        ""
            
}
        }
    }
}} 
plugins

PHP Code:
mapchooser.smx
nominations
.smx
maphistory
.smx
rockthevote
.smx 
gamemode_competitive_server.cfg

PHP Code:
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)
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_chatter                                            normal
bot_defer_to_human_goals                            1
bot_defer_to_human_items                            1
bot_difficulty                                        3
bot_quota                                        0
bot_quota_mode                                        fill
cash_player_bomb_defused                            300
cash_player_bomb_planted                            300
cash_player_damage_hostage                            
-30
cash_player_interact_with_hostage                    300
cash_player_killed_enemy_default                    300
cash_player_killed_enemy_factor                        1
cash_player_killed_hostage                            
-1000
cash_player_killed_teammate                            
-300
cash_player_rescued_hostage                            1000
cash_team_elimination_bomb_map                        3250
cash_team_elimination_hostage_map_t                    3000
cash_team_elimination_hostage_map_ct                    3000
cash_team_hostage_alive                                0
cash_team_hostage_interaction                        600
cash_team_loser_bonus                                1400
cash_team_loser_bonus_consecutive_rounds            500
cash_team_planted_bomb_but_defused                    800
cash_team_rescued_hostage                        600
cash_team_terrorist_win_bomb                        3500
cash_team_win_by_defusing_bomb                        3500
cash_team_win_by_hostage_rescue                        2900
cash_team_win_by_time_running_out_hostage            3250
cash_team_win_by_time_running_out_bomb                3250
ff_damage_reduction_bullets                            0.33
ff_damage_reduction_grenade                            0.85
ff_damage_reduction_grenade_self                    1
ff_damage_reduction_other                            0.4
mp_afterroundmoney                                    0
mp_buytime                                            20
mp_buy_anywhere                                        0
mp_buy_during_immunity                                0
mp_death_drop_defuser                                1    
mp_death_drop_grenade                                2            
// 0=none, 1=best, 2=current or best
mp_death_drop_gun                                    1            // 0=none, 1=best, 2=current or best
mp_defuser_allocation                                0
mp_force_pick_time                                    15
mp_forcecamera                                        1            
// Set to 1 for team only spectating.
mp_free_armor                                        0        
mp_freezetime                                        8
mp_friendlyfire                                        0
mp_win_panel_display_time                            3
mp_ggprogressive_round_restart_delay                15
mp_ggtr_bomb_defuse_bonus                            1
mp_ggtr_bomb_detonation_bonus                        1
mp_ggtr_bomb_pts_for_flash                            4
mp_ggtr_bomb_pts_for_he                                3
mp_ggtr_bomb_pts_for_molotov                        5
mp_ggtr_bomb_pts_for_upgrade                        2
mp_ggtr_bomb_respawn_delay                            0
mp_ggtr_end_round_kill_bonus                        1
mp_ggtr_halftime_delay                                0.0 
mp_ggtr_last_weapon_kill_ends_half                    0
mp_respawn_immunitytime                                0
mp_halftime                                            1
mp_match_can_clinch                                    1            
// 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_maxmoney                                            16000
mp_maxrounds                                        30
mp_molotovusedelay                                    0
mp_playercashawards                                    1
mp_roundtime                                        2
mp_roundtime_hostage                                2
mp_roundtime_defuse                                    2
mp_solid_teammates                                    1
mp_startmoney                                        800
mp_teamcashawards                                    1
mp_timelimit                                        0
mp_warmuptime                                        60
mp_weapons_allow_zeus                                1
spec_freeze_panel_extended_time                        0
spec_freeze_time                                    5.0
sv_allow_votes                                        1        
// Voting allowed in this mode
sv_alltalk                                            0
sv_arms_race_vote_to_restart_disallowed_after        0
sv_deadtalk                                            1
sv_ignoregrenaderadio                                0
tv_delay                                            105
mp_warmup_pausetimer                                0
mp_halftime_pausetimer                                0
mp_randomspawn                                        0
mp_randomspawn_los                                    0
sv_infinite_ammo                                    0
ammo_grenade_limit_flashbang                        2
ammo_grenade_limit_total                            5
//
mp_weapons_allow_map_placed                            1
mp_weapons_glow_on_ground                            0
mp_display_kill_assists                                1
mp_respawn_on_death_t                                0
mp_respawn_on_death_ct                                0
mp_ct_default_melee                                    weapon_knife
mp_ct_default_secondary                                weapon_hkp2000
mp_ct_default_primary                                
""
mp_t_default_melee                                    weapon_knife
mp_t_default_secondary                                weapon_glock
mp_t_default_primary                                
""
mp_default_team_winner_no_objective                    -1        // 2 == CTs, 3 == Ts

sv_occlude_players                                1
mp_endmatch_votenextmap 1
mp_match_end_changelevel  1 

Last edited by sastdk; 04-18-2019 at 09:56.
sastdk is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 04-19-2019 , 06:43   Re: Bad map change at the end of map
Reply With Quote #2

remove nextmap.smx
asdfxD is offline
sastdk
Junior Member
Join Date: Apr 2019
Old 04-19-2019 , 13:01   Re: Bad map change at the end of map
Reply With Quote #3

I dont have it
sastdk is offline
wolvez04
Senior Member
Join Date: Feb 2016
Location: Andora
Old 04-20-2019 , 00:01   Re: Bad map change at the end of map
Reply With Quote #4

I had the same issue when using valves mapvote. From memory valves mapvote changes level but something else overwrites just after and changes to that map instead. I patched by decreasing the change time delay after a map is chosen by 2 or more seconds which gives it enough time to change to the correct map. If 2 doesn't work, try more. Not ideal but quick fix for now if this is the same issue.
__________________
Hiring developers of all sorts for small or big jobs.
Paying nicely. Just PM for any available jobs.


Last edited by wolvez04; 04-20-2019 at 00:02.
wolvez04 is offline
sastdk
Junior Member
Join Date: Apr 2019
Old 04-20-2019 , 12:03   Re: Bad map change at the end of map
Reply With Quote #5

Quote:
Originally Posted by wolvez04 View Post
I had the same issue when using valves mapvote. From memory valves mapvote changes level but something else overwrites just after and changes to that map instead. I patched by decreasing the change time delay after a map is chosen by 2 or more seconds which gives it enough time to change to the correct map. If 2 doesn't work, try more. Not ideal but quick fix for now if this is the same issue.
can you please tell me which cvar is controlling this change time?
sastdk is offline
miXXed
Member
Join Date: Sep 2015
Old 04-27-2019 , 04:59   Re: Bad map change at the end of map
Reply With Quote #6

Quote:
Originally Posted by sastdk View Post
Hello, i have my cs go competitive mode server hosted on linux. At the end of last round the valve's votemap starts, i vote for example mirage then the server is loading another map, not the voted one. Can you help me please?
[/PHP]

If you want run the "mg_bomb_se" mapgroup in your "gamemodes_server.txt" make sure that you have on your server start line added..

"+mapgroup mg_bomb_se +map de_dust_se"

Plugins enabled:
Quote:
mapchooser.smx
nextmap.smx
nominations.smx
rockthevote.smx
im using the same mapgroup in "gamemodes_server.txt" i just edited the maps

Code:
                "de_dust_se"        ""
                "de_dust2_se"        ""
                "de_nuke_se"        ""
                "de_train_se"        ""
                "de_inferno_se"        ""
                "de_aztec_se"        ""
and added them to maplist.txt & mapcycle.txt

works for me without any problem.
miXXed 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 17:55.


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