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

[L4D2]max players Chronic increase


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-02-2019 , 09:38   [L4D2]max players Chronic increase
Reply With Quote #1

I want to request a new feature.
The maximum number of players on all servers is fixed.
How to make the number of players after the server is started is 4 people by default [0/4]. After 3 players enter the server [3/4], the number of server players automatically increases by 2 positions. [3/6] and so on, until The maximum number of people fixed.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-02-2019 , 16:06   Re: [L4D2]max players Chronic increase
Reply With Quote #2

You can try using ABM plugin

https://forums.alliedmods.net/showthread.php?t=291562
Marttt is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-05-2019 , 08:27   Re: [L4D2]max players Chronic increase
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
First of all, I want to thank you for your help.

I saw the post you gave me.
Not the function I want.
What I want is the change in the number of people seen in the lobby. It's such a simple request.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-05-2019 , 17:07   Re: [L4D2]max players Chronic increase
Reply With Quote #4

Oh sorry...

Well you should search for something like "dynamic slots"

Try this plugin here:
https://forums.alliedmods.net/showthread.php?p=1948126

Maybe it's not exactly what you asked for but can give some direction.
Marttt is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-06-2019 , 11:19   Re: [L4D2]max players Chronic increase
Reply With Quote #5

I am testing, it seems to be a bit useful. But still not sure.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-07-2019 , 03:40   Re: [L4D2]max players Chronic increase
Reply With Quote #6

if you're using l4dtoolz, it's as easy as just changing the survivor_limit cvar. simply set it to humancount+2


You can view the source code for a plugin that I wrote which dynamically modified the player slots:
https://github.com/exskye/l4d2/blob/...ynamicslots.sp

Last edited by Skyy; 03-07-2019 at 03:55.
Skyy is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-23-2019 , 10:22   Re: [L4D2]max players Chronic increase
Reply With Quote #7

Quote:
Originally Posted by Skyy View Post
if you're using l4dtoolz, it's as easy as just changing the survivor_limit cvar. simply set it to humancount+2


You can view the source code for a plugin that I wrote which dynamically modified the player slots:
https://github.com/exskye/l4d2/blob/...ynamicslots.sp
Ok, thank you, I am going to test it.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-25-2019 , 07:17   Re: [L4D2]max players Chronic increase
Reply With Quote #8

Quote:
Originally Posted by Skyy View Post
if you're using l4dtoolz, it's as easy as just changing the survivor_limit cvar. simply set it to humancount+2


You can view the source code for a plugin that I wrote which dynamically modified the player slots:
https://github.com/exskye/l4d2/blob/...ynamicslots.sp

I need readyup.inc, wrap.inc
Can you provide it?
__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 03-25-2019 at 07:19.
phoenix0001 is offline
dustinandband
Senior Member
Join Date: May 2015
Old 03-25-2019 , 13:52   Re: [L4D2]max players Chronic increase
Reply With Quote #9

Thought of making something like this as well, but what's the point? I guess the only use-case for something like this is if you're renting a pre-configured game server where they charge extra $ for additional slots (what a rip off)
dustinandband is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 03-26-2019 , 14:30   Re: [L4D2]max players Chronic increase
Reply With Quote #10

Quote:
Originally Posted by dustinandband View Post
Thought of making something like this as well, but what's the point? I guess the only use-case for something like this is if you're renting a pre-configured game server where they charge extra $ for additional slots (what a rip off)
I have my own server.
The purpose of doing this is
Always let the server show that the number of people is about to be full.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 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 19:24.


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