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

[TF2] Round End Enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
flocke0
Junior Member
Join Date: Apr 2013
Location: Germany
Plugin ID:
4036
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Ends the round when mp_timelimit is reached
    Unapprover:
    Reason for Unapproving:
    Duplicates in-game functionality
    Old 01-08-2014 , 06:45   [TF2] Round End Enforcer
    Reply With Quote #1

    I made this plugin for my MGE server and i want to post it here.

    What the plugin does: It checks in an interval of 15 seconds if mp_timelimit is reached (skips if mp_timelimit 0) and changes the map to sm_nextmap without waiting for the round to end.

    The code is 100% extracted from Langeh's SOAP DM Plugin (https://github.com/Langeh/SOAP-TF2DM)

    Im pretty new to SourcePawn coding, so there could be some issues. I did test this on my server and it works pretty well.
    Attached Files
    File Type: sp Get Plugin or Get Source (roundendenforcer.sp - 513 views - 2.8 KB)
    __________________

    Last edited by flocke0; 01-08-2014 at 06:46.
    flocke0 is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 01-08-2014 , 09:30   Re: [TF2] Round End Enforcer
    Reply With Quote #2

    Code:
    "mp_match_end_at_timelimit" = "0"
     game notify
     - Allow the match to end when mp_timelimit hits instead of waiting for the end of the current round.
    Was the mp_match_end_at_timelimit cvar not good enough?
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 01-08-2014 , 11:01   Re: [TF2] Round End Enforcer
    Reply With Quote #3

    This duplicates functionality built into the game and also appears to be a duplicate of this.

    Therefore, I am unapproving this. Please feel free to PM me or any other approver if you add functionality to this plugin so that it is not a duplicate.
    __________________
    Dr. McKay is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 01-11-2014 , 22:12   Re: [TF2] Round End Enforcer
    Reply With Quote #4

    Nope, match end at timelimit 1 does not work at all on some maps, like payloads. Even if you strip out their map logic, you gotta fire an input to tcpm to force a win, else it will not end on timelimit.
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram 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:19.


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