halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[GoldSrc][Feature Request][Dedicated Server] Increase player slots > 32.

Open MasteRs-git opened this issue 13 years ago • 34 comments

Increase player slots count more than 32 if it's technically possible. I think GoldSrc engine can support more than 32 players.

MasteRs-git avatar Feb 26 '13 20:02 MasteRs-git

How come I didn't think about this? Really nice job posting it.

di57inct avatar Feb 27 '13 03:02 di57inct

That will break almost every Amx Plugins .... They have a limit of 32 players :| This is a good idea but then amx plugins have to get updated (almost all)

911r0ck avatar Feb 27 '13 04:02 911r0ck

Use dynamic arrays! And it would need a simple recompilation with a constant set to a different size.

txdv avatar Feb 27 '13 11:02 txdv

GoldSource will have to be partially rewritten to support more than 32 players, as there are a lot of places where it relies on maxplayers to be 32. That would be very breaking change, and that's out of scope of this update.

xPaw avatar Feb 27 '13 11:02 xPaw

Out of scope of this update means that it is never going to happen?

txdv avatar Feb 27 '13 12:02 txdv

Pretty much.

xPaw avatar Feb 27 '13 12:02 xPaw

Well you aren't forced to use more than 32 slots by the default, so it won't break anything for ordinary server operators. Valve can enable support if it is technically possible. This have to be optitonal paramater if it breaks something.

MasteRs-git avatar Feb 27 '13 12:02 MasteRs-git

Let's just wait and see what the devs have to say.

di57inct avatar Feb 27 '13 13:02 di57inct

The thing is that it would require a rewrite which could potentially break the installs. Just because you aren't using the feature doesn't mean that it's very inclusion doesn't break something.

On an aside, 32 players is quite a few, plus it's a round number (100000).

MrSchism avatar Feb 27 '13 14:02 MrSchism

Although I do like the idea of an uber deathmatch with 64 players BF1942 style, this would also require a re-build of many maps for different games to prevent telefragging. It is a big big job.

Gr1mRe4pEr avatar Feb 27 '13 19:02 Gr1mRe4pEr

good idea but, almost all the maps have only 32 player spawns

m3tAf0x avatar Feb 27 '13 19:02 m3tAf0x

Spawns is a least problem with this.

LevShisterov avatar Feb 27 '13 19:02 LevShisterov

It'd create a unique issue for players playing on older setups.

Imagine logging onto a server and they've updated the engine by one or two bit-places. That's a max of 64 or 128 people. Lower ram/ weak processor builds would function like garbage and could potentially crash clients a bunch of clients and maybe even the server if... say... 50-100 people decided to all throw smoke at the same time.

It's never been tested with the engine and could very likely occur.

MrSchism avatar Feb 27 '13 19:02 MrSchism

Well, if it is technically possible to enable support for more than 32 players you could test it for example in private beta. About smoke, Valve should fully rewrite smoke system, because even on high-end PCs there are big FPS drops. For example I am using GTX 670 and even I can get fps below 30. Smoke should be fixed. This isn't impossible. Support for more than 32 players also isn't impossible.

MasteRs-git avatar Feb 27 '13 19:02 MasteRs-git

@MasteRs-git It is not about the smoke, MSAA causes fps drops. Post your system specs in #241, Valve ignores the problem...

ghost avatar Feb 27 '13 20:02 ghost

@MaxKorz Yes, I know, but that isn't the biggest problem, smoke system what Valve use currently isn't well optimized, Valve should re-write it or at least optimize it. By the way entire GoldSrc should be optimized, there are alot of performance issues which cause high FPS drops, lags etc.

System specs: CPU: i7 3770k GPU: GTX 670 2GB RAM: 16GB DDR3 GPU DRIVERS: 314.07 OS: Windows Server 2012 Standard x64

MasteRs-git avatar Feb 27 '13 20:02 MasteRs-git

I'm fine with a lot less system specs :p

16GB o.O do you even break 20% usage?

ghost avatar Feb 27 '13 21:02 ghost

Increasing the number of slots is much more difficult than changing the maxplayers constant. It will also require some changes in client-server exchange protocol.

theAsmodai avatar Mar 03 '13 19:03 theAsmodai

Any official response from Valve about this feature?

MasteRs-git avatar Mar 05 '13 11:03 MasteRs-git

Any official response from Valve about this feature?

It was assigned to triage-valve.

MrSchism avatar Mar 05 '13 14:03 MrSchism