Get the BF1942 v1.5 dedicated Linux Server Off Worthplaying (90mb)
Quick start
- Untar the distribution archive. This will generate a directory where the server and all its related files reside.
Example: $ tar xjf bf1942_lnxded-1.5.tar.bz2
- Modify Mods/bf1942/Settings/ServerSettings.con to your taste.
Example:
$ cd bf1942
$ vi mods/BF1942/Settings/ServerSettings.con
- Run the server from within the top-level directory by typing ./start.sh [arguments] from a shell.
Example:
$ cd bf1942
$ ./start.sh +game XPack1 +statusMonitor 1
Banning by unique identifiers (CD key hashes)
This release of the dedicated Linux server includes a system to ban players by their unique CD key hash. The system is similar to the current IP-based banning system but uses the following new console commands:
admin.banPlayerKey
admin.listBannedKeys
admin.addKeyToBanList
admin.removeKeyFromBanList
Banned player keys are stored together with the IP-based bans in the banlist.con file. IP-based bans continue to work if you would still like to use them.
Option summary
The following options are unique for the Linux server:
+statusMonitor 1
Enables the curses status monitor which enables you to work with the in-game console directly at the server.
+priorityDaemon 1
Enables sending priority change requests to the external root daemon
(bfpridaemon) which changes the server niceness while loading. Use this option (and run the external daemon) to reduce the CPU stress when running multiple servers on the same machine.
The priority daemon itself is distributed as source code and can be found under the 'bfpridaemon' subdirectory of the installation. Use of this code is at your own risk and there is no warranty what so ever.
+overlayPath /path/to/alternate/directory
Settings and Logs are read/written from the alternate path instead of the usual mods/BF1942 paths. The overlayPath directory should contain the Logs and
Settings directories only.
Please note that the following options are deprecated on Linux and do not effect the server in any way: +restart, +dedicated.
Have fun with your Linux server!
Andreas Fredriksson
Licensing information
The Battlefield 1942 server is linked with the GNU C and C++ libraries which are under the LGPL license. By linking dynamically we ensure that you as a
user can use this software with other versions of these libraries.
A statically linked binary also linked with these libraries is supplied purely for convenience should you not be able to run the dynamically linked binary.
The LGPL license text is included with this release and can be found on the web at http://www.gnu.org/licenses/lgpl.html.
Please note that the Battlefield 1942 dedicated server itself is not covered by the LGPL license.
Revision history
Filename: bf1942_lnxded-1.5-ob2.tar.bz2
MD5 sums: 348c5a2ff71348511de73d8539a51e38 bf1942_lnxded.dynamic
6c844fb5f934c6ab831d6852e4656a1b bf1942_lnxded.static
Version: BF1942 (Ver:62672/Mon Oct 13 10:54:25 CEST 2003)
Release date: TBD
Release status: 1.5 compatibility release.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Sync with latest 1.5.
Filename: bf1942_lnxded-1.5.tar.bz2
MD5 sums: feb600b28c6173a4efbb3fe5de059583 bf1942_lnxded.dynamic
54b1566e51916da72e99b01bbfb39772 bf1942_lnxded.static
Version: BF1942 (Ver:62458/Thu Oct 9 08:57:52 CEST 2003)
Release date: TBD
Release status: 1.5 compatibility release.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Compatible with 1.5.
- Includes the new Invasion of the Philippines map.
Filename: bf1942_lnxded-1.45-ob4up.tar.bz2
MD5 sums: c73825522f09c31ed6f7a534a5e35522 bf1942_lnxded.dynamic
9e720b051c2fbff5eccd783095ac099f bf1942_lnxded.static
Version: BF1942 (Ver:58289/Thu Sep 11 16:37:35 CEST 2003)
Release date: 2003-09-11
Release status: Bug fix update for 1.45-Linux.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Fixed missing write of game.objectiveAttackerTicketsMod to ServerSettings.con.
Filename: bf1942_lnxded-1.45-ob3up.tar.bz2
MD5 sums: 3fe366bff892280e88cbf1475c40b882 bf1942_lnxded.dynamic
616ab41e82604a7cd9949b0ba33d52e1 bf1942_lnxded.static
Version: BF1942 (Ver:58280/Mon Sep 8 10:51:27 CEST 2003)
Release date: 2003-09-08
Release status: Bug fix update for 1.45-Linux.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Fixed xpack clients getting "invalid cd key".
- Removed the (hopefully) last "can't get computername" error.
Filename: bf1942_lnxded-1.45-ob2.tar.bz2
MD5 sums: 63d476f0ba1c317e443a54799b1213ec bf1942_lnxded.dynamic
c3472cfdbe04ee1da7612dcba5acf3fc bf1942_lnxded.static
Version: BF1942 (Ver:57371/Mon Sep 1 10:18:18 CEST 2003)
Release date: 2003-09-01
Release status: Bug fix update for 1.45-Linux.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Fixed map restart argument passing of priority daemon and overlay path.
- Restore curses state when quitting on fatal errors.
- Removed crash when the gamespy ini file couldn't be opened.
Filename: bf1942_lnxded-1.45.tar.bz2
MD5 sums: ab2a92983d54ad18ede41411b7494d4f bf1942_lnxded.dynamic
00fcb2ba065ae19709dc9bcf74773236 bf1942_lnxded.static
Version: BF1942 (Ver:55314/Mon Aug 11 13:49:39 CEST 2003)
Release date: TBD
Release status: First public release of 1.45-Linux.
Comment: Shipped with symbol table intact to produce stack traces.
Changes:
- Compatible with 1.45 and Secret Weapons.
- Added Battle of Britain to the standard set of maps.
- Added +overlayPath option to specify an alternate directory to
hold the Logs/ and Settings/ directories.
- Added support for player banning via CD keys hashes.
- Added support for priority changing during map loading.
- Allows resizing of the status monitor on X11 terminals.
- Fixed bug where settings for reserved slots were lost after map change.
- Fixed obscure objective replication bug.
- Enabled size optimizations for certain files to reduce overall
binary size.
- Added measurement of how much the server works and sleeps during it's
main loop updates. The number is displayed in the bottom right of the
status monitor. A 10% utilization means that the server is sleeping
90% of each simulation cycle (at the current FPS).
- Changed main loop timings yet again. This time I went for stability
rather than performance. This version shouldn't fall behind CPU-wise
on slower servers.
- Rewrote compression output loop that might have corrupted large
XML log files.
- XML logging format version 1.1:
- Fixed spelling errors ('vehicle' was spelled 'vechicle')
- Added player CD key hashes to the log for Internet games. This is
useful to track information connected to a certain user regardless
of player name.
- All changes from the 1.4 series apply as well.
- Other bug fixes not really visible to end users.
Related Links
More info on this game
PlanetBattlefield
Developer: Digital Illusions
Publisher: Electronic Arts
More articles about Battlefield 1942