How can I host my own deticated tf2 server?

Discussion in 'Server Discussion' started by Cookie Hammer, Feb 7, 2011.

  1. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    I need to know how i can host one without having to buy one
     
  2. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    forward the ports that the server uses (I think it's like 27014-27016) and then host it using the tool in your library, make sure you have sv_lan set to 0, and then when your server is started tell people to type "connect YOURIP" into console (the IP won't be what's listed in the tool dialog, it will be your actual external IP, whatismyip.com) and it SHOULD work


    at least that's how I used to do it

    p.s. your bandwidth better be good or else you're going to get unbearable lag when more than 5 people join (as the server is your actual computer, and the connection from it)
     
    • Thanks Thanks x 2
  3. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    thanks nik, but I want to host one for everyone to join without giving them my ip every time
     
  4. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    I'm pretty sure the server shows up on the server browser (sometimes)

    On the other hand, I'm certain it's possible for people to join a server you made under "create a server" without having to change anything. I can recount a few times when some random player joined the server I was on while testing a map I just compiled.

    It appears Valve changes the whole dedicated server thing all the time, so yeah.
     
  5. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    k thanks im going to test that out soon
     
  6. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    nik i tried the first way and it doesnt work, and yes i gave my friend my ip to connect
     
  7. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    well, I don't know then..
     
  8. RagnarHomsar

    RagnarHomsar L2: Junior Member

    Messages:
    59
    Positive Ratings:
    18
    About "dedicated" servers: yes, you need a tool to host those, but the one in the Steam Library (the one Nik directed you to) doesn't exactly work that well for me. I have to manually download the HLDSUpdateTool (http://storefront.steampowered.com/download/hldsupdatetool.exe), and then I usually install it to C:\SRCDS. After that, I use Command Prompt to navigate to the directory, and then run the real update tool like this: hldsupdatetool -command update -game tf -dir . (the dot represents the current directory.)

    After that, the Update Tool takes a while to download everything. When it finally finishes, navigate to tf\cfg, and modify server.cfg how you want (ex. "hostname" followed by what name you want would set the name of the server as it would appear to players, sv_region 1 would set the server browser region to West Coast, meaning your server will show up when people search for servers on the west coast).

    After that, launch SRCDS by going to where you downloaded everything to, and use the following command: srcds -console -game tf -port 27015 (make sure that port is forwarded) +maxplayers (whatever you want to be the max playercount goes here) +map ctf_2fort (any map that's in the server's tf\maps directory can go here). After THAT, it should be working, and it should show up on the Server Browser.

    Beware, though. If you're on a home internet, any more than 4-10 players, depending on your internet, will cause either the server's connection to start choking, or your client-side internet to start choking. Make sure you have acceptable upload speed for this (I read somewhere 15 kb/s per player is acceptable).
     
  9. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    RagnawHomsar is there any possible way u can make a video of that?
     
  10. Prestige

    aa Prestige im not gay anymore

    Messages:
    1,774
    Positive Ratings:
    1,530
    http://www.speedtest.net/

    make sure your upload speed is pretty high. i was gonna make a server but my connection was shit so i couldn't.
     
  11. Cookie Hammer

    Cookie Hammer L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Ragnaw it doesnt work for some reason =(
     
  12. Duke Silas

    Duke Silas L1: Registered

    Messages:
    40
    Positive Ratings:
    18
    • Thanks Thanks x 1
    Last edited: Feb 10, 2011
  13. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    you NEED to have your ports forwarded.

    you won't be able to if you don't have the admin password for your network.
     
  14. Terwonick

    Terwonick L6: Sharp Member

    Messages:
    278
    Positive Ratings:
    89
    Download: 4.33 Mb/s

    Upload: 1.19 Mb/s

    Is that any good?
     
  15. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    that's much better than mine - you should be fine up to a bunch of people

    although I suggest uploading the map to an ftp and using sv_download, or distributing it beforehand, otherwise it will take a while for everyone to connect from you

    sv_download is kind of annoying so look it up in the VDC