Raised This Month: $305 Target: $400
 76%   Almost there!

[L4D & L4D2] Left 4 Dead Slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Accelerator
AlliedModders Donor
Join Date: Dec 2010
Location: Russia
Plugin ID:
7689
Plugin Version:
1.1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    29 
    Plugin Description:
    Unlock the max player limit on L4D and L4D2
    Old 06-19-2021 , 01:56   [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #1

    Plugin to unlock the max player limit on L4D and L4D2.

    The plugin can only unlock 18 slots. For more slots (up to 32) use L4DToolZ

    Thanks:
    L4DToolZ by ivalosp: https://forums.alliedmods.net/showthread.php?t=93600
    Code Patcher: https://github.com/SirPlease/L4D2-Co...ode_patcher.sp

    Cvars:
    sv_maxplayers - max human players that can join your server. -1 to disable and use standart check (range 0 to 18 ).
    sv_removehumanlimit - remove kick for players (only L4D) when they are more than 8 for vs and 4 for coop(0 to disable, 1 to enable).
    sv_force_unreserved - if you set it to 1 before connection from lobby your server will stay unreserved and allow players to connect using connect command, this command sets.

    Before installing the plugin, be sure to remove the L4DToolZ extension!

    Installing:
    Place l4dslots.txt to sourcemod/gamedata.
    Place l4dslots.smx to sourcemod/plugins.

    Note: Use SourceMod 1.11.6696 and newer for the plugin to work correctly!
    Attached Files
    File Type: sp Get Plugin or Get Source (l4dslots.sp - 336 views - 10.3 KB)
    File Type: txt l4dslots.txt (6.8 KB, 216 views)
    __________________

    Last edited by Accelerator; 07-05-2021 at 08:18. Reason: gamedata fix for L4D
    Accelerator is offline
    Psyk0tik
    AlliedModders Donor
    Join Date: May 2012
    Location: Homeless
    Old 06-19-2021 , 02:13   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #2

    Can you please change the names of the variables and patches to be more descriptive? It would make it easier for others to help maintain this plugin. One flaw of L4DToolZ was how the author used vague names like "lobby_sux" which doesn't say much about what the patches actually do.
    __________________
    AFK like JFK
    --
    Donate to Motivate
    --
    Get the latest L4D1&2 signatures for 300+ functions commonly used by several plugins!
    --
    PM me if you need help with finding signatures and/or offsets in the following games: L4D1&2/CSGO/TF2/NMRIH/INS/DODS/CSS/HL2DM
    Psyk0tik is offline
    Accelerator
    AlliedModders Donor
    Join Date: Dec 2010
    Location: Russia
    Old 06-19-2021 , 02:35   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #3

    Added.
    __________________

    Last edited by Accelerator; 06-19-2021 at 07:32.
    Accelerator is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-19-2021 , 07:43   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #4

    Wow! Good job, about time this was brought over to a plugin.
    __________________
    Silvers is offline
    mikaelangelis
    Senior Member
    Join Date: Oct 2017
    Old 06-19-2021 , 11:05   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #5

    does it mean a local host can add up to 32 slots?
    mikaelangelis is offline
    marki89
    Member
    Join Date: Jun 2020
    Location: Argentina
    Old 06-19-2021 , 11:59   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #6

    Quote:
    Originally Posted by mikaelangelis View Post
    does it mean a local host can add up to 32 slots?
    I wonder the same
    marki89 is offline
    foxhound27
    Senior Member
    Join Date: Sep 2019
    Location: Argentina
    Old 06-19-2021 , 12:05   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #7

    Nice release! thank you Accelerator :claps:

    Last edited by foxhound27; 06-19-2021 at 12:05.
    foxhound27 is offline
    zomexf
    Junior Member
    Join Date: Jul 2019
    Old 06-19-2021 , 12:18   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #8

    Thanks.
    Normal work.
    __________________
    Sorry, My English is bad

    Last edited by zomexf; 06-20-2021 at 17:47.
    zomexf is offline
    marki89
    Member
    Join Date: Jun 2020
    Location: Argentina
    Old 06-19-2021 , 12:26   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #9

    06/19/2021 - 13:121: [SM] Call stack trace:
    06/19/2021 - 13:121: [SM] [0] SetConVarInt
    06/19/2021 - 13:121: [SM] [1] Line 193, /home/forums/content/files/9/1/5/6/3/186872.attach::OnMapStart
    06/19/2021 - 13:124: [l4dslots.smx] sv_maxplayers MS init error
    marki89 is offline
    Accelerator
    AlliedModders Donor
    Join Date: Dec 2010
    Location: Russia
    Old 06-19-2021 , 12:35   Re: [L4D & L4D2] Left 4 Dead Slots
    Reply With Quote #10

    Quote:
    Originally Posted by mikaelangelis View Post
    does it mean a local host can add up to 32 slots?
    I find it difficult to answer this You can check and report)

    This plugin works exactly like l4dtoolz, it patches memory. This is where its functionality ends

    Quote:
    Originally Posted by marki89 View Post
    06/19/2021 - 13:121: [SM] Call stack trace:
    06/19/2021 - 13:121: [SM] [0] SetConVarInt
    06/19/2021 - 13:121: [SM] [1] Line 193, /home/forums/content/files/9/1/5/6/3/186872.attach::OnMapStart
    06/19/2021 - 13:124: [l4dslots.smx] sv_maxplayers MS init error
    As the note says, we have to wait for the fix from the Sourcemod developers. This error indicates that the matchmaking_ds library was not found. You can replace in the bin folder with the fixed library below. The library finds correctly only on Windows.
    Attached Files
    File Type: zip sm_fixed.zip (1.29 MB, 143 views)
    __________________

    Last edited by Accelerator; 06-19-2021 at 13:18.
    Accelerator 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 19:12.


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