Raised This Month: $252 Target: $400
 63% 

[L4D & L4D2] Difficulty Adjustment System (v14.0, 08-06-2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Plugin ID:
5925
Plugin Version:
14.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Adjusts difficulty based on the number of alive non-idle human survivors on the server.
    Old 11-22-2017 , 22:44   [L4D & L4D2] Difficulty Adjustment System (v14.0, 08-06-2018)
    Reply With Quote #1

    Introduction

    Phoenix0001 suggested a plugin like this so Tak (Chaosxk) wrote a short one. Unfortunately, it wasn't properly checking for the amount of players on the server after every map transition. Lux then revised the code but the plugin still didn't work reliably. I then decided to revise his revision and made the "Difficulty Adjustment System" (D.A.S).

    The README on GitHub contains all the information you need to know about the Difficulty Adjustment System. If there's something that hasn't been addressed that you're concerned about, feel free to ask on this thread.

    View the CHANGELOG.

    GitHub Repository (Always up-to-date)

    Thread's current version: v14.0
    GitHub repository's current version: v14.0
    Attached Files
    File Type: sp Get Plugin or Get Source (difficulty_adjustment_system.sp - 989 views - 9.6 KB)
    __________________
    AFK like JFK

    Last edited by Crasher_3637; 08-06-2018 at 06:55. Reason: Updated to v14.0
    Crasher_3637 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 11-23-2017 , 02:17   Re: [L4D & L4D2] Difficulty Adjustment System
    Reply With Quote #2

    Wow! so cool! ! thank you very much! ! !
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    eziosid
    Senior Member
    Join Date: Sep 2017
    Old 11-23-2017 , 02:50   Re: [L4D & L4D2] Difficulty Adjustment System
    Reply With Quote #3

    thank you very much keep it up
    eziosid is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 11-23-2017 , 16:51   Re: [L4D & L4D2] Difficulty Adjustment System (v2.0, 11-23-2017)
    Reply With Quote #4

    Version 2.0 is out!

    Changes

    1. Removed unnecessary code.

    Please redownload the plugin from the first post!
    __________________
    AFK like JFK
    Crasher_3637 is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 11-24-2017 , 21:22   Re: [L4D & L4D2] Difficulty Adjustment System (v3.0, 11-24-2017)
    Reply With Quote #5

    Version 3.0 is out!

    Changes

    1. Unhooked the update client function from the "difficulty_changed" event to prevent crashes when the difficulty is changed manually.

    Please redownload the plugin from the first post!
    __________________
    AFK like JFK

    Last edited by Crasher_3637; 11-24-2017 at 21:23.
    Crasher_3637 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 11-25-2017 , 03:22   Re: [L4D & L4D2] Difficulty Adjustment System (v3.0, 11-24-2017)
    Reply With Quote #6

    thank you very much! ! !
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 11-26-2017 , 04:55   Re: [L4D & L4D2] Difficulty Adjustment System (v4.0, 11-26-2017)
    Reply With Quote #7

    Version 4.0 is out!

    Changes

    1. Added support for multiple combinations.

    Please redownload the plugin from the first post!
    __________________
    AFK like JFK
    Crasher_3637 is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 11-26-2017 , 04:55   Re: [L4D & L4D2] Difficulty Adjustment System (v4.0, 11-26-2017)
    Reply With Quote #8

    I'm going to add this information to the main post, but I'll post here as well:

    Examples of Valid Settings

    1a. Changing to only 1 difficulty.
    Spoiler


    Output: The server switches to Expert when at least 1 player joins.

    2a. Keeping the server on a constant difficulty setting.
    Spoiler


    Output: The server will always be on Normal difficulty.

    1b and 2b. Keeping the server on a constant difficulty setting and changing to only 1 difficulty.
    Spoiler


    Output: The server only switches to Advanced when at least 1 player joins.
    __________________
    AFK like JFK
    Crasher_3637 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 11-28-2017 , 00:28   Re: [L4D & L4D2] Difficulty Adjustment System (v4.0, 11-26-2017)
    Reply With Quote #9

    Cool...............
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 12-02-2017 , 01:59   Re: [L4D & L4D2] Difficulty Adjustment System (v5.0, 12-01-2017)
    Reply With Quote #10

    Version 5.0 is out!

    Changes

    1. Optimized code a bit.

    Please redownload the plugin from the first post!
    __________________
    AFK like JFK
    Crasher_3637 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 15:51.


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