bf1942_lnxded server fixes

Ask questions, discuss ideas, get answers

bf1942_lnxded server fixes

Postby russ » Wed Dec 26, 2018 10:15 pm

I've been maintaining a set of Linux dedicated server fixes for a while, but I'm opening it up to a wider audience

This includes a number of patches that have been floating around as well as a number of new fixes. The important gameplay changes are:

* Weapon deviation is set to max when selecting a weapon: Weapon deviation does not change for weapons that are not selected. Some players take advantage of this by keeping their weapon stowed while moving and then selecting it right before firing.

* Player names are sanitized: No more player names with special characters, leading/trailing spaces, or names shorter than 3 letters.

* Assault maps now award victory to the defending team if they survive until end of round (Wake, Omaha, etc). This is what was originally intended, but due to a typo never took effect.

* Death bubble now gives damage to players rather than their vehicle. This prevents the death bubble zombie wreckage problem.

Code: Select all
# Team S.W.A.T Release
# Battlefield 1942 v1.61 Linux server patched
# Modified to include:
# - Support for up to 128 players
# - replacement for gamespy master
# - Ignore client version and checksum (allow 1.61b and 1.612)
# - Ignore CD key checks
# - No longer sends player keyhashes to public queries
# - Allows all console commands on remote and local console
# - Fixes segfault in dice::bf::GameServer::radioMessage
# - Fixes sefgault in dice::ref2::io::NetworkManager::getNetUpdate
# - Fixes segfault in dice::ref2::world::ObjectManager::checkMessages
# - Fixes IP bans not taking effect
# - Set weapon deviation to max when putting weapon away
# - Fixup player names (nonprintables, too short, etc)
# - Fix assaultTeam typo. Defending team now wins if timer expires
# - Fix armor zombies generated by death bubble
# - Fix segfault due to death bubble fix
# - Fixes segfault in dice::ref2::world::FireArms::Fire
# - Fixes segfault in dice::ref2::io::NetworkManager::getNetUpdateDelta
# - Fixes segfault in dice::ref2::world::BFSoldier::handleUpdate
# Addresses the following vulnerabilities:
# - BFE-200806.01
# - BFE-201107.01
# - BFE-201111.01
# - BFE-201211.01
# - BFE-201611.01
# - BFE-201611.02
# - BFE-201710.01
# - BFE-201804.01
aa11b4f01501cc1a9f21d58dabe2277b  bf1942_lnxded.static
7a1983a4fffe6b387ed42a50197a1538  bf1942_lnxded.dynamic ... Eay0k3TX65
Posts: 61
Joined: Sun Oct 29, 2017 8:12 am

Re: bf1942_lnxded server fixes

Postby duffman » Sat Jan 05, 2019 2:24 am

Some serious debugging you been doing!
Have a Linux server used for gaming so applied your patched binaries. (Yet to do some proper field-testing.)
Well done!
Posts: 39
Joined: Tue Apr 15, 2014 8:02 am

Re: bf1942_lnxded server fixes

Postby Grabbi » Sat Feb 23, 2019 2:49 pm

impressive work!

This topic should be moved to Battlefield server and client area

It solves so many problems for ppl/communities running a BF1942 server beeing under hacker attacks.
and threads posted here with 35000+ views like mine three years ago looking for a solution to these problems:

Thank you for this awesome work Russ!


User avatar
Posts: 37
Joined: Wed Aug 03, 2011 3:37 pm
Location: Germany

Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Google [Bot] and 33 guests