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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

Denny
A quarter jew
Croatia
Reputation: 1
Registered: 2012-03-10
Posts: 3,110
Website

Re: 72 players

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


Your mother was a beaver!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
Website

Re: 72 players

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

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

Lecter
Guest
Reputation: 2

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.

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

Lecter
Guest
Reputation: 2

Re: 72 players

Thx tuia smile

I would leave it at 64 players, though.

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
Website

Re: 72 players

I was thinking about increasing to 84 players. tongue

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

Lecter
Guest
Reputation: 2

Re: 72 players

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

    0   Add Reputation to this user  Remove Reputation from this user

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

Denny
A quarter jew
Croatia
Reputation: 1
Registered: 2012-03-10
Posts: 3,110
Website

Re: 72 players

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


Your mother was a beaver!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

El-Mumin
Member
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

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

Denny
A quarter jew
Croatia
Reputation: 1
Registered: 2012-03-10
Posts: 3,110
Website

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..


Your mother was a beaver!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

Jazavac
Banned
Trinidad and Tobago
Reputation: 3
Location: Trinidad & Tobago
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


pas42

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

Denny
A quarter jew
Croatia
Reputation: 1
Registered: 2012-03-10
Posts: 3,110
Website

Re: 72 players

lol tuia, you are a genius


Your mother was a beaver!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#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


YOU!....make the difference!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

#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 !


YOU!....make the difference!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

#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)


YOU!....make the difference!

Offline

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

#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

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

#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

    0   Add Reputation to this user  Remove Reputation from this user

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

Lecter
Guest
Reputation: 2

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

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

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

tuia
Born again
Portugal
Reputation: 342
Location: Lisbon
Registered: 2012-02-20
Posts: 5,556
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

    0   Add Reputation to this user  Remove Reputation from this user

Board footer