I have a problem with my server.


([ToC]Death) #1

How do I set it up so that the port is 27960? In my server.cfg, it says (I took out the //) set net_port “27960”. This is a server run from home, so I restart it sometimes and the port is always somewhere in the 60000’s. Why can’t I get it to 27960?


(Sauron|EFG) #2

I think you need that in your command line.


([ToC]Death) #3

Here is what I have in both my server.cfg and my command line:

server.cfg:

set dedicated “2” // 1: dedicated server for lan 2: dedicated server for internet
//set net_ip “70.26.231.83:” // set to override the default IP ET uses
//set net_port “27960” // set to override the default port ET uses

// PASSWORDS & CLIENTS

set sv_maxclients “33” // number of players including private slots
set g_password “” // set to password protect the server
set sv_privateclients “3” // if set > 0, then this number of client slots will be reserved for connections
set sv_privatepassword “TasteOfChaos” // that have “password” set to the value of “sv_privatePassword”
set rconpassword “drowssaP” // remote console access password
set refereePassword “eerefeR” // referee status password

// DL, RATE

set sv_maxRate “14000” // 10000 standard but poor for ET
set sv_dl_maxRate “43000” // increase/decerease if you have plenty/little spare bandwidth
set sv_allowDownload “0” // global toggle for both legacy download and web download
set sv_wwwDownload “0” // toggle to enable web download
set sv_wwwBaseURL “0” // base URL for redirection
set sv_wwwDlDisconnected “0” // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL “0” // URL to send to if an http/ftp fails or is refused client side

// MOTD ETC

set sv_hostname “^1[ToC] Clan Server” // name of server here
set server_motd0 “^1Welcome!” // message in right corner of join screen here
set server_motd1 “^4Respect the admins!”
set server_motd2 “^2Xp save is enabled!”
set server_motd3 “^1[ToC] ^3Website - http://”
set server_motd4 “^3www.tastethechaos.cjb.net/
set server_motd5 “^8Have fun!”

// MISC SETTINGS

set g_heavyWeaponRestriction “50”
set g_antilag “1”
set g_altStopwatchMode “0”
set g_autofireteams “1”
set g_complaintlimit “5”
set g_ipcomplaintlimit “3”
set g_fastres “1”
set g_friendlyFire “1”
set g_gametype “4” // Game type should be set from map rotation script
set g_minGameClients “1”
set g_maxlives “0”
set g_alliedmaxlives “0”
set g_axismaxlives “0”
set g_teamforcebalance “1”
set g_noTeamSwitching “0”
set g_voiceChatsAllowed “5”
set g_doWarmup “1”
set g_warmup “10”
set g_spectatorInactivity “300”
set sv_floodProtect “1”
set sv_allowDownload “1”
set sv_pure “1”
set sv_minping “0”
set sv_maxping “0”
set match_latejoin “1”
set match_minplayers “1”
set match_mutespecs “1”
set match_readypercent “100”
set match_timeoutcount “1”
set match_warmupDamage “3”
set team_maxplayers “5”
set team_nocontrols “1”
set pmove_fixed “0”
set pmove_msec “8”

// LMS ONLY SETTINGS

set g_lms_teamForceBalance “1”
set g_lms_roundlimit “3”
set g_lms_matchlimit “3”
set g_lms_currentMatch “0”
set g_lms_lockTeams “0”
set g_lms_followTeamOnly “1”

// VOTING

set g_allowVote “1”
set vote_limit “5”
set vote_percent “51”
set vote_allow_comp “”
set vote_allow_gametype “”
set vote_allow_kick “1”
set vote_allow_map “”
set vote_allow_matchreset “1”
set vote_allow_mutespecs “”
set vote_allow_nextmap “”
set vote_allow_pub “”
set vote_allow_referee “0”
set vote_allow_shuffleteams “1”
set vote_allow_swapteams “1”
set vote_allow_friendlyfire “”
set vote_allow_timelimit “0”
set vote_allow_warmupdamage “”
set vote_allow_antilag “”
set vote_allow_balancedteams “”
set vote_allow_muting “1”

// PUNKBUSTER

// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
pb_sv_enable

// LOGGING

set g_log “etserver.log” // Game logging
set g_logsync 1
set logfile 2 // Console logging ( 1: enable 2: enable and sync )

// MAP ROTATION

exec campaigncycle.cfg // Campaign mode
//exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing mode

// WATCHDOG

// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd “exec campaigncycle.cfg” // defaults to quit

//ADD-ONS

set g_shrubbot “shrubbot.cfg”
set g_xpsave “7”
set g_goomba “10”
set g_weapons “127”
set g_slashkill “7”
set g_packdistance “5”
set g_censor “fuck, bitch, ass, shit, stfu, sex, dildo, vibrator, anal, masturbate, blowjob, orgasm, hitler, nazi, cum, ejaculate, queer, homo, gay, lesbian, boobs, tits, nip, pussy, cunt, clitoris, vulva, vagina, penis, prick, nig”
set g_censornames “fuck, bitch, ass, shit, stfu, sex, dildo, vibrat, anal, masturbate, blowjob, orgasm, hitler, nazi, cum, ejacu, queer, homo, gay, lesbian, boobs, tits, nip, pussy, cunt, clitoris, vulva, vagina, penis, prick, nig”
set g_censorpenalty “3”
set g_classchange “1”
set g_dragcorpse “1”
set g_voting “3”
set g_logoptions “255”
set g_teamdamagerestriction “25”
set g_minhits “30”
set g_shove “80”
set g_intermissiontime “60”
set g_privatemessages “1”
set g_msgs “20”
set g_msgpos “2”
set g_msg1 “^4Welcome to the ^0[ToC] ^1Clan Server!”
set g_msg2 “^1This server is running ShrubET 1.2 ^1- Test 13!”
set g_msg3 “^5Use the panzerfaust only for takeing out vehicles or multikills, or you will be kicked!”
set g_msg4 “^9Panzernoobs will be warned, kicked, kicked again, get a 3 day ban, get a 7 day ban, then get a ban for life!”
set g_msg5 “^HAll players should perform the duties of the class that they have chose!”
set g_msg6 “^0[ToC] ^2is recruiting!”
set g_msg7 “^0[ToC] ^3Forums - http://www.tocforums.cjb.net/
set g_msg8 “^DCheaters will be banned for life!”
set g_msg9 "^BThis is a game, so let’s make it fun!
set g_msg10 “^8Thanks for coming to the ^0[ToC] ^1Clan Server!”
set g_showmsgs “20”
set g_spectator “15”
set g_shortcuts “1”
set g_nadewar “0”
set vote_allow_maprestart “1”
set g_spawninvul “3”
set g_drophealth “3”
set g_moverscale “1”
set g_forcelimbohealth “1”
set g_ammocabinettime “60”
set g_healthcabinettime “10”
set g_misc “3”
set g_shovenoz “1”
set g_autotempban “1”
set g_autotempbantime “1800”
set g_playdead “2”
set g_ctf “0”
set g_ctfspawn “0”
set g_weaponlimits “31”
set g_balancedteams “1”
set g_needpass “0”
set g_dropmsg “If you think that this ban was unfair, E-Mail me at homer_simpson500@hotmail.com
set g_logadmin “Shrubbot Actions.txt”
set g_timeoutlength “60”
set g_redlimbotime “15”
set g_bluelimbotime “15”
set g_medicchargetime “45000”
set g_ltchargetime “40000”
set g_engineerchargetime “30000”
set g_soldierchargetime “20000”
set g_covertopschargetime “30000”
set g_usertimelimit “30”
set g_inactivity “300”
set g_gravity “800”
set g_speed “320”
set g_teammaxpanzers “1”
set g_teammaxflamers “1”
set g_teammaxmortars “1”
set g_teammaxmg42s “1”
set g_teammaxgrenlaunchers “3”
set g_playerinactivity “300”
set g_useraxisrespawntime “15”
set g_useralliedrespawntime “15”
set g_maxlivesrespawnpenalty “0”
set sv_allowanonymous “0”
set g_maxgameclients “33”
set sv_minguidage “0”
set g_voteflags “0”
set g_disablecomplaints “7”
set g_punkbuster “punkbuster.cfg”

Command Line:

+set net_port 27960 +set com_hunkmegs 64 +set com_zoneMegs 32 +set dedicated 2 +set fs_game ShrubET +set fs_homepath 27960 +set sv_punkbuster 1 +exec punkbuster.cfg +exec server.cfg.

And one question:

Is the command line after the quotes in Target, in the properties for Shortcut To Enemy Territory? Because that’s where I put the above.


(Zaedyn) #4

Are you behind a router? If so, does your router forward 27960 to your server and vice versa?