PDA

View Full Version : Files with .cfg extension


Check_Back
02-09-2003, 04:50 AM
first......i put this on my desktop shortcut :

"C:\Program Files\EA GAMES\MOHAA\MOHAA.exe" +set dedicated 1 +set ui_console 1 +set g_gametype 3 +set sv_maxclients 12 +map dm/mohdm1 +exec serverXX.cfg


When server read 'exec serverXX.cfg' he tell me ''Can't exec serverXX.cfg''

I take Wordpad to make my CFG file...it's correct ???? or not....

My CFG file look like that :

sv_hostname "your hostname here"
//Sets the NAME of your server, what people will see in the browser



fraglimit 0
//Sets the limit of Frags that will end the match
//( 0 = no fraglimit)
timelimit 25
//Sets the amount of time (in minutes) for map changes
//(0 = no timelimit)
sv_maplist "dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm5 dm/mohdm7"
//This is the list of maps that will be cycled for the server

sv_allowDownload 0
//Toggles allowing client downloads from server, like custom maps
//(0-off 1-on)
sv_maxRate 9000
//Max data transmit rate by clients on the server.
//(setting depends on network)
sv_maxPing xxx
//Keeps anyone with a higher ping than this value from connecting
//to the server
sv_fps 20
//Server FPS, this should increase performance (20 is the default) sv_floodProtect 1
//Flood protection from server crashing text messages
set flood_waitdelay 10
//not too sure on this, possibly time before flooder is allowed
//to type again (default)

set flood_persecond 4
//messages per second to be considered a flood ?? (default)
set flood_msgs 4
// ?? (default)
sv_pure 0
//Pak checker, does not allow clients to use PAK files the server //doesn’t have (0=off 1=on)
sv_gamespy 1
//Allows your server to show up in the Gamespy browser, and the
//In-game browser (v1.1)

set g_inactiveKick 300
//Time (in seconds) that a client will be kicked for inactivity
set g_inactiveSpectate 60
//Time (in seconds) that a client will be moved to spectator for
//inactivity
set g_teamdamage 0
//Sets friendly fire 0=off 1=on


net_noipx 1
//Disallows IPX connections, TCP only (network protocol)
net_port 12203
//Sets the port # for the game to run off of (12203 is the default)

//Finally, put a blank line at end of the config

I save This file in Main folder of MOHAA with cfg for extension.....

Bleeder
02-09-2003, 06:38 AM
Make the file in notepad save it and call it server.cfg
When its saved try go to your main folder and press tools>folder options>wiew>then mark the hide file extensions for kniwn file types press apply and make sure your file isnt called server.cfg.txt

Floyd
02-09-2003, 02:21 PM
Make sure to use Notepad not Wordpad.

And like Bleeder said, make sure the file is "serverXX.cfg" and not "serverxx.cfg.txt"

Floyd