Raised This Month: $ Target: $400
 0% 

[TF2] Arena Late Spawn Fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Mikusch
AlliedModders Donor
Join Date: Oct 2019
Location: Germany
Plugin ID:
7904
Plugin Version:
1.1.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes players spawning during the round in arena mode
    Old 12-29-2021 , 16:27   [TF2] Arena Late Spawn Fix
    Reply With Quote #1

    As of the 08/07/2022 TF2 update, this plugin is not needed anymore!

    [TF2] Arena Late Spawn Fix

    This plugin fixes an ancient bug that allows players to spawn during a running round in arena mode. It also prevents players from joining a class before joining a team first.

    Unlike the Anti-Arena Latespawn plugin by Batfoxkid, this one fixes the bug properly instead of simply slaying the player if they respawn mid-round.

    See below for an in-depth explanation of the bug.


    Explanation

    The game allows players without a class to instantly respawn after joining one. That functionality has not been disabled in arena mode.
    The instant respawn can be triggered by joining a team during pre-round without joining a class, then joining the same class twice after the round has started and the minimum respawn time has passed. This will instantly respawn the player.

    This could be fixed in game code by Valve adding a check for arena mode in CTFPlayer::ShouldGainInstantSpawn.

    Download | Source Code
    Requires dhooks2 with detour support (included in SM 1.11)
    __________________

    Last edited by Mikusch; 09-10-2022 at 08:57.
    Mikusch is offline
     



    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 04:29.


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