PDA

View Full Version : obj config file question


feanor
12-28-2002, 12:11 AM
here's a copy of my obj server config file:

// Edit to fit your preferences.

// server name that will show up on the game browser or gamespy. Put your server name in the quotes
sv_hostname "<|sbm|> Feanor's MoH:AA OBJ | FF OFF | CK Mod | RECRUITING | Stock & Custom Maps"
// Admin is for your name
Admin "Feanor"

// msg of the day... doesn't seem to work
g_motd "Feanor's MOH Server: Objective Server Server"

// following four feilds do not show up any place that I know of yet.
URL "http://www.samnjoe.net/mohaasite/"
Email "feanorsnoldor@directvinternet.com"
Location "Florida"
Connection "DSL"

// reconpass sets your RCON passoword to allow for remote admin
seta rconpassword "xxxxxxx"

// maximum number of players allowed
sv_maxclients "12"
set sv_privateClients 2
set sv_privatepassword "xxxxxxx"

// gamet type 1=FFA 2=Teammatch 3=roundbased 4=objective
g_gametype 4

// minimum ping? why bother?
sv_minping "0"

//sv pure pak checker, does not allow clients to use PAK files the server doesnt have
//0=off 1=on
sv_pure 1

// I haven't figured out what this all does for me yet so commands are commented out
sv_floodProtect 1
//sv_flood_waitdelay 10
//sv_flood_persecond 4
//sv_flood_msg 4

//maxping keeps anyone with a higher ping than this value from connecting
sv_maxping "500"

// teamdamage friendly fire 0=off 1=on
g_teamdamage "0"

// allows Gamespy browser
sv_gamespy "1"

// inactivespectate is seconds of inactivity before moved to spectator
g_inactiveSpectate "60"

// inactive kick is seconds that a client will be kicked for inactivity
g_inactiveKick "900"

// max data transmit rate by clients on the server - depends on network
sv_maxrate 2171

// sv_fps 20

// allow downloads 0=off 1=on
sv_allowDownload 1

// time limit for game 0=no limit
timelimit "6"

set sv_noforcemodels 1 // stop cheating
set sv_noforcemodelstime 2 // check once every 2 seconds


//set frag limit to end game. 0=none
fraglimit "0"

//net-niopx disallows IPX connections, TCP only net port 12203
net_niopx 1

// sets the UDP port
net_port 12203

// map rotation for the server dm/mohdm5 snowy park
sv_maplist "obj/obj_maromg obj/obj_team1 obj/obj_team2 obj/renan obj/obj_team3 obj/obj_communications obj/obj_team4 obj/objlol_v2_13"

// starting map when launched
map obj/obj_maromg

//Logging. This is needed for Stats - Do Not Remove
seta g_log "qconsole.log"
seta logfile 3
seta g_logsync 1

for some reason i can't figure out, when i fire up the server, the map never changes, it always stays on obj/obj_maromg. am i missing a command line to tell the server to switch after so many minutes? i'm not sure if i changed something with all my tinkering, but i can't find my original cfg, and its driving me mad . . .

thanks

wolf
12-28-2002, 09:35 AM
nice to see the maromg map used :-)

dont realy know what your problems comes from but on my mohaa
server i dont have the start map set at all in my obj.cfg file. only
the "sv_maplist" in mohaa.

Spearhead i have it but not in mohaa and it works great there.

[MaR]Wolf

SNYPE
12-28-2002, 12:25 PM
Feanor-- just a little tip for troubleshooting these type of problems: you can enter the var name in the console and the console will return the value it currently has.

If I type in timelimit I get:
> timelimit
"timelimit" is:"15" default:"0".

You can enter any of the variables, try your maplist and see what it shows.
sv_maplist. I would turn off sv_pure (set it to 0, doesnt work anyways), sv_noforcemodels doesnt work either.
I dont see anything in that cfg that should do what you are saying so you need to try testing the variables and see what they are set to and then find out what it is that may be changing them. You arent calling another cfg file in your command line or???
Another thing to look for might be an offending pak file, maybe you have one to control Mixed map types????

feanor
12-28-2002, 02:43 PM
thanks guys - i removed a couple of pk3 files that were custom maps and i think that one of them was causing the problem.

tomccue
12-29-2002, 12:50 PM
I also had same issue until I set fraglimit for number of kills per round I set mine at fraglimit "8" timelimit "15" also be sure you have a blank line at end of config file just hit enter twice at end of file then save

Hope this helps
tom mccue