Raised This Month: $ Target: $400
 0% 

[L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
6764
Plugin Version:
1.2.1
Plugin Category:
Technical/Development
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Creates a clean way to change maps, sm_map causes leaks and other spooky stuff causing server perf to be worse over time.
    Old 10-16-2019 , 01:56   [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
    Reply With Quote #1

    Hi, This plugin fixes level changing from degrading server performance with a native to use in your map changing plugins

    This plugin does near nothing on it's own it's for dev's to include in their mission managers.

    However there is a command
    "sm_changelevel" This requires Admin_Root or from server console function same as sm_map.


    Tech stuff
    Spoiler


    Native
    PHP Code:

    /**
    *    @param    sMapName                Map String without .bsp
    *    @param    bShouldResetScores        Reset all scores in all gamemodes
    *    @noreturn
    */
    native void L4D2_ChangeLevel(const char[] sMapNamebool bShouldResetScores=true); 
    [L4D2] Improved Automatic Campaign Switcher (ACS)

    Thanks:
    SirPlease for testing.
    Silvers throwing ideas.
    A1m` testing and reporting issue.


    Maybe this method will get merged into sourcemod for l4d2 only?

    Installation:

    1.Download the .zip file.
    2.Merge with \addons\ folder.
    3.Restart the server.
    Attached Files
    File Type: zip l4d2_levelchanging.zip (10.4 KB, 1802 views)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 10-02-2020 at 19:50. Reason: update
    Lux 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 22:10.


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