Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Restart Without Changelevel


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
iaNanaNana
Member
Join Date: Sep 2020
Location: Two-dimensional
Plugin ID:
7763
Plugin Version:
1.6
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    34 
    Plugin Description:
    Restart round but don't changelevel
    Old 08-23-2021 , 00:24   [L4D1 & L4D2] Restart Without Changelevel
    Reply With Quote #1

    According to many people thought the restart scenario from vote will restart the current level, but original is not, so this plugin came out.
    Make restart scenario from vote no longer change map to first map of scenario.


    Required Extension : SourceScramble

    Required Plugin : Left 4 DHooks Direct


    Thanks:
    • Forgetest - Technical support and help me find the win sigs and offset
    • Psyk0tik - Technical support

    Cvar:
    PHP Code:
    l4d_vote_restart_round "1" // Turn on/off the restart game from vote to restart current level. 
    Changes:
    Code:
    1.6	  - 2024/2/8
    	  - Reset current round team score after restarted
    	  - Fixed the wrong offset of "CDirector::m_iRoundNumber". Thanks to Forgetest for technical support.
    
    1.5.2 - 2023/5/25
    	  - Updated L4D2 offsets and signatures.
    
    1.5.1 - 2023/5/10
    	  - Fixed L4D_GetGameModeType() work problem in L4D1. Thanks to HarryPotter for reporting and provide solution.
    
    1.5 - 2023/4/25
    	- Reduce unnecessary code.
    	- Function CDirector::EndScenario instead CDirector::Restart
    	- Added restart reason number. #usage: sm_restart <L4D2_RestartReason> || empty for auto
    	- Fixed broken win signatures.
    
    1.4.1 - 2022/12/8
    	- Fixed crash the server after call the restart vote. Thanks to gabuch2 for reporting.
    	- Fixed invalid Win signatures.
    
    1.4 - 2022/12/7
    	- Added Versus Support :  Restart current round without loading map, it can restore to the score before the start of current round.
    	- Added admin command (GENERIC) "sm_restart" : Restart current round/level immediately
    	- CRestartGameIssue::ExecuteCommand instead RestartScenarioFromVote
    	- Fixed may crash on Win server. Thanks to Silvers for reporting.
    
    1.2
    	- Added l4d1 support. Thanks to Beatles for suggestion.
    	- Reduce unnecessary code.
    	
    1.1
    	- Fixed plugin conflict with left4dhooks while in windows server. Thanks to HarryPotter for reporting.
    	- Fixed wrong detour setting cause crash the windows server. Thanks to Psyk0tik for technical support.
    
    1.0
    	- Initial release

    Last edited by iaNanaNana; 02-08-2024 at 03:03. Reason: Update
    iaNanaNana 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 17:02.


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