[bf1942] running mod on dedicated Linux Server

Andreas Fredriksson andreas.fredriksson at dice.se
Wed May 26 17:05:29 EDT 2004


Actually I think it just needs to have game.serverDedicated set to zero because otherwise it won't do anything.

I fixed this for BF1942 by just ignoring the serverDedicated flag when generating CRCs.

// Andreas

-----Original Message-----
From: Andy Berdan [mailto:andy.berdan at dicecanada.com]
Sent: Wed 5/26/2004 9:37 PM
To: 'bf1942 at icculus.org'
Subject: RE: [bf1942] running mod on dedicated Linux Server
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Indeed it does removing serversettings.con makes it sit and look
> like its loading the map but once at 100% it quits and a valid
> LevelCheck.con file has been created. So looks like the
> script needs to move any possible serversettings.con out
> of the way while it does its work then put it back.

Excellent... so that makes the file:

- ----------------- 8< -------------- snip --------------- 8<
------------------
@echo off
echo Building MD5 fingerprints

set EXE=BfVietnam
set MOD=BfVietnam

set FILES=Ho_Chi_Minh_Trail Ho_Chi_Minh_Trail_alt Hue Hue_alt Ia_Drang
Khe_Sahn Landing_Zone_Albany Lang_Vei Operation_Flaming_Dart
Operation_Game_Warden Operation_Hastings Operation_Irving Quang_Tri
Quang_Tri_alt

ren Mods\%MOD%\settings\serversettings.con serversettings.bak

for %%x in (%FILES%) do %EXE% +game %MOD% +restart 1 +hostServer 1
+generateMD5 %%x

ren Mods\%MOD%\settings\serversettings.bak serversettings.con
- ----------------- 8< -------------- snip --------------- 8<
------------------

Change MOD and FILES to suit your mod/server.

Andy.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFAtPHx8G0w7PWWOXwRAi44AJ4oM2HcZ5LAkSIwborTz17ZQ3BZAACdGron
bXG/+rsKOABsZZr1aNig16c=
=Ktfa
-----END PGP SIGNATURE-----



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/bf1942/attachments/20040526/badfadd1/attachment.htm>


More information about the Bf1942 mailing list