Raised This Month: $ Target: $400
 0% 

[L4D2] Transition Info Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
iaNanaNana
Member
Join Date: Sep 2020
Location: Two-dimensional
Plugin ID:
7849
Plugin Version:
1.0.1
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    36 
    Plugin Description:
    Old 11-09-2021 , 10:13   [L4D2] Transition Info Fix
    Reply With Quote #1

    After map transitioned, transition info is still retaining when changed new map by other ways (such "changelevel" command). This can cause to restore last saved transition info when restarting current round. This plugin will clear those transition info if no longer is transitioned map.
    Both Linux and Win supported.

    Required Extension : DHooks (Dynamic Hooks)

    Installation:
    Put .txt to ../sourcemod/gamedata/
    Put .smx to ../sourcemod/plugins/

    Changes:
    Code:
    1.0.1 - 2023/5/25
    	  - Updated signature. Thanks to "sorallll" for provide.
    
    1.0
    	- Initial release
    Attached Files
    File Type: smx l4d2_transition_info_fix.smx (5.0 KB, 394 views)
    File Type: sp Get Plugin or Get Source (l4d2_transition_info_fix.sp - 385 views - 1.7 KB)
    File Type: txt l4d2_transition_info_fix.txt (1.4 KB, 540 views)
    File Type: zip l4d2_transition_info_fix_1.0.1.zip (6.0 KB, 297 views)

    Last edited by iaNanaNana; 05-24-2023 at 17:46. Reason: update
    iaNanaNana is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 11-13-2021 , 08:48   Re: [L4D2] Transition Info Fix
    Reply With Quote #2

    Isn't this only an issue on maps that is not first map of the campaign? Why would you use changelevel for maps that are middle of the campaign?
    tRololo312312 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-16-2021 , 11:33   Re: [L4D2] Transition Info Fix
    Reply With Quote #3

    Quote:
    Originally Posted by iaNanaNana View Post
    This can cause to restore last saved transition info when restarting current round.
    Which negative effects are seen due to this?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    iaNanaNana
    Member
    Join Date: Sep 2020
    Location: Two-dimensional
    Old 11-17-2021 , 07:45   Re: [L4D2] Transition Info Fix
    Reply With Quote #4

    Quote:
    Originally Posted by Dragokas View Post
    Which negative effects are seen due to this?
    Survivors respawn to outside of the map sometimes.
    iaNanaNana is offline
    thewintersoldier97
    Senior Member
    Join Date: Aug 2021
    Location: Vietnam
    Old 11-17-2021 , 09:35   Re: [L4D2] Transition Info Fix
    Reply With Quote #5

    Yea this actually need a better description cause I have no idea what it does
    __________________

    Looking for some fun!
    thewintersoldier97 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-17-2021 , 18:54   Re: [L4D2] Transition Info Fix
    Reply With Quote #6

    Quote:
    Originally Posted by iaNanaNana View Post
    Survivors respawn to outside of the map sometimes.
    hmm, I observed something similar in L4D1 addon campaigns, when changelevel is applied to load the 1st map.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 05-18-2023 , 15:42   Re: [L4D2] Transition Info Fix
    Reply With Quote #7

    After l4d2 update


    PHP Code:
    L 05/19/2023 02:32:16: [SMException reportedSignature ServerShutdown invalid.
    L 05/19/2023 02:32:16: [SMBlamingl4d2_transition_info_fix.smx
    L 05
    /19/2023 02:32:16: [SMCall stack trace:
    L 05/19/2023 02:32:16: [SM]   [0SetFailState
    L 05
    /19/2023 02:32:16: [SM]   [1Line 35l4d2_transition_info_fix.sp::OnPluginStart 
    __________________
    HarryPotter is offline
    sorallll
    Senior Member
    Join Date: Oct 2018
    Old 05-18-2023 , 17:44   Re: [L4D2] Transition Info Fix
    Reply With Quote #8

    Quote:
    Originally Posted by HarryPotter View Post
    After l4d2 update


    PHP Code:
    L 05/19/2023 02:32:16: [SMException reportedSignature ServerShutdown invalid.
    L 05/19/2023 02:32:16: [SMBlamingl4d2_transition_info_fix.smx
    L 05
    /19/2023 02:32:16: [SMCall stack trace:
    L 05/19/2023 02:32:16: [SM]   [0SetFailState
    L 05
    /19/2023 02:32:16: [SM]   [1Line 35l4d2_transition_info_fix.sp::OnPluginStart 
    PHP Code:
        /* CDirector::OnServerShutdown(CDirector *__hidden this) */
        
    "CDirector::OnServerShutdown"
        
    {
            
    "library"    "server"
            "linux"        "@_ZN9CDirector16OnServerShutdownEv"
            "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x8E\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x57"
            
    /* ? ? ? ? ? ? 8B ? 8B 8E ? ? ? ? 8B ? 8B ? 57 */
        

    sorallll is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 05-19-2023 , 14:31   Re: [L4D2] Transition Info Fix
    Reply With Quote #9

    Quote:
    Originally Posted by sorallll View Post
    PHP Code:
        /* CDirector::OnServerShutdown(CDirector *__hidden this) */
        
    "CDirector::OnServerShutdown"
        
    {
            
    "library"    "server"
            "linux"        "@_ZN9CDirector16OnServerShutdownEv"
            "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x8E\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x57"
            
    /* ? ? ? ? ? ? 8B ? 8B 8E ? ? ? ? 8B ? 8B ? 57 */
        

    thanks
    __________________

    Last edited by HarryPotter; 05-19-2023 at 14:31.
    HarryPotter is offline
    thewintersoldier97
    Senior Member
    Join Date: Aug 2021
    Location: Vietnam
    Old 05-20-2023 , 06:22   Re: [L4D2] Transition Info Fix
    Reply With Quote #10

    Quote:
    Originally Posted by sorallll View Post
    PHP Code:
        /* CDirector::OnServerShutdown(CDirector *__hidden this) */
        
    "CDirector::OnServerShutdown"
        
    {
            
    "library"    "server"
            "linux"        "@_ZN9CDirector16OnServerShutdownEv"
            "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x8E\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x57"
            
    /* ? ? ? ? ? ? 8B ? 8B 8E ? ? ? ? 8B ? 8B ? 57 */
        

    Hi sorallll, how can I update this?
    __________________

    Looking for some fun!
    thewintersoldier97 is offline
    Reply


    Thread Tools
    Display Modes

    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 21:50.


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