Search found 16 matches

by jrivett
Mon Jan 18, 2021 4:34 pm
Forum: Battlefield server and client
Topic: Determining the cause of server crashes
Replies: 0
Views: 1768

Determining the cause of server crashes

Are there any tools or guidelines for identifying the cause of BF1942 server crashes? The crashes I observe on my server are intermittent. There doesn't seem to be any kind of pattern to them. The server runs a version of the BF1942 executable that's been patched with a few crash-prevention tweaks p...
by jrivett
Thu Jan 02, 2020 4:21 am
Forum: Battlefield server and client
Topic: BFStats stopped working after year rolled over to 2020
Replies: 2
Views: 6078

BFStats stopped working after year rolled over to 2020

Earlier this year I had to switch my BF1942 server stats from select(bf) to BFStats, mostly because of obsolete PHP code in select(bf). BFStats has been working fine since then. This morning I was looking at rolling over my server stats for the new year and noticed that all of the rounds played in 2...
by jrivett
Thu Apr 04, 2013 6:43 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

No need to edit the .exe. Sorry, I gave you the wrong filename. Look for "objects\Soldiers\common\CommonSoldierData.inc" . That's a file that is called whenever a soldier is required (be it bot or player), so it allows to easily "hook" in commands that you want to apply universa...
by jrivett
Wed Apr 03, 2013 2:27 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

You can also add this line: "game.setMinNrOfPlayers 0" to a basic common file that gets called for every map. Like the soldier.inc. That goes for every SSM modding/setting you want to apply for ALL maps. Thanks for the additional info. I looked for soldier.inc and wasn't able to find it. ...
by jrivett
Thu Mar 14, 2013 4:35 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

Tuia: I hate to be a bother, but is there any chance you could find the code to change in the Linux server? I recently switched to Linux hardware (finally), and people are already complaining that the second player to join restarts the current map. Alternatively, if there's a particular hex string o...
by jrivett
Sun Jun 17, 2012 2:35 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

freddy, is right. You can add game.setMinNrOfPlayers 0 to your init.con inside your map .rfa file. It's cleaner and easier than patching the server executable. You'll have to add that command to all your map files, though. Cleaner, perhaps, but not easier - at least not for me. Presumably it's a se...
by jrivett
Thu May 24, 2012 8:59 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

I've managed to find what to change in the server executable (BF1942_w32ded.exe v1.61), so the map doesn't restart when a 2nd player joins. IT WORKS. I've tested it and it's now live on my server (Tanks 'n Planes Unlimited). You are a god among men, sir. I remember when I used to do amazing stuff h...
by jrivett
Thu May 24, 2012 5:36 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

yeah works with co-op to m That's great! It sounds like you've used this setting successfully. Can you provide any information as to where the setting is used? As I mentioned previously, it doesn't work at the server console. And since it's never used in any of the stock maps or default server sett...
by jrivett
Thu May 24, 2012 1:58 pm
Forum: Battlefield server and client
Topic: Stop server from restarting map when second player joins?
Replies: 25
Views: 101615

Re: Stop server from restarting map when second player joins

here is the code for it game.setMinNrOfPlayers 0 I'm not familiar with that command. It doesn't seem to work at the console. If it goes in a CON file, which one? Or would it need to be added to every map RFA? Possibly this setting is related to the PvP server setting that prevents a game from start...