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

MapChooser Extended 2021 version with Dynamic Mapcycle support


Post New Thread Reply   
 
Thread Tools Display Modes
Author
foxsay
AlliedModders Donor
Join Date: Sep 2013
Plugin ID:
7646
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Changes the mapcycle on the fly based on the game state. :)
    Old 05-21-2021 , 16:59   MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #1

    MapChooser Extended 2021 version with Dynamic Mapcycle support - changes the mapcycle on the fly based on the game state.


    Idea Author - me
    Code Author - lugui
    --------------------------

    Before installing anything read Original Installation Guide - https://forums.alliedmods.net/showthread.php?t=156974 (But don't download plugins from there).

    --------------------------

    What this version has changed?

    - Modified mapchooser_extended plugin
    - Modified nominations_extended plugin
    - Added new dynamic_mapcycle plugin
    - Github repo pre-configured (If you don't like it simply edit/remove configs )

    All those changes are related to dynamic_mapcycle

    TL;DR in human language - you can have map votes based on current server time, day of week & player count also it's excludes map from nomination menu if they cant be played with this modified map chooser extended version.

    --------------------------

    How to install dynamic_mapcycle? (Note: everything is pre-configured in the GitHub repo already.)

    1. Go to sourcemod/configs/maplists.cfg and edit "default"

    2. Replace "target" to "file" & replace "mapcyclefile" to "addons/sourcemod/data/tmp_maplist.txt"

    (The plugin generates a mapcycle according to the server state, the generated file is stored at this directory)

    4. Edit configs/dynamic_mapcycle.cfg how you like.

    - dynamic_mapcycle.cfg has all the instructions on how to use it.

    - for compiling I suggest using 1.7 sm because map chooser extended is quite old & needs to be rewritten but dynamic_mapcycle is written in the new style.
    --------------------------

    No future updates planned yet.

    --------------------------

    Download from Github
    __________________
    poggers

    Last edited by foxsay; 07-16-2021 at 10:44.
    foxsay is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 05-21-2021 , 17:41   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #2

    reserved comment spot.
    __________________
    poggers
    foxsay is offline
    Et3rnity
    Member
    Join Date: Sep 2018
    Location: Romania
    Old 05-22-2021 , 15:52   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #3

    Wil be nice if you add admin only flag for maps. In dynamic mapcycle
    What is "minWeekDay" & "maxWeekDay"?
    __________________

    Last edited by Et3rnity; 05-23-2021 at 05:57.
    Et3rnity is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 05-23-2021 , 06:01   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #4

    Quote:
    Originally Posted by Et3rnity View Post
    Wil be nice if you add admin only flag for maps. In dynamic mapcycle
    What is "minWeekDay" & "maxWeekDay"?
    Its planned for future but not right now.

    Day of the week from monday to sunday.

    So if u set minweekday 1 its monday
    If you set maxweekday 5 it's Friday
    __________________
    poggers

    Last edited by foxsay; 05-23-2021 at 06:01.
    foxsay is offline
    BReeZ
    AlliedModders Donor
    Join Date: Feb 2013
    Location: Denmark
    Old 05-23-2021 , 14:16   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #5

    Hello

    Two questions.

    1. Does this include a fix for the translations?
    Sometimes I get wrong translation for !nextmap/!nominations etc. It shows me in the wrong language.

    2. Does this come with an improved !rtv?
    We allow players to be AFK in spectate without getting kicked, and players who are alive and playing sometimes wants to RTV the map, but simply can't because they need to be a higher % to vote YES because there could potentially be 3 spectators AFK.
    tl;dr a working !rtv that ignores spectating players.
    __________________
    BReeZ is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 05-24-2021 , 02:26   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #6

    Quote:
    Originally Posted by BReeZ View Post
    Hello

    Two questions.

    1. Does this include a fix for the translations?
    Sometimes I get wrong translation for !nextmap/!nominations etc. It shows me in the wrong language.

    2. Does this come with an improved !rtv?
    We allow players to be AFK in spectate without getting kicked, and players who are alive and playing sometimes wants to RTV the map, but simply can't because they need to be a higher % to vote YES because there could potentially be 3 spectators AFK.
    tl;dr a working !rtv that ignores spectating players.
    1. You need to make translations yourself if they are wrong for your language i don't know every single language. You can open pull request I will review changes.
    .
    Note some translations are from base game files like nominations they use default sourcemod nomination plugin translations.

    2. I will consider to take a look at this because it's good idea. For now you can set lower % of votes needed.


    Also

    This plugin is more exclusive for my server i just dedicated to share it. New things will be added if I See need for them in my servers. Don't expect me to do things always as public wants.
    __________________
    poggers

    Last edited by foxsay; 05-24-2021 at 02:34.
    foxsay is offline
    [email protected]
    Member
    Join Date: Mar 2016
    Old 07-12-2021 , 10:10   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #7

    Can cfg be set for each map group?
    It would be even better if it had this feature

    For example:
    "mapConfigs"
    {
    "morning 1"
    {
    "maxPlayers" "7"
    "timeStart" "05:00"
    "timeEnd" "11:59"
    "minWeekDay" "1"
    "maxWeekDay" "5"
    "command" "exec mod_mg_pk.cfg"
    "maps"
    {

    Last edited by [email protected]; 07-12-2021 at 10:12.
    water19753@gmail.com is offline
    foxsay
    AlliedModders Donor
    Join Date: Sep 2013
    Old 07-16-2021 , 10:42   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #8

    Quote:
    Originally Posted by [email protected] View Post
    Can cfg be set for each map group?
    It would be even better if it had this feature

    For example:
    "mapConfigs"
    {
    "morning 1"
    {
    "maxPlayers" "7"
    "timeStart" "05:00"
    "timeEnd" "11:59"
    "minWeekDay" "1"
    "maxWeekDay" "5"
    "command" "exec mod_mg_pk.cfg"
    "maps"
    {
    just use this https://forums.alliedmods.net/showthread.php?p=2611796
    __________________
    poggers
    foxsay is offline
    woochie
    Junior Member
    Join Date: Mar 2023
    Old 03-08-2023 , 17:41   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #9

    When I type sm plugins list

    "Errors:
    mapchooser_extended.smx (MapChooser Extended): unexpected error 23 in AskPluginLoad callback
    nominations_extended.smx (Map Nominations Extended): Native "IsMapOfficial" was not found"

    Does anyone have working versions?

    EDIT: Nvm, it was fixed somehow.

    Last edited by woochie; 03-20-2023 at 10:08.
    woochie is offline
    Wizzardoff
    Senior Member
    Join Date: Dec 2022
    Old 09-07-2023 , 05:01   Re: MapChooser Extended 2021 version with Dynamic Mapcycle support
    Reply With Quote #10

    I have on my server clutch activated in 16 rounds ,halftime too,or 25 minutes mp_timelimit. Can this plugin be set to recognizes last round announcement so at least it starts voting at the beginning of the last round? For ex at 8/0 or 8/5 or whatever Setting it up to 1 or 2 last rounds doesnt work. Classic mapchooser worked somehow,but this one does not. Now i got it on round 9 remaining (so voting at least starts at round 7) but its not a very smooth way

    Last edited by Wizzardoff; 09-07-2023 at 05:14.
    Wizzardoff 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 10:10.


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