AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Left 4 Dead Slots (https://forums.alliedmods.net/showthread.php?t=333092)

Accelerator 06-19-2021 02:56

[L4D & L4D2] Left 4 Dead Slots
 
2 Attachment(s)
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!

Psyk0tik 06-19-2021 03:13

Re: [L4D & L4D2] Left 4 Dead Slots
 
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.

Accelerator 06-19-2021 03:35

Re: [L4D & L4D2] Left 4 Dead Slots
 
Added.

Silvers 06-19-2021 08:43

Re: [L4D & L4D2] Left 4 Dead Slots
 
Wow! Good job, about time this was brought over to a plugin. :up:

mikaelangelis 06-19-2021 12:05

Re: [L4D & L4D2] Left 4 Dead Slots
 
does it mean a local host can add up to 32 slots?

marki89 06-19-2021 12:59

Re: [L4D & L4D2] Left 4 Dead Slots
 
Quote:

Originally Posted by mikaelangelis (Post 2750393)
does it mean a local host can add up to 32 slots?

I wonder the same :shock: :oops:

foxhound27 06-19-2021 13:05

Re: [L4D & L4D2] Left 4 Dead Slots
 
Nice release! thank you Accelerator :claps:

zomexf 06-19-2021 13:18

Re: [L4D & L4D2] Left 4 Dead Slots
 
Thanks.
Normal work.

marki89 06-19-2021 13:26

Re: [L4D & L4D2] Left 4 Dead Slots
 
06/19/2021 - 13:12:31: [SM] Call stack trace:
06/19/2021 - 13:12:31: [SM] [0] SetConVarInt
06/19/2021 - 13:12:31: [SM] [1] Line 193, /home/forums/content/files/9/1/5/6/3/186872.attach::OnMapStart
06/19/2021 - 13:12:34: [l4dslots.smx] sv_maxplayers MS init error
:(

Accelerator 06-19-2021 13:35

Re: [L4D & L4D2] Left 4 Dead Slots
 
1 Attachment(s)
Quote:

Originally Posted by mikaelangelis (Post 2750393)
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 (Post 2750406)
06/19/2021 - 13:12:31: [SM] Call stack trace:
06/19/2021 - 13:12:31: [SM] [0] SetConVarInt
06/19/2021 - 13:12:31: [SM] [1] Line 193, /home/forums/content/files/9/1/5/6/3/186872.attach::OnMapStart
06/19/2021 - 13:12:34: [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.


All times are GMT -4. The time now is 19:58.

Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.