Raised This Month: $51 Target: $400
 12% 

[L4D] Priority Reserved Slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
8225
Plugin Version:
1.8
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Reserve the place according to priorities, admin, vip, names, SteamId
    Old 10-04-2022 , 13:56   [L4D] Priority Reserved Slots
    Reply With Quote #1

    Description:
    Kicks player with the lowest priority if he's trying to take the latest reserved slot.
    Priority rules - from lowest (who will be kicked first) to highest:
    • Players list specially defined in file (by exact or partial name, or SteamId)
    • Observer who make no actions within X minutes (adjustable) - only the most idle time is taken
    • (optional) Player who has the minimum statistics points according to DragoStats plugin
    • Other players, except immune (see below)
    Immune:
    • Root admin
    • Other admins
    • (optional) VIPs of R1KO's core
    Features:
    - Logging to file: logs/reserved_slot.log
    - Lowest priority players (name or SteamId): data/reservedslot_low_priority.txt
    Settings (ConVars):
    PHP Code:
    // The last slot where other clients will be kicked
    l4d_reserved_max_slot "9"

    // Override sv_maxplayers value (0 - to disable)
    l4d_reserved_maxplayers_fix "9"

    // Maximum observing time (in minutes) to become a candidate on kicking
    l4d_max_observe_time "15"

    // Kick player with lowest points in statistics? (1 - Yes, 0 - No)
    l4d_reserved_kick_by_stat "1" 
    Requirements:
    - (optional) VIP Core by R1KO
    - (optional) DragoStats by Dragokas
    Supported games:
    - L4D1.
    - L4D2.
    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon
    - BitCoin
    - Ю.Money
    P.S.:
    - It's my private plugin written for myself and my Bloody Witch team.
    - Project and updates discontinued. Don't ask.
    Attached Files
    File Type: zip ReservedSlot.zip (12.3 KB, 61 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 07-29-2023 at 05:46.
    Dragokas is offline
    Alexmy
    Senior Member
    Join Date: Oct 2014
    Location: Russian Federation
    Old 07-28-2023 , 13:02   Re: [L4D] Priority Reserved Slots
    Reply With Quote #2

    Hi,it would be great if could make the last player who took the reserve slot kick out.
    __________________
    [/URL]
    Alexmy is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 07-29-2023 , 03:22   Re: [L4D] Priority Reserved Slots
    Reply With Quote #3

    Well, it is exactly what this plugin doing.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Alexmy
    Senior Member
    Join Date: Oct 2014
    Location: Russian Federation
    Old 07-29-2023 , 04:39   Re: [L4D] Priority Reserved Slots
    Reply With Quote #4

    No, kicks a random player, he also kicks special infected. For a couple of hours of work, my debug log was more than 1.5 MB

    PHP Code:
    L 07/28/2023 19:51:37: [l4d_reserved_slots.smx] [KICKEDSuper Spitter (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:38: [l4d_reserved_slots.smx] [JOINED]
    L 07/28/2023 19:51:38: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 Boomer (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:38: [l4d_reserved_slots.smx] [KICKEDBoomer (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:39: [l4d_reserved_slots.smx] [JOINED] (1)Jockey (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:39: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 Charger (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:39: [l4d_reserved_slots.smx] [KICKEDCharger (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [JOINED]
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 Super Boomer (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [KICKEDSuper Boomer (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [JOINED]
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 (1)Jockey (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:40: [l4d_reserved_slots.smx] [KICKED] (1)Jockey (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:44: [l4d_reserved_slots.smx] [JOINED]
    L 07/28/2023 19:51:44: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 Hunter (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:44: [l4d_reserved_slots.smx] [KICKEDHunter (BOT | [] 127.0.0.1)
    L 07/28/2023 19:51:45: [l4d_reserved_slots.smx] [JOINED]
    L 07/28/2023 19:51:45: [l4d_reserved_slots.smx] [SELECTEDLowest stat points1000000 Super Boomer (BOT | [] 127.0.0.1
    __________________
    [/URL]

    Last edited by Alexmy; 07-29-2023 at 04:39.
    Alexmy is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 07-29-2023 , 05:50   Re: [L4D] Priority Reserved Slots
    Reply With Quote #5

    Well, as you can see it wasn't intended for versus. Also, you have logs, so you have all the information why it kick.

    Updated.
    Quote:
    v1.8
    - Attempt to add support for versus (prevent kicking bots, may have a negative impact on coop, need tests)
    - if lastly joined player is admin, try to kick non-admin
    - added ConVar "l4d_reserved_kick_by_stat", if you want you can disable kick by lowest statistics points
    - if they're nobody to kick, the currently joined player is to be kicked.
    __________________
    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 07-29-2023 , 11:58   Re: [L4D] Priority Reserved Slots
    Reply With Quote #6

    Quote:
    Originally Posted by Alexmy View Post
    Hi,it would be great if could make the last player who took the reserve slot kick out.
    You can try mine
    __________________
    HarryPotter is offline
    Reply



    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 08:59.


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