How To Install A Tf2 Server Using Hldsupdatetool

Discussion in 'Team Fortress 2' started by RD1981, Jan 2, 2013.

  1. RD1981

    RD1981 Well-Known Member

    download it first
    https://developer.valvesoftware.com/wiki/HLDSUpdateTool
    on windows type cd.. until your at c:\ then type cd dir and make it to your directory
    in command prompt type hldsupdatetool -command update -game tf -dir c:\dir
    on linux it has instructions on the site to install hldsupdate then
    ./steam -command update -game "tf" -dir .
    after you install tf2 on either OS you will need Sourmod and Metamod
    http://www.sourcemod.net/snapshots.php download lastest snapshot currently the dev versions only seem to work after the updates.
    http://www.sourcemm.net/snapshots again download latest snapshot
    now you will need to create a vdf file for your game
    http://www.sourcemm.net/vdf select your game and save into addons folder now SM and MM should run
    To install hale mods and other stuff just drop the stuff into the directories they go into with FTP on linux or RDP for windows.
    You will need lastest snapshots of sdkhooks and tf2items.
    http://vphysics.limetech.org/?project=tf2items on tf2items you will need to download the old version first since the snapshot doesnt include all files
    http://forums.alliedmods.net/showthread.php?t=115100
    http://users.alliedmods.net/~psychonic/builds/sdkhooks/2.2/
    and there you have it for router stuff I can never get that stuff to work so you can look that up on youtube.

     
  2. RD1981

    RD1981 Well-Known Member

    furthermore you will need start commands for the servers startup lines linux
    ./srcds_run -console -game tf +ip here -port here +maxplayers 24 +map ctf_2fort
    windows
    c:\directory\orangebox\srcds.exe -console -game tf +hostport 27015 +map cp_dustbowl +maxplayers 16
     
  3. RD1981

    RD1981 Well-Known Member

    you will also need a update shortcut to make thing easier
    C:\HLDSUpdate\HldsUpdateTool.exe -command update -game tf -dir C:\directory on windows you can create a shortcut to it
    linux
    ./steam -command update -game "tf" -dir
    create a script on linux
    #!/bin/sh
    echo "Starting TF2 server"
    sleep 1
    screen -A -m -d -S tf2-server ./srcds_run -console -game tf +map de_dust +maxplayers 16 -autoupdate
    since it has auto update feature.
     
  4. RD1981

    RD1981 Well-Known Member

  5. RD1981

    RD1981 Well-Known Member

    I forgot the admin part of it you need to give your admins the flags you want and either use admins.cfg or admins simple or both
    http://wiki.alliedmods.net/Adding_Admins_(SourceMod) should look something like this you can also assign groups and flags
    Admins
    {
    "BAILOPAN"
    {
    "auth" "steam"
    "identity" "STEAM_0:1:2345"
    "flags" "abcdef"
    "immunity" "5"

    }
    }
    admins simple should look like this
    "STEAM_0:1:16" "bce" //generic, kick, unban for this steam ID. no immunity
    to add groups edit groups file like this
    Groups
    {
    "Owner"
    {
    "flags" "abcdefghijklmnzopqrst"
    "immunity" "255"
    }
    }
    and add the group at the end and just take off the flags and there you have it.
     
  6. VintagePC

    VintagePC GodModePC (Lead Developer) Srcds Server Operator Forum Operator Minecraft Operator Global Moderator Staff Member

    Mind if I edit your title to "How to install a TF2 SERVER"? ;)
     
  7. Razer

    Razer Well-Known Member Member from long ago...

    maybe a title change to `how to copy/paste from a wiki' ?
     
    • Funny Funny x 1

Share This Page