Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Plugin ID:
5925
Plugin Version:
14.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    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



    Rate this plugin

    Donate to Motivate

    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 - 2113 views - 9.6 KB)
    __________________

    Last edited by Psyk0tik; 09-03-2021 at 20:52. Reason: Updated main post
    Psyk0tik 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
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    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!
    __________________
    Psyk0tik is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    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!
    __________________

    Last edited by Psyk0tik; 11-24-2017 at 21:23.
    Psyk0tik 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
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    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!
    __________________
    Psyk0tik is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    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.
    __________________
    Psyk0tik 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
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    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!
    __________________
    Psyk0tik 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 07:23.


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