How to enable Replays?.

Discussion in 'Server Discussion' started by Dazepol, Jul 3, 2011.

  1. Dazepol

    Dazepol L1: Registered

    Messages:
    18
    Positive Ratings:
    3
    Hi!, Well like the title say, how can i enable the replays on my TF2 server?, its a rented server, please help :D.

    Greetings.
     
  2. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Do you have a web host? Without a http web host you're unable to host the files for clients to download.

    EDIT: never mind, it seems FTP offloading is working these days. I'll respond with a proper reply in a moment.
     
    • Thanks Thanks x 1
    Last edited: Jul 3, 2011
  3. Dazepol

    Dazepol L1: Registered

    Messages:
    18
    Positive Ratings:
    3
    Yeah, i have a webhost, and thanks, im going to wait for your response :).
     
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    It seems that the replay directory branch should come default with HLDS now. I don't know whether you've noticed.

    Basically you need to go into the replay.cfg in your server cfg folder and to run "exec replay" in your server.cfg (i don't know how many configs you use on your server, many server operators that run several choose to have an empty server.cfg that runs a sub .cfg. As in the server.cfg is told to "exec yourserverconfigname" (we have exec "servertf2m").

    Our server. cfg looks like:
    Inside of which include amongst our cvar's
    Your replay config should look like:
    Depending whether you use ftp or http:

    I think that covers everything.

    Basically go into these cfg's and plug in your details, whether it be http or ftp, to run your offloads; and make sure you run "exec replay" in your server.cfg. If i'm not mistaken the relavent directories should be written automatically.

    EDIT: There's an issue with the replay bot in that it can mess with your player count and auto-join feature.

    This seems to be the temporary work around.

    EDIT2: Some of those variables (like replay_fileserver_offload_enable "0") might be wrong as another admin besides myself has turned our replays off recently. But a simple google will show plenty of examples after all the server operators have been looking for the settings to run replay.
     
    Last edited: Jul 3, 2011
  5. Dazepol

    Dazepol L1: Registered

    Messages:
    18
    Positive Ratings:
    3
    Thank you very much for this, really, btw, to add sourcetv(im very intrigued with this) i to add some extra plugin or something, or it come by default too?.
     
  6. Dazepol

    Dazepol L1: Registered

    Messages:
    18
    Positive Ratings:
    3
    Btw on this line:

    I have to make a subdomain of my host, or i leave it as it is?.
     
  7. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Lol, no that's our redirect. I thought you'd be able to figure that out :p make your own. We use the same redirect for our replays as the one that hosts our custom maps.

    STV is integrated into the engine. Add/modify this in your server.cfg

    //SourceTV
    tv_enable "1"
    tv_autorecord "1"
    tv_delay "1" (delay in seconds if you don't want players to exploit STV to get info about the enemy team such as in clan matches)
    tv_delaymapchange "1"
    tv_maxclients "32"
    tv_maxrate "3500"
    tv_transmitall "1"
    tv_port "27020"
    tv_name "The Announcer" (name of your STV bot)

    EDIT: Be aware that you may have to update your player count settings/hide this bot to get accurate player counts.

    edit2: I should have just linked you these:

    http://developer.valvesoftware.com/wiki/SourceTV
    http://developer.valvesoftware.com/wiki/Replay
     
    Last edited: Jul 3, 2011
  8. Dazepol

    Dazepol L1: Registered

    Messages:
    18
    Positive Ratings:
    3
    Oh thanks again :D.
     
  9. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Ah, saw you replied already. Check out the 2 links at the bottom of my last post if you have any questions those will probably answer it.
     
    • Thanks Thanks x 1