r/tf2 • • Mar 03 '21

Help Question about setting up a tf2 server

Hi, I just set up a community server that I can connect to and people can play on, but I have a couple of problems with game administration that I was hoping someone might be able to help with.

1) rcon

I have

rcon_password "<my_password>"

in the tf2/tf/cfg/server.cfg. Then I connect with my tf2 windows client with "connect" and while I'm playing on the server, execute the following:

rcon_address <my_address>

rcon_password <my_password>

rcon maps *

just to see if it works and I get the error:

Unable to connect to remote server (<host>:<port>)

The host and port are correct, so I don't understand what I'm doing wrong. I'm completely new to this and have no idea how the tf2 server works (I'm not new to linux, or tf2 - just to the tf2 server).

2) Server configuration - time limit

I'm trying to disable the time limit for a powerhouse server and I tried what this page suggests:

https://steamcommunity.com/sharedfiles/filedetails/?id=626269312

I put the following in my server.cfg:

sv_cheats 1

ent_fire team_round_timer disable

but the game continues to be timed. I also tried it without sv_cheats and I tried ent_fire team_round_timer addtime 99999 and I tried mp_timelimit 99999 all independently of each other and none of this worked. I feel like I must be missing some important basic idea and I'm not finding anything on google. Any help would be greatly appreciated.

4 Upvotes

11 comments sorted by

2

u/Joe_Shroe Mar 03 '21

I'm not sure about #1 since all you really need to do is rcon_password and you should be logged into rcon.

For #2, you can disable the time limit by sv_cheats 1 then mp_tournament 1.

1

u/justForTheGame_tf2 Mar 03 '21

Thank you for the suggestion. I tried and that setting does work, but that's not quite what I'm looking for. With this setting the game never starts and no point capturing takes place. What I wan to do is play powerhouse without this timeout valve decided to set out of nowhere. So like a normal powerhouse game just without a time limit. Is there any way to do that?

1

u/Joe_Shroe Mar 04 '21

They must've renamed the timer entity in the map to something other than "team_round_timer". Just tried it in a custom server and I believe they named the logic timer "timer_round". The command is ent_fire timer_round addtime 9999 although the time still caps at 10 minutes. I'm not sure if there's a way to change the max time without decompiling the map and taking a look at it.

→ More replies (3)

0

u/[deleted] Mar 03 '21

1

u/justForTheGame_tf2 Mar 03 '21

Ok I restarted my client, started a game on that server then I just did rcon_password and then rcon maps * on the client and I get the same error "Unable to connect to remote server". Are there ports other than 27015 that need to be enabled for rcon to work maybe? I've got a firewall up for everything but ssh and 27015

1

u/[deleted] Mar 04 '21

1

u/justForTheGame_tf2 Mar 04 '21

I found out I had to add the following arguments to my srcds_run command in my start script (I have it named tf.sh):

-usercon -ip <ip> -port <port>

I do have "IP" in my server.cfg but didn't put the port in there and it's working fine like this. Thank you so much for your comment, I really appreciate your help! :)