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

Solved [CSGO] End map vote


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 11-22-2015 , 03:04   [CSGO] End map vote
Reply With Quote #1

Hello! Is there a way to enable this map vote on casual servers with custom maps ?


Thanks!

Last edited by hadesownage; 10-07-2016 at 06:57. Reason: Solved
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-22-2015 , 11:18   Re: [CSGO] End map vote
Reply With Quote #2

yes you can if you have properly setup mapgroups or use a workshop collection it should be automatic... so what is not working correctly for you ?

Last edited by hamilton5; 11-22-2015 at 11:22.
hamilton5 is offline
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 11-22-2015 , 14:02   Re: [CSGO] End map vote
Reply With Quote #3

I founded this cvar to activate the map end vote (mp_endmatch_votenextmap)
But, how to create a custom map group ?
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 10-07-2016 , 05:15   Re: [CSGO] End map vote
Reply With Quote #4

still trying to solve this.
i think this can help me -> https://forums.alliedmods.net/showthread.php?t=288728
but is not working.
any ideas ?
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-07-2016 , 06:13   Re: [CSGO] End map vote
Reply With Quote #5

*edit
Disable SM nextmap plugin.


in ...csgo/cfg/gamemode_casual_server.cfg
PHP Code:
mp_match_restart_delay 20

//mp_endmatch_votenextmap_keepcurrent 0
mp_endmatch_votenextmap 1
mp_endmatch_votenextleveltime 20 


To host workshop collection
https://developer.valvesoftware.com/...rver_Operators

remove these files to not make extra hassle
subscribed_collection_ids.txt
subscribed_file_ids.txt



Create file ...csgo/webapi_authkey.txt
And inside that file your Steam Web API key
Rant:
Obtaining an Steam Web API Key

All use of the Steam Web API requires the use of an API Key. You can acquire one by filling out this form. Use of the APIs also requires that you agree to the Steam API Terms of Use.




Find workshop collections with maps only, (or create your own collection)


inside ...csgo/cfg/autoexec.cfg
PHP Code:
host_workshop_collection 770500357 // workshop collection id
workshop_start_map 125439125 //workshop map id, de_nuke 
Host server maps, not workshop

create ...csgo/gamemodes_server.txt
Code:
// DO NOT MODIFY THIS FILE
// 
// To customize your server, see gamemodes_server.txt.example


"GameModes.txt"
{
    "gameTypes"
    {
        "classic"
        {
            "gameModes"
            {
                "casual"
                {
                    "mapgroupsMP"
                    {
                        "my_custom_group" ""
                    }
                }
            }
        }
    }

    "mapgroups"
    {
        "random_classic"
        {
            "maps"
            {
                // Replace maps below
                "cs_cruise"            ""
                "de_coast"            ""
                "de_empire"            ""
                "de_mikla"            ""
                "de_royal"            ""
                "de_santorini"        ""
                "de_tulip"            ""
            }
        }

        "my_custom_group"
        {
            "maps"
            {
                "cs_cruise"            ""
                "de_dust2"            ""
                "de_dust"            ""
            }
        }
    }
}
and in ...csgo/cfg/autoexec.cfg
PHP Code:
mapgroup my_custom_group 
Check your current maps with commands

print_mapgroup
or rcon print_mapgroup_sv
__________________
Do not Private Message @me

Last edited by Bacardi; 10-07-2016 at 06:27.
Bacardi is offline
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 10-07-2016 , 06:57   Re: [CSGO] End map vote
Reply With Quote #6

Thank you for your support & plugin!
It works perfectly!
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 10-07-2016 , 09:27   Re: [CSGO] End map vote
Reply With Quote #7

The map is changing wrong.
For example the winner map will be: de_dust2
Then the map is chaning, he will be: de_inferno.

I removed the nextmap and mapchooser plugin.
Problem is still there.
Thank you!
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-07-2016 , 11:56   Re: [CSGO] End map vote
Reply With Quote #8

reboot server
__________________
Do not Private Message @me
Bacardi 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 08:33.


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