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

[TF2][MvM] MapChooser patched


Post New Thread Reply   
 
Thread Tools Display Modes
Author
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Plugin ID:
4840
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    MapChooser patch to make vote for next map after MvM victory
    Old 10-09-2015 , 14:04   [TF2][MvM] MapChooser patched
    Reply With Quote #1

    I made patch long ago, bug recently mapchooser code was changed to new "C++"-a-like style and old version stopped working. Had to change it again. I run only MvM, so not tested on other game modes for any conflicts. Currently tested a little, seems working fine. Use at own risk. Patch is rubbish, so proper configuration required to work:

    "./tf/cfg/sourcemod/mapchooser.cfg"
    Code:
    // This file was auto-generated by SourceMod (v1.4.7)
    // ConVars for plugin "mapchooser.smx"
    
    
    // Specifies how many more frags are allowed when map is extended.
    // -
    // Default: "10"
    // Minimum: "5.000000"
    sm_extendmap_fragstep "10"
    
    // Specifies how many more rounds each extension makes
    // -
    // Default: "5"
    // Minimum: "1.000000"
    sm_extendmap_roundstep "5"
    
    // Specifies how much many more minutes each extension makes
    // -
    // Default: "15"
    // Minimum: "5.000000"
    sm_extendmap_timestep "15"
    
    // Specifies if a 'Don't Change' option should be added to early votes
    // -
    // Default: "1"
    // Minimum: "0.000000"
    sm_mapvote_dontchange "0"
    
    // Specifies if MapChooser should run an end of map vote
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_mapvote_endvote "1"
    
    // Specifies how many past maps to exclude from the vote.
    // -
    // Default: "5"
    // Minimum: "0.000000"
    sm_mapvote_exclude "3"
    
    // Number of extensions allowed each map.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    sm_mapvote_extend "0"
    
    // Specifies how many maps to include in the vote.
    // -
    // Default: "5"
    // Minimum: "2.000000"
    // Maximum: "6.000000"
    sm_mapvote_include "5"
    
    // Specifies whether or not MapChooser should pick a map if no votes are received.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_mapvote_novote "1"
    
    // Specifies when to start the vote based on time remaining.
    // -
    // Default: "3.0"
    // Minimum: "1.000000"
    sm_mapvote_start "3.0"
    
    // Specifies when to start the vote base on frags remaining.
    // -
    // Default: "5.0"
    // Minimum: "1.000000"
    sm_mapvote_startfrags "5.0"
    
    // Specifies when to start the vote based on rounds remaining. Use 0 on TF2 to start vote during bonus round time
    // -
    // Default: "2.0"
    // Minimum: "0.000000"
    sm_mapvote_startround "2.0"
    
    // Specifies how long the mapvote should be available for.
    // -
    // Default: "20"
    // Minimum: "5.000000"
    sm_mapvote_voteduration "15.0"
    View changes made to mapchooser.sp (SM-1.8.0-git5699-linux) here https://bitbucket.org/avi9526/mapcho...8a1bed32ddb325

    Download code here https://bitbucket.org/avi9526/mapchooser-tf2-mvm/src/
    Compile yourself. No errors must be reported.

    Last edited by avi9526; 10-09-2015 at 14:04.
    avi9526 is offline
    Kerem Er
    Member
    Join Date: Mar 2015
    Old 07-19-2016 , 17:08   Re: [TF2][MvM] MapChooser patched
    Reply With Quote #2

    [SM] Plugin mapchooser.smx failed to load: Native "DataPack.DataPack" was not found.
    Kerem Er 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:18.


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