Raised This Month: $ Target: $400
 0% 

[L4D2] Transition Restore Fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
sorallll
Senior Member
Join Date: Oct 2018
Plugin ID:
7958
Plugin Version:
1.2.5
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    277 
    Plugin Description:
    Restoring transition data by player's UserId instead of character
    Old 02-09-2022 , 12:42   [L4D2] Transition Restore Fix
    Reply With Quote #1

    Description:
    About:
    • This is a replacement for Merudo's Save Weapon 4.3 (forked) so remove it.
    • According to Harry Potter's report, if you want a Survivor Bot that exceeds the survivor_limit limit to not be kicked out of the game after transition restored, you need a Bot management plugin that can dynamically set the value of survivor_limit, such as Merudo's SuperVersus

    Thanks:
    Requirements:
    Related Plugins:
    ConVars:
    PHP Code:
    // Transition Restore Fix plugin version
    transition_restore_fix_version

    // What to choose bot data according to after restart? (0=Model Name, otherwise=Character)
    choose_bot_data "0" 
    Changes:
    Code:
    1.2.5 (19-May-2023)
    - Fix signature invalidation caused by 2.2.2.7 update
    
    1.2.4 (20-Nov-2022)
    - Update signature and cleaned up some code
    
    1.2.3 (24-Oct-2022)
    - Removed ConVar "restart_keep_identity"
    - Added ConVar "choose_bot_data" to use which data to choose bot data after restart
    - Fixed a bug in version 1.2.2, where characters may be confused after restar
    
    1.2.2 (1-Sep-2022)
    - Fix incorrect address validation
    - Add support for players joining the game midway through
    
    1.2.1 (19-Aug-2022)
    - Added support for SurvivorBot data recovery after a failed round restart
    - Fix Invalid Handle error
    
    1.2.0 (19-Apr-2022)
    - Fixed "RestoreTransitionedSurvivorBots::MaxRestoreSurvivorBots" patch not being applied correctly
    
    1.1.9 (19-Apr-2022)
    - Fix the function name is too long error when compiling on sourcemod1.10
    - Fixed a bug where the survivor model was not pre-cached causing the server to crash
    
    1.1.8 (1-Apr-2022)
    - Prevents players joining the game during transition from taking over the Survivor Bot of transitioning players
    - Prevent CDirectorSessionManager::FillRemainingSurvivorTeamSlotsWithBots from triggering before RestoreTransitionedSurvivorBots(void) during transition
    
    1.1.7 (30-Mar-2022)
    - Merge the features of [L4D2] Keep Survivor Bots After Transition
    
    1.1.6 (29-Mar-2022)
    - Fixed the data confusion caused by new players joining in the transition process
    
    1.1.5 (27-Mar-2022)
    - Fix the problem that the plugin has not taken effect on Windows all the time
    
    1.1.4 (19-Mar-2022)
    - Add team checks and more durable Windows signatures
    
    1.1.3 (01-Mar-2022)
    - Add signature thanks
    - Reduce the size of the array
    
    1.1.2 (22-Feb-2022)
    - Added a ConVar to allow the player to keep the current character and model after a failed mission restart, like the game default
    - Delete old cfg files to update
    
    1.1.1 (19-Feb-2022)
    - Add code to generate cfg
    - Reduce reliance on signatures
    - Compatible with sourcemod-1.10
    
    1.0.9 (17-Feb-2022)
    - Name change to 'Transition Restore Fix'
    - Delete old 'Player Transition Save Data' version to update
    - Changed the method of saving and restored data to memory patch
    
    1.0.8 (14-Feb-2022)
    - The player character is only restored the first time
    
    1.0.7 (12-Feb-2022)
    - Thanks Silvers for a better way to get or set ammo
    Attached Files
    File Type: sp Get Plugin or Get Source (transition_restore_fix.sp - 510 views - 14.9 KB)
    File Type: txt transition_restore_fix.txt (7.6 KB, 509 views)

    Last edited by sorallll; 05-18-2023 at 16:10.
    sorallll 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 20:56.


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