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

Maps not changing!!! Anothhha one


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kifac
New Member
Join Date: Feb 2017
Old 02-25-2017 , 17:33   Maps not changing!!! Anothhha one
Reply With Quote #1

Alright guys, i have been reading alot here before i registered and have searched google for HOURS and have tried multiple different "solutions"

I have set up a CS go server 128 tick...have the 1V1 plugin running just fine but i can not get the map voting to work.
I can get the workshop maps to show in admin panel and voting screen...but when it comes down to switching maps...nothing happens.

The maps will only change when i pput it in the command line +map w.e w.e
I also have all maps in a map group.

Please let me know what you need from me and ill post all info.

Thanks!!!
kifac is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 02-25-2017 , 22:01   Re: Maps not changing!!! Anothhha one
Reply With Quote #2

Provide the following (use code and spoiler tags where necessary):
  • Server command line parameters
  • gamemode_server.txt, mapcycle.txt, maplist.txt
  • gamemode_competitive_server.cfg or _casual_server.cfg (whichever you use)
  • Whether you're trying to use Valve's or SM's next map voting.
Maxximou5 is offline
kifac
New Member
Join Date: Feb 2017
Old 02-25-2017 , 23:36   Re: Maps not changing!!! Anothhha one
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
Provide the following (use code and spoiler tags where necessary):
  • Server command line parameters
  • gamemode_server.txt, mapcycle.txt, maplist.txt
  • gamemode_competitive_server.cfg or _casual_server.cfg (whichever you use)
  • Whether you're trying to use Valve's or SM's next map voting.
Thank you for the reply...heres everything you requested!

Code:
-game  csgo -console -condebug -usercon -maxplayers_override 10 +maxplayers 10  +exec server.cfg -ip XXXXXXXX -port 27025 +game_mode 0 +game_type 0  +map am_ramps +mapgroup mg_custom -tickrate "128"
Mapcycle.txt *checking to see what worked*
Code:
workshop/241267905/aim_multi_v4
workshop/256877071/am_ramps
workshop/297888593/am_basement
am_quickdraw
workshop/279697343/am_grass2
workshop/279708083/am_must2
workshop/312854302/am_warehouse3
maplist
Code:
aim_multi_v4
am_must2
am_grass2
am_quickdraw
am_basement
am_ramps
gamemode_server.txt
Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
    "gameTypes"
    {
        "classic"
        {
            "gameModes"
            {
                "casual"
                {
                    "maxplayers"                                "10"                    

                    "convars"
                    {
                        "hostname"                                "Orgiginal Gravity: Classic Casual"
                        "bot_quota"                        "8"
                        "mp_startmoney"                            "800"
                        "mp_maxmoney"                            "16000"

                    }

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

    "maps"
    {
        //
        //Casual Maps
        //

        "cs_estate"
        {
            "nameID"            "#SFUI_Map_ar_baggage"
            "name"                "ar_baggage"
            "imagename"            "map-baggage-overall"
            "t_arms"            "models/weapons/t_arms_professional.mdl"
            "t_models"
            {
                "tm_professional"        ""
                "tm_professional_var1"        ""
                "tm_professional_var2"        ""
                "tm_professional_var3"        ""
                "tm_professional_var4"        ""
            }
            "ct_arms"            "models/weapons/ct_arms_swat.mdl"
            "ct_models"
            {

                "ctm_swat"            ""
                "ctm_swat_variantA"        ""
                "ctm_swat_variantB"        ""
                "ctm_swat_variantC"        ""
                "ctm_swat_variantD"        ""
            }
        }
    }

//////////////////////////////////////////////////////////////////////////////////////////////
// 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_custom"                                    // mapgroup definition
        {
            "name"            "mg_custom"
            "maps"
            {
                "aim_multi_v4"        ""
                "am_ramps"        ""
                "am_basement"        ""
                "am_quickdraw"        ""
                "am_grass2"        ""
                "am_must2"        ""
                "am_warehouse3"        ""
            }
        }
    }
}
i have never used/edited a gamemode_competitive_server.cfg

but here it is

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                                        2
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                                        15
mp_friendlyfire                                        1
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                                        1.92
mp_roundtime_hostage                                1.92
mp_roundtime_defuse                                    1.92
mp_solid_teammates                                    1
mp_startmoney                                        800
mp_teamcashawards                                    1
mp_timelimit                                        0
mp_warmuptime                                        300
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_auto_full_alltalk_during_warmup_half_end            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                            4
//
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
occlusion_test_async                                0
spec_replay_enable                                0
and i am trying to use SM's next map voting
kifac is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 02-26-2017 , 02:20   Re: Maps not changing!!! Anothhha one
Reply With Quote #4

Most importantly you need to add your authkey to your start command line, reference this page:
https://developer.valvesoftware.com/...rver_Operators
Using the text file isn't the best method and has caused issues before, you may use it if you wish though.
It should look something like this:
Code:
-game  csgo -console -condebug -usercon -maxplayers_override 10 +maxplayers 10  +exec server.cfg -ip XXXXXXXX -port 27025 +game_mode 0 +game_type 0 +map workshop/256877071/am_ramps +mapgroup mg_custom -tickrate 128 +workshop_start_map 256877071 -authkey YOURAUTHKEYHERE
You also need to match your map list settings the same throughout for it function properly.
This includes maplist and mapcycle matching. If it has a workshop destination, you put in that destination.
Code:
workshop/241267905/aim_multi_v4
workshop/256877071/am_ramps
workshop/297888593/am_basement
am_quickdraw
workshop/279697343/am_grass2
workshop/279708083/am_must2
workshop/312854302/am_warehouse3
Your gamemode_server.txt should be like this:
Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt

"GameModes_Server.txt"
{
    "gameTypes"
    {
        "classic"
        {
            "gameModes"
            {
                "casual"
                {
                    "maxplayers"                                "10"                   

                    "convars"
                    {
                        "hostname"                                "Orgiginal Gravity: Classic Casual"
                        "bot_quota"                        "8"
                        "mp_startmoney"                            "800"
                        "mp_maxmoney"                            "16000"

                    }

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

    "maps"
    {
        //
        //Casual Maps
        //

        "cs_estate"
        {
            "nameID"            "#SFUI_Map_ar_baggage"
            "name"                "ar_baggage"
            "imagename"            "map-baggage-overall"
            "t_arms"            "models/weapons/t_arms_professional.mdl"
            "t_models"
            {
                "tm_professional"        ""
                "tm_professional_var1"        ""
                "tm_professional_var2"        ""
                "tm_professional_var3"        ""
                "tm_professional_var4"        ""
            }
            "ct_arms"            "models/weapons/ct_arms_swat.mdl"
            "ct_models"
            {

                "ctm_swat"            ""
                "ctm_swat_variantA"        ""
                "ctm_swat_variantB"        ""
                "ctm_swat_variantC"        ""
                "ctm_swat_variantD"        ""
            }
        }
    }

//////////////////////////////////////////////////////////////////////////////////////////////
// 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_custom"                                    // mapgroup definition
        {
            "name"            "mg_custom"
            "maps"
            {
                "workshop/241267905/aim_multi_v4" ""
                "workshop/256877071/am_ramps" ""
                "workshop/297888593/am_basement" ""
                "am_quickdraw" ""
                "workshop/279697343/am_grass2" ""
                "workshop/279708083/am_must2" ""
                "workshop/312854302/am_warehouse3" ""
            }
        }
    }
}
Please NOTE that you are using game_mode 0 and game_type 0 which is gamemode_casual_server.cfg NOT gamemode_competitive_server.cfg
Also NOTE that you should only ever the gamemode_*_server.cfg not gamemode_*.cfg because it WILL be overwritten entirely when updated.
Finally, make sure to add to your gamemode_casual_server.cfg:
Code:
mp_endmatch_votenextmap "0"
Maxximou5 is offline
kifac
New Member
Join Date: Feb 2017
Old 02-26-2017 , 13:26   Re: Maps not changing!!! Anothhha one
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Most importantly you need to add your authkey to your start command line, reference this page:
https://developer.valvesoftware.com/...rver_Operators
Using the text file isn't the best method and has caused issues before, you may use it if you wish though.
Thank you very much sir! Everything is now working perfectly!
One last question, the vote to next map appears almost immediately at the beginning...how do i go about changing this!

Thanks again
kifac is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 02-26-2017 , 14:07   Re: Maps not changing!!! Anothhha one
Reply With Quote #6

You're welcome, and glad to hear it's working.

To change any map related settings for SM, check /cfg/sourcemod/mapchooser.cfg
There you will find what you are looking for, in terms of adjusting when it will appear.
Maxximou5 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 20:49.


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