#1 2012-06-19 17:47:00

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

72 players

I've modified the server code to remove the 64 maximum players limit. You can see from the following pictures that the server can handle 72 players.

72 players

bf1942 console

The only problem, is that the server doesn't show on Gamespy master server list when it has more than 64 players. I guess Gamespy prevented that because of fakers.

Offline

    Positive reputation 0   Negative reputation 0

#2 2012-06-19 17:49:43

Denny
Member
Croatia
Reputation: +53
Registered: 2012-03-10
Posts: 3,199

Re: 72 players

thats nice,
but its not nice if someone has slow pc hmm

Offline

    Positive reputation 0   Negative reputation 0

#3 2012-06-19 17:55:21

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

Hehehe. You must buy a new PC, Denny. Any cheap old computer from 2003 and onwards can handle BF1942.

Offline

    Positive reputation 0   Negative reputation 0

#4 2012-06-20 02:49:03

Lecter
Guest
Reputation: +9

Re: 72 players

i would leave it at 64, at 72 it will probably make the server crash more often and by experience most players are used to play at a max of 64 players.

Also can you have a limit for high pings? All the great servers used to have it, it prevents server from crashing too.

    Positive reputation 0   Negative reputation 0

#5 2012-06-20 09:15:38

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

The server crashes are not related with the number of players, at least, not the most frequent ones. I'm trying to debug the server code to prevent server crashes. Now, the maximum players can go as high as 126 players, but that is overkill.

There is a limit for high-ping, it is currently at 480 ms.

Offline

    Positive reputation 0   Negative reputation 0

#6 2012-06-20 12:53:27

Lecter
Guest
Reputation: +9

Re: 72 players

Thx tuia smile

I would leave it at 64 players, though.

    Positive reputation 0   Negative reputation 0

#7 2012-06-20 13:56:05

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

I was thinking about increasing to 84 players. tongue

Offline

    Positive reputation 0   Negative reputation 0

#8 2012-06-20 14:14:25

Lecter
Guest
Reputation: +9

Re: 72 players

I cant and I dont want to imagine Berlin, Stalin, Battleaxe with all those players...mayhem!

    Positive reputation 0   Negative reputation 0

#9 2012-06-20 14:59:03

Denny
Member
Croatia
Reputation: +53
Registered: 2012-03-10
Posts: 3,199

Re: 72 players

more than 64 players is mission impossible for allies on tobruk..

Offline

    Positive reputation 0   Negative reputation 0

#10 2012-06-20 15:36:34

El-Mumin
Player
Croatia
Reputation: 0
Registered: 2012-04-29
Posts: 8

Re: 72 players

yea more players more players big_smile big_smile big_smile
its more fun i think , never try.. imagine 128 players wooow ^^

Offline

    Positive reputation 0   Negative reputation 0

#11 2012-06-20 15:40:50

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

That's the spirit. smile It was never tried before, some maps with 72 players or more, like Berlin, may be really crazy. smile

Offline

    Positive reputation 0   Negative reputation 0

#12 2012-06-20 21:52:57

Denny
Member
Croatia
Reputation: +53
Registered: 2012-03-10
Posts: 3,199

Re: 72 players

but ive noticed it isnt for all maps with 72 players?
ive played berlin and stalin with 60, and then some map like el alamein later has 72 players..

Offline

    Positive reputation 0   Negative reputation 0

#13 2012-06-20 22:05:18

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

It's a problem with the server crashes. After crashing, the server resets to 60 players slots. I will fix it tomorrow morning.

Offline

    Positive reputation 0   Negative reputation 0

#14 2012-06-21 13:39:58

Jazavac
Player
Croatia
Reputation: +3
Registered: 2012-05-30
Posts: 164

Re: 72 players

Well if can I say in my opinion its better to have 72 slots and the reason for this is - gives popularity to server and that should be the point of having server isnt it? tongue

Offline

    Positive reputation 0   Negative reputation 0

#15 2012-06-21 17:02:28

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

This is more like a new feature. For some time, it was asked if it was possible to remove the 64 maximum players limit in Battlefield 1942. A year ago, someone had a found a way to remove that limit in Battlefield 2, which led to a 128 player server for Project Reality mod. Fortunately, I could find where in the server code is that limit with the help of a friend from bfmods.com.

Offline

    Positive reputation 0   Negative reputation 0

#16 2012-06-21 17:15:42

Denny
Member
Croatia
Reputation: +53
Registered: 2012-03-10
Posts: 3,199

Re: 72 players

lol tuia, you are a genius

Offline

    Positive reputation 0   Negative reputation 0

#17 2012-06-21 19:08:10

Grabbi
Member
Germany
Reputation: 0
Location: Germany
Registered: 2012-06-21
Posts: 54
Website

Re: 72 players

amazing you did it !

Hope you also manage the 128 slots !

Awesome work tuia !

Greetz

Grabbi

Offline

    Positive reputation 0   Negative reputation 0

#18 2012-06-21 19:38:36

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

Thank you. Here are the patched files of Battlefield 1942 server executables for Windows. They were changed to prevent 2 exploits (game.createLocalPlayer and game.setTeam) and maximum players limit was raised to 128. Included also a patched DedicatedServer.exe so you can easily select up to 128 maximum players.

BF1942 server for Windows v1.61:
BF1942_w32ded-1.61-patched.zip
MD5: 113A9B9C4F1A00AC6C41DBCAFDDFAE2A

BF1942 server for Windows v1.6:
BF1942_w32ded-1.6-patched.zip
MD5: A55835E55E7DC45FDC2450D801B5E37C

Offline

    Positive reputation 0   Negative reputation 0

#19 2012-06-21 19:47:03

Grabbi
Member
Germany
Reputation: 0
Location: Germany
Registered: 2012-06-21
Posts: 54
Website

Re: 72 players

Thank you !

Once more... YOU!.... are amazing !

Offline

    Positive reputation 0   Negative reputation 0

#20 2012-06-22 14:32:43

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

There is another problem besides the Gamespy, BFServerManager doesn't have support for over 64 players. If you target any player with an ID greater than 64, it will be invalid. Also, after a server crash it resets back to the game.serverMaxPlayers in ServerManager.con file. A workaround is to start the server from the command line with game.serverMaxPlayers 128 in ServerSettings.con and game.serverMaxPlayers 64 in ServerManager.con and start BFServerManager afterwards. After the server crashes, it will reset back to 64 players, but you can increase the limit, when a new round begins, by appending game.serverMaxPlayers 128 in ServerAutoexec.con. Unfortunately, BFServerManager overwrites the ServerSettings.con and ServerAutoexec.con files, after a server crash. Don't try to increase game.serverMaxPlayers over 64 in ServerManager.con, it will reset to 32.

Offline

    Positive reputation 0   Negative reputation 0

#21 2012-06-22 15:39:39

Grabbi
Member
Germany
Reputation: 0
Location: Germany
Registered: 2012-06-21
Posts: 54
Website

Re: 72 players

I saw that yesterday

the value in the BFSM is set to 64


In the BFRemote Manager 2.01 (final):

OFFSET 000B3200 .M.a.x.i.m.u.m. .P.l.a.y.e.r.s................PT.N.º...í...m.s.c.t.l.s._.t.r.a.c.k.b.a.r.3.2..................P..N.........ÿÿ‚.6.4................P


the BFserver Manager 2.01 (final) writes EACH time ServerSettings.con NEW before it starts the dedicated server with the max 64 value


OFFSET 000BEC00  .M.a.x.i.m.u.m. .P.l.a.y.e.r.s................PT.N.º...ì...m.s.c.t.l.s._.t.r.a.c.k.b.a.r.3.2..................P..N.........ÿÿ‚.6.4................P

Write Protection of ServerSettings.con doesn t work cause BFServer Manager shows error on start and shuts down

Last edited by Grabbi (2012-06-22 15:47:16)

Offline

    Positive reputation 0   Negative reputation 0

#22 2012-06-22 23:03:39

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

I've been trying whole day to fix that annoying problems in BFServerManager (BFSM). I've found what to change in the code to accept in-game commands for validating player IDs greater than 64. I was trying to find a way that, even though, BFSM overwrites the ServerSettings.con and ServerAutoexec.con, it would write the correct maximum player number from 0 to 128. Now, any number greater than 64 is reset to 32 in ServerManager.con file, and consequently, the ServerSettings.con is reset to that number after a crash.

Offline

    Positive reputation 0   Negative reputation 0

#23 2012-07-10 17:04:42

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

BFServerManager and BFRemoteManager for Windows maximum players limit raised to 128, but I'm not sure if BFServerManager will work correctly when over 64 players are in the server. BFServerManager may crash and some players may not show up in the Players List, when over 64. I couldn't test it.

2442091bfsm128players.png

I fixed another limitation using in-game commands when targetting a player with an ID over 64, for instance, !kick .71 did not work before. Also did some other minor cosmetic changes.

BFServerManager v2.0 (final) for Windows patched:
BFServerManager20final-patched.zip
MD5: 319CF806A36F6F706D742AE3DBEF7835

BFRemoteManager v2.0 (final) patched:
BFRemoteManager20final-patched.zip
MD5: 7F60038C4AE1D06819DCA86243D138AE

Note: I've used BFServerManager v2.0 (final) instead of BFServerManager v2.01, because BFServerManager v2.01 has a bug, which can't handle correctly player names with non-ASCII code.

Offline

    Positive reputation 0   Negative reputation 0

#24 2012-07-10 17:39:58

sergfa
Member
Germany
Reputation: 0
Registered: 2012-06-21
Posts: 201

Re: 72 players

possible to use the BFRM for BF2 too? (with some code modifications) Or definitely not?

Offline

    Positive reputation 0   Negative reputation 0

#25 2012-07-10 17:42:33

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

It would most probably need lots of code modifications to run in BF2, I'm not acquainted with BF2. I know they have a different Gamespy protocol than BF1942.
I read somewhere that Kevin Lockitt, the coder of BFServerManager for BF1942 and BFVietnam, asked 7500 $ to code it for BF2.

Offline

    Positive reputation 0   Negative reputation 0

#26 2012-07-10 17:47:33

sergfa
Member
Germany
Reputation: 0
Registered: 2012-06-21
Posts: 201

Re: 72 players

tuia wrote:

It would most probably need lots of code modifications to run in BF2, I'm not acquainted with BF2.
I read somewhere that Kevin Lockitt, the coder of BFServerManager for BF1942 and BFVietnam, asked 7500 $ to code it for BF2.


lol ok wink

Offline

    Positive reputation 0   Negative reputation 0

#27 2012-07-10 19:21:10

Lecter
Guest
Reputation: +9

Re: 72 players

tuia

Actually, I would leave it at 64. A lot of players complaining about lag and the experience, while fun at beginning, adds nothing to the game now. I would leave it at 64 for more stability, for all commands (id) to work properly, keep the game "pure", etc

    Positive reputation 0   Negative reputation 0

#28 2012-07-10 19:22:03

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

BFServerManager v2.01 for Windows patched:
BFServerManager201-patched.zip
MD5: B695BE763C073C4242C7F81C3EF23026

BFRemoteManager v2.01 patched:
BFRemoteManager201-patched.zip
MD5: 09A0D7DE69D2AEF1487D3E429E4C21CA

Offline

    Positive reputation 0   Negative reputation 0

#29 2012-07-10 19:44:40

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: 72 players

The lag some players experience is on their side. When their computer has to render lots of objects (tanks, planes, jeeps), they experience lag. For example, in Aberdeen map if i see lots of tanks, it lags, because my graphic card is a crap, it's a Radeon 9200SE, and I'm running on lowest video settings. tongue
It's true that there are some problems when it has more than 64 players, the server doesn't show up on Gamespy in-game list, some few players aren't recognized by BFSM, but the 72 players slots has made the server more popular.

Offline

    Positive reputation 0   Negative reputation 0

Board footer