#1 2024-09-29 21:28:46

nz2004
Newbie
Reputation: +1
Registered: 2024-09-29
Posts: 2
OS X Chrome 129.0

Any way to host a LAN game without a dedicated server?

Hi folks,

Regular reader and player here. I want to host a larger BF1942 LAN party soon.

Has anyone managed to host a LAN game natively without a dedicated server (directly out of the games menu)?

Whenever I do this, the client(s) receive the "data differs issue". I did multiple clean reinstalls and tried on different machines and operating systems — always the same error. The basis is the Anthology version linked in this forum.

I do not want to buy an additional machine just for the dedicated server.

Any help would be highly appreciated.

Offline

    Positive reputation 1   Negative reputation 0

#2 2024-09-30 02:53:38

Xberg
Administrator
Iceland
Reputation: +84
Registered: 2023-07-28
Posts: 80
Windows 10 Chrome 128.0

Re: Any way to host a LAN game without a dedicated server?

Hi nz2004

One year ago I needed a test server so I put up local server with BFSM (V: 2.01) and got that error.
The server was on a Windows 10 PC.

My solution was to copy all the map's from the game directory to the server map's directory.
I don't know if that's the right method to fix it, but it worked.

Game map's dir: Battlefield 1942\Mods\bf1942\Archives\bf1942\levels
I don't have that server on my PC anymore so I cant tell you the server map's dir, but that should be easy to find out.

So you could try to use BFSM and copy all the map's from your game to the server, still strange that your getting this error when your starting server from the game "Multiplay > Create Game".

Here is a link to BF Server Manager download.

Hope that helps.

Offline

    Positive reputation 1   Negative reputation 0

#3 2024-09-30 21:25:33

lllJANll
Player
Netherlands
Reputation: +5
Registered: 2017-09-22
Posts: 21
Windows 10 Chrome 129.0

Re: Any way to host a LAN game without a dedicated server?

Hi nz2004,

nz2004 wrote:

Whenever I do this, the client(s) receive the "data differs issue".

Check if on the host game.serverContentCheck is set to 0 in:
C:\games\Battlefield 1942\Mods\bf1942\Settings\ServerSettings.con

If content check is on, the game checks if certain game files are the same, if not you get that message. Its a anti cheat protection, but no big online server has set on nowadays.
On mine bf1942 game instalation content check reset every time to 0, when i start a local server. So i have no idea where that issue comes from.

nz2004 wrote:

I do not want to buy an additional machine just for the dedicated server.

You can run the game and the dedicated server on the same machine at the same time, unless when you have a very ancient machine.  A advantage that the dedicated server has that you can put maps with different game modes and dlc/mods in the map list.
But it cost a bit more effort to set up, you have to update the server 2 version afaik, and dont forget to turn contentcheck off and set to to local network.

You can then also install BFSM, it makes banning/kicking people more easy, and it has some more settings, but i dont think thats needed for a lan party.

Last edited by lllJANll (2024-09-30 21:31:37)

Offline

    Positive reputation 1   Negative reputation 0

#4 2024-10-06 10:00:54

nz2004
Newbie
Reputation: +1
Registered: 2024-09-29
Posts: 2
OS X Chrome 129.0

Re: Any way to host a LAN game without a dedicated server?

Hi both,

Thanks so much for your answers!

The dedicated server on the same machine works well, thank you for the hint @Xberg!

The game.serverContentCheck is set to 0 by default on all machines (and that didn't change anything unfortunately).

What really bugs me is that I have 8 identical machines, all vanilla setups with basic Windows installation, and I installed the very same version of BF42 (the one linked here above) on all machines — all the identical steps, nothing else installed, and no modifications to the version. And still: When joining any host, I always receive the "data differs issue". The dedicated servers resolve this issue, but still...I have no clue why it does not work when there were never changes to any files or installations and everything is identical... ?

Offline

    Positive reputation 0   Negative reputation 0

#5 2024-10-06 18:25:25

Xberg
Administrator
Iceland
Reputation: +84
Registered: 2023-07-28
Posts: 80
Windows 10 Chrome 128.0

Re: Any way to host a LAN game without a dedicated server?

No problem, im glad that this worked for you guys.

When i ran into this problem i talked to some server gurus and they told me also to put "game.serverContentCheck to 0" but that did not fix my problem, i stumbled on this "map copy" solution by accident when i deceided to make one last test to get it running.

I also had "almost" vanilla installation (only few extra maps) but even if i did delete them i got this "data differs issue", so i cant tell you why it happens.

Offline

    Positive reputation 0   Negative reputation 0

#6 2025-01-05 08:00:30

yardvark
Newbie
Reputation: 0
Registered: 2025-01-05
Posts: 1
Ubuntu Firefox 133.0

Re: Any way to host a LAN game without a dedicated server?

I ran into this same issue and started to try to set up a dedicated server. I grabbed the patched Linux binaries on team-simple.org/download/ to install and installed the dependencies that they required.

However, upon launching the binaries they seem to have assumed they would be installed expecting a mods/bf1942/settings folder and then individual configuration files in that folder. Am I missing something here to run a dedicated server? Is just patching the settings of the bf1942 ServerSettings.con file the better answer?

Offline

    Positive reputation 0   Negative reputation 0

#7 2025-01-05 14:59:43

lllJANll
Player
Netherlands
Reputation: +5
Registered: 2017-09-22
Posts: 21
Android Chrome 131.0

Re: Any way to host a LAN game without a dedicated server?

yardvark wrote:

However, upon launching the binaries they seem to have assumed they would be installed expecting a mods/bf1942/settings folder and then individual configuration files in that folder. Am I missing something here to run a dedicated server? Is just patching the settings of the bf1942 ServerSettings.con file the better answer?

I think you are installing it wrong way, here is how i installed it, if i rember correct:

First download v1-6-19 https://www.fileplanet.com/archive/p-50 … er-v1-6-19 and install, and run it to test if it works

Apply the next patch and test if a binarie works
https://www.fileplanet.com/archive/p-71 … -19-v1-61b

Then install the patch from team simple and test if it runs

The next patch improves ping compensation: https://www.moddb.com/games/battlefield … atch-linux

Next are patches for bugs in capture the flag modus. You need edit the binaries with a hex editor, i think i just search and replaced in hex
https://github.com/uuuzbf/bf1942-patches

I dont know the hit-registration-patch fixes the master server. The gamespy and the sk master are not online any more, if you want the sever to show up in the internet browser, you have to patch it to henk's master server. I think putting this into the host file will work:
143.176.207.225 master.gamespy.com
143.176.207.225 master.bf1942.sk

You can now install BFSM, if you want that.
If you host the server to the internet, its probaly a good idea to firewall in a way that only you and admins can access the bfsm port and remote admin port. Its very old software, and probably not secure.

Last edited by lllJANll (2025-01-05 15:00:17)

Offline

    Positive reputation 0   Negative reputation 0

#8 2025-01-17 05:01:20

bud
maestro
Reputation: +1842
Location: shangri la
Registered: 2012-07-07
Posts: 3,962
Website
Windows 10 Firefox 134.0

Re: Any way to host a LAN game without a dedicated server?

nz2004 wrote:

The game.serverContentCheck is set to 0 by default on all machines (and that didn't change anything unfortunately).

This only apply for the machine acting as the server host as it is the one that does the checkings.

The root cause to this problem is that the file "contentCrc32.con" that contains the checksums havent been updated with the rest of the game files.

Offline

    Positive reputation 0   Negative reputation 0

Board footer