`

change delicate server max player numbers HOW-TOs

阅读更多

 

what is the maximum number of players UE4 can handle? I am hoping to start aims to support 24 players in UE4. My client transport messages several M per seconds per client which is syn to server. another application broadcast the udp message to every client at the same rate of tramission.

 

Someone in the FAQs asqued about that, someone replyed that there is no limit, it only depends of the pc that will hold the game, I mean, the server. It really depends on how much messages your players are sending back and forth. If it's a low-message game then you can probably handle thousands; if it's a high message game you may be able to support only 100 players. This is purely speculation, though.

 

look in the source code under the following directory: UnrealEngine/Engine/Config/BaseGame.ini there is a value for MaxPlayers=16.

 

I'm not entirely sure where this is being called from when starting a game but I believe that's a start in the right direction. Someone will have to come up with a basic game that allows an infinite amount of players to connect and automate the testing of said basic game to stress test both the hardward, network, and the code optimizations made to be able to properly gauge how many players you can have in any given location/server.

Dive a bit into the source code, you'll find all there is to know about how the networking portion of the engine is setup and ask questions about it. I'm still diving through it currently at work but I can't really test it since it's my work computer :P

I believe that right now the server/client configuration is setup for basic Team Deathmatch sort of gameplay and would need tweaking to the code to allow for more players (ex: mmo).

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics