SRCDS Steam group


Source TV Relay
#1
I have searched and this might have been answered before, but I could not find anything :

Server OS: Linux Debian 5.0.2 (Lenny)
Processor: 2 x Intel® Xeon™ CPU 2,80 GHz)
Ram: 1,5 GB (Info from Linux)
Game(s): Source TV Relay
Start Up Command:
On Relay :
./srcds_run -console -game cstrike +tv_relay 217.116.244.56:31902 +maxplayers 1 +tv_maxclients $MAXPLAYERS +tv_title $HOSTNAME +tv_port $TV +tv_timeout 30
On Server :
./srcds_run -console +ip $IP +port $PORT -game $GAMETYPE +map $STARTMAP +maxplayers $MAXPLAYERS +exec $SERVERCONFIG -autoupdate -tickrate 100 +tvmasteronly +tv_maxclients 1 +tv_enable 1 +tv_port 31902 +tv_enable 0
Admin Mods: None

Once I start the relay everything works fine, but if one of my users do a tv_enable 0 from console within the game the master tv is stopped as it should. This is done when they dont use the TV.
But once they start the tv again the relay is not running. In the console for the relay it says : Connection failed after 4 retries.

To start / stop the tv I use to aliases in the server.cfg
tvon :
tv_enable 1
tv_name "CZGames.dk TV 27015"
tv_title "CZGames.dk TV 27015"
tv_maxclients 1
tv_autoretry 1
tv_autorecord 0
tv_timeout 30
tv_delay 120
tv_delaymapchange 0
tv_maxrate 6500
tv_snapshotrate 16
tv_dispatchmode 1 // distributes clients evenly to relays when availble, set to 2 to force all clients to relays
tv_relayvoice 0 // set to 1 if you wish to broadcast voice chat to stv viewers
tv_transmitall 1
tv_chatgroupsize 0
tv_allow_static_shots 1
tv_allow_camera_man 0
tv_deltacache 2
tv_chattimelimit 5 // set the timelimit for speaking in stv chat
changelevel de_dust2

tvoff :
tv_enable 0
changelevel de_dust2

With the tv_timeout I did expect the relay to restart once the tv_enable 1 (tvon) would be used, but this is not the case.
Anyone on how I get this to work ?
Reply
#2
rcon_address 217.116.244.56:31902
rcon_password
rcon tv_enable 0
And same thing to enable it
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#3
also on the relay server, if it looses connection (after failed retries) you need to tv_retry on the relay to reconnect it
Reply
#4
If I try rcon_address I get : Unknown command "rcon_address".
I have tried using it directly in console and in a a cfg file - both end up with same error.
Does that command work on srcds ?

Also I need some way that the user can start the relay from the game if it has stopped on : Connection failed after 4 retries.
Reply
#5
You run the rcon commands on the client, not the server.
So you can make a config file in your css dir called /cstrike/cfg/tvenable.cfg and have
"rcon_address 217.116.244.56:31902
rcon_password
rcon tv_enable 1
echo SRCTV ENABLED"
Without the quotes and same for disabling the tv, except you change the 1 to a 0
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#6
Yes but that does not restart the relay, only the tv (217.116.244.56:31902) on the game (217.116.244.56:28002) , and that is not the problem.
The problem is that the relay reports : "Connection failed after 4 retries" and then when the TV is startet on the game the srcds (217.116.244.33:25002) running the relay (217.116.244.33:28002) is not started.
Med Venlig Hilsen / Best Regards
DKLeader aka Jakob Gericke

CZGames.dk - A Danish Hosting Company
With eSport clan, and other affiliates

Company
- http://www.czgames.dk &
- http://www.czgames.eu &
- http://www.czgames.com &
- http://www.czg.dk

Online Shop - http://www.CZGames.dk/shop
Esport Clan - http://www.CZGames.dk/team
Reply
#7
u need to do tv_retry on the relay server for it to reconnect
Reply
#8
I have tried tv_retry and tv_autoretry on the relay - but still get the samme answer : Connection failed after 4 retries Sad
Med Venlig Hilsen / Best Regards
DKLeader aka Jakob Gericke

CZGames.dk - A Danish Hosting Company
With eSport clan, and other affiliates

Company
- http://www.czgames.dk &
- http://www.czgames.eu &
- http://www.czgames.com &
- http://www.czg.dk

Online Shop - http://www.CZGames.dk/shop
Esport Clan - http://www.CZGames.dk/team
Reply
#9
i will try replicating your problem tonight, as on my relay setup is a bit different

IP: 82.136.24.1.:12345

startup script:
Code:
screen -dmS relay ./RESTART_srcds_run -game cstrike -tv_relay 193.33.187.145:27115 -IP 82.136.24.1 -port 27776 +tv_port 12345 +exec autoexec.cfg +tv_maxclients 2555

sever.cfg
Code:
tv_relay IP
rcon_password "pass"
tv_relaypassword "pass"
password "pass"

hostname "NAME"
tv_name "NAME"
tv_maxclients 255
tv_retry 1
tv_autoretry 1
sv_consistency 1
sv_voicecodec vaudio_miles
sv_voiceenable 0
sv_allowupload 1
sv_allowdownload 1
sv_timeout 35
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)