10-08-2009, 04:55 AM
(This post was last modified: 10-08-2009, 09:46 PM by crazycoders.)
I have tried and tried many times, read countless posts on the subject and even asked a friend who is better than me to help me with this issue and i've still not made it work...
RCON... My TF2 server works perfectly well except for RCON. Everytime i try to load the console using "rcon_password testpass" it doesn't do anything (which i understand is normal) but when i send for example "rcon changelevel ctf_sawmill" it fails saying:
"Unable to connect to remote server (192.168.1.50:27015)"
Notes:
1) People can play from the outside and have a very good ping
2) My router has the DMZ pointed to the server
3) Server doesn't have a firewall activated
4) Voice works fine too
5) HLSW or wathever it is named doesn't work and returns the same message
6) People from the outside can attempt the remote console but get the same message but with a public IP address instead
Technical info
--------------
Server: Linux Ubuntu 9.04 or somewhere near it, fully patched
SRCDS: Fully patched and installed at /home/valve/tf2
Computer: P4HT 3.2Ghz with 2gig of ram and a shitload of disk space for its use
If anything is missing please tell me i'd like to fix this asap
Run Script:
-----------
#!/bin/sh
echo "Starting TF2 IDR Clan Server"
sleep 1
cd orangebox
screen -A -m -d -S tf2-server ./srcds_run -game tf -timeout 30 -autoupdate -debuglog tf2debug.log +map cp_dustbowl +port 27015 +maxplayers 24
cd ..
Configuration file: server.cfg
---------------------------
hostname "[IDR] Ill Doctors Clan server"// this is your server name as shown in the server list
sv_password "" // your server password. a pair of double quotes means it is not set and anyone can join
//rcon settings
rcon_password "testpass" // your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5 // Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 3 // Max number of times a user can fail rcon authentication before being banned
//cvars for balancing un-even teams
mp_autoteambalance 1 // 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60 // Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30 // Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 2 // Teams are unbalanced when one team has this many more players than the other (0 disables)
//cvars for round and game times
mp_enableroundwaittime 1 // Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 20 // Time after round win until round restarts (in seconds)
mp_restartround 20 // Time the current round will restart (in seconds)
mp_stalemate_timelimit 120 // Timelimit (in seconds) of the stalemate round
mp_timelimit 30 // game time per map in minutes
//cvars for win conditions
mp_maxrounds 10 // Max number of rounds to play before server changes maps
mp_winlimit 7 // Max number of rounds one team can win before a server changes maps
//client specific cvars
mp_forcecamera 0 // force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1 // enable or disable spectators on the server. 0 is off 1 is on
mp_friendlyfire 0 // 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_footsteps 1 // footsteps on or off. 0 is off and 1 is on
sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 180 // the amount of time in seconds that a client is booted for no input
sv_maxspeed 320 // the maximun speed a client can move at
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 10 // the pause in seconds between a decal being sprayed
//cvars for communication
sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 1 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 20 // players can chat for this amount of time (in seconds) after a game is over
// start download cvars
sv_allowupload 0 // allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1 // allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 15 // Max download file size. Default is 15
sv_downloadurl "" //redirect download location
//bandwidth rates/settings
sv_minrate 20000
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 100
sv_minupdaterate 66
sv_mincmdrate 66
sv_maxcmdrate 100
//server logging
log off // enable or disable server logging. on is on off is off
sv_logbans 0 // Log server bans in the server logs
sv_logecho 1 // Echo log information to the console. 0 is off 1 is on
sv_logfile 0 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file
//cvars for general operation
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0 // server location. -1 is the world, 0 is USA east coast, 1 is USA west coast, 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_contact mathieu@7dfx.com // contact email for sysop
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1 // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1 // kicks clients that do not have content that matches what is on the server
//execute ban files
exec banned_user.cfg
exec banned_ip.cfg
RCON... My TF2 server works perfectly well except for RCON. Everytime i try to load the console using "rcon_password testpass" it doesn't do anything (which i understand is normal) but when i send for example "rcon changelevel ctf_sawmill" it fails saying:
"Unable to connect to remote server (192.168.1.50:27015)"
Notes:
1) People can play from the outside and have a very good ping
2) My router has the DMZ pointed to the server
3) Server doesn't have a firewall activated
4) Voice works fine too
5) HLSW or wathever it is named doesn't work and returns the same message
6) People from the outside can attempt the remote console but get the same message but with a public IP address instead
Technical info
--------------
Server: Linux Ubuntu 9.04 or somewhere near it, fully patched
SRCDS: Fully patched and installed at /home/valve/tf2
Computer: P4HT 3.2Ghz with 2gig of ram and a shitload of disk space for its use
If anything is missing please tell me i'd like to fix this asap
Run Script:
-----------
#!/bin/sh
echo "Starting TF2 IDR Clan Server"
sleep 1
cd orangebox
screen -A -m -d -S tf2-server ./srcds_run -game tf -timeout 30 -autoupdate -debuglog tf2debug.log +map cp_dustbowl +port 27015 +maxplayers 24
cd ..
Configuration file: server.cfg
---------------------------
hostname "[IDR] Ill Doctors Clan server"// this is your server name as shown in the server list
sv_password "" // your server password. a pair of double quotes means it is not set and anyone can join
//rcon settings
rcon_password "testpass" // your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5 // Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 3 // Max number of times a user can fail rcon authentication before being banned
//cvars for balancing un-even teams
mp_autoteambalance 1 // 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60 // Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30 // Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 2 // Teams are unbalanced when one team has this many more players than the other (0 disables)
//cvars for round and game times
mp_enableroundwaittime 1 // Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 20 // Time after round win until round restarts (in seconds)
mp_restartround 20 // Time the current round will restart (in seconds)
mp_stalemate_timelimit 120 // Timelimit (in seconds) of the stalemate round
mp_timelimit 30 // game time per map in minutes
//cvars for win conditions
mp_maxrounds 10 // Max number of rounds to play before server changes maps
mp_winlimit 7 // Max number of rounds one team can win before a server changes maps
//client specific cvars
mp_forcecamera 0 // force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1 // enable or disable spectators on the server. 0 is off 1 is on
mp_friendlyfire 0 // 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_footsteps 1 // footsteps on or off. 0 is off and 1 is on
sv_cheats 0 // allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 180 // the amount of time in seconds that a client is booted for no input
sv_maxspeed 320 // the maximun speed a client can move at
sv_consistency 1 // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 10 // the pause in seconds between a decal being sprayed
//cvars for communication
sv_voiceenable 1 // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 1 // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 20 // players can chat for this amount of time (in seconds) after a game is over
// start download cvars
sv_allowupload 0 // allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1 // allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 15 // Max download file size. Default is 15
sv_downloadurl "" //redirect download location
//bandwidth rates/settings
sv_minrate 20000
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 100
sv_minupdaterate 66
sv_mincmdrate 66
sv_maxcmdrate 100
//server logging
log off // enable or disable server logging. on is on off is off
sv_logbans 0 // Log server bans in the server logs
sv_logecho 1 // Echo log information to the console. 0 is off 1 is on
sv_logfile 0 // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0 // log everything in one file
//cvars for general operation
sv_lan 0 // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0 // server location. -1 is the world, 0 is USA east coast, 1 is USA west coast, 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_contact mathieu@7dfx.com // contact email for sysop
sv_pausable 0 // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1 // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1 // kicks clients that do not have content that matches what is on the server
//execute ban files
exec banned_user.cfg
exec banned_ip.cfg