
01-23-2002, 03:59 AM
The server.cfg file goes in the MOHAAMain directory and needs to be called from the command line like: MOHAA.exe +exec server.cfg
I still can't get this to work. Here are my latest server config file, command line, and server screen output.
--- command line
"C:Program FilesEA GAMESMOHAAMOHAA.exe" +set dedicated 1 +exec server.cfg
--- server.cfg
seta ui_timelimit "15"
seta ui_fraglimit "5"
seta rconpassword "rcon"
seta g_minGameClients "1"
seta sv_maxclients "16"
seta g_inactivity "180"
seta sv_allowDownload "0"
seta timelimit "15"
seta g_log "mohaa.log"
set g_gametype 4
map obj/obj_team3
--- server console output
--- Common Initialization ---
Medal of Honor Allied Assault 1.00 win-x86 Dec 6 2001
----- FS_Startup -----
Current search path:
C:PROGRA~1EAGAME~1MOHAAmainPak5.pk3 (259 files)
C:PROGRA~1EAGAME~1MOHAAmainPak4.pk3 (593 files)
C:PROGRA~1EAGAME~1MOHAAmainPak3.pk3 (669 files)
C:PROGRA~1EAGAME~1MOHAAmainPak2.pk3 (4722 files)
C:PROGRA~1EAGAME~1MOHAAmainPak1.pk3 (772 files)
C:PROGRA~1EAGAME~1MOHAAmainPak0.pk3 (11175 files)
C:PROGRA~1EAGAME~1MOHAA/main
----------------------
18190 files in pk3 files
execing default.cfg
execing menu.cfg
execing newconfig.cfg
Config: unnamedsoldier.cfg
execing configs/unnamedsoldier.cfg
execing newconfig.cfg
couldn't exec localized.cfg
execing autoexec.cfg
Unknown command "fov"
couldn't exec custom.cfg
...detecting CPU, found Intel Pentium III
------- Input Initialization -------
Initializing DirectInput...
Couldn't set DI coop level
Falling back to Win32 mouse support...
------- Input Initialization Complete ------- 31
You are now setup for easy mode.
--- Common Initialization Complete --- 3470 ms
Working directory: C:PROGRA~1EAGAME~1MOHAA
Loading Localization File global/localization.txt
execing server.cfg
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: obj/obj_team3
^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'
------ Server Initialization Complete ------ 7.46 seconds
Hitch warning: 7484 msec frame time
Hitch warning: 740 msec frame time
---
By doing a netstat -a from the command prompt, when starting the server from within the game, I see two UDP ports opened -- 12201 and 12203. With my shortcut above, it only opens 12201.
Also, what is with the, "^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'" lines?!? This is a totally pure install of the retail game, not even the updated gamex86.dll (to disable cheats) has been installed.
If you can get the dedicated server to work from the command prompt, please post your shortcut line and your server.cfg file, don't just tell us, "I got it to work," cause you are not helping.
|