How to set up Ded Server

Discussion in 'Support' started by The Smoking Dog, Jan 11, 2016.

  1. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Hello, I've been trying to search the internet for a good 2 days now on how to set up a Empires Dedicated server and I come across so many different version on what people believe is the best, I've tried Hlupdatetool.exe then steamcmd.exe, but failed to understand what to do after installing these programs I've tried searching the forum, with out any luck on finding any solutions. Myself and some friends would love to be able to play this on our own server seeing most servers have 200+ ping, so if someone could send me in the right direction or give me little information on how to setup a Ded server for empires that would be very much appreciated.
     
  2. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    You need to have steam and Source SDK Base 2013 Dedicated Server installed on your server. Use a different login than your personal one.
    I used steamcmd w/o any issues. Hlupdatetool will not work on this version
    I ran it on Windows.

    Install steamcmd in a different directory than the game files.
    I installed steamCmd in c drive on my dedi.
    Once installed start SteamCMD and log in with username and password you made for the server login.

    Install empires in :
    Steam\steamapps\common\Source SDK Base 2013 Dedicated Server\Empires
    (you will need to make that Empires folder manually with a capital E)
    then type
    force_install_dir <path> (type in your path to the Empires folder)
    then type
    app_update 17740 validate

    it should start downloading the files in a folder it makes called "empires" inside the folder you manually made called "Empires"

    ======================================================================================================
    Another way to do it is:
    You can also make a .bat file to install and update Empires instead of doing the above:

    Install steamcmd as stated before.

    make a .bat file called: update_empires.bat
    in the file put:
    steamcmd +runscript update_empires.txt
    pause

    then:
    make a text file called: update_empires.txt
    in the file put:

    // update_empires.txt
    //
    @ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once
    login "your username" "your password" (do not include quotes)
    //for servers which don't need a login
    //login anonymous
    force_install_dir "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Dedicated Server\Empires"
    app_update 17740
    quit

    That was my path to the install directory you edit it with your path.
    put the .txt and .bat file in the same directory as steamcmd

    Then run the .bat file and the files should start downloading in the empires folder it makes inside the Empires folder you manually made.
     
    Last edited: Jan 11, 2016
    Neoony likes this.
  3. CyberKiller

    CyberKiller Nyooks!

    Messages:
    1,107
    Likes Received:
    8
    Trophy Points:
    0
    Last edited: Mar 3, 2017
    Neoony likes this.
  4. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Wow thank you a-lot I have a stable 40mbit upload so if any Australians want a server up and running its there =)
     
  5. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    I don't see it listed :(
     
  6. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Sorry I took it down, I'm putting it back up, its my first time be gentle haha =)
     
  7. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Hmm I finally got my computer setup and ready, I type this

    force_install_dir C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Dedicated Server\Empires app_update 17740 validate

    And nothing happens, just drops down a line?

    Okay I got it working with the bat, I've never done this before, hope not disgracing the community haha =P
     
    Last edited: Jan 15, 2016
  8. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Okay, hello I'm back with a new problem lol, I was able to download the server into /Empires fine, but when I double click srcds.exe, nothing happens, so I tried making a bat to enable it, when I use the bat file I just got a does screen pop up for a sec then vanishes ? hope someone could assist me again I appreciate the help
     
  9. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    You need to set up your cmd line, there are a few ways to do that.
    Try this
    make another bat file, called empires.bat

    If I remember correctly it goes in the directory where the Empires folder which is in the Source SDK Base 2013 Dedicated Server directory

    put this in the bat file:

    srcds.exe -console -game Empires\empires +ip 99.198.97.162 -port 27105 +map emp_crossroads +maxplayers 54 secure

    change the ip to your server ip,
    change the port to your servers port

    change the map to any map you want
    change the maxplayers number to what you want.

    double click the .bat file and your server should come up


    If that works for you I believe you can make a shortcut of the empires.bat file on your desktop.
     
  10. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Hello, I just did that, and now i'm getting Couldn't Allocate any server IP port, Now I know for sure I don't have windows firewall on, and I know I've forwarded 27015 to TCP/UDP
     
  11. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Here it is if you need to eyeball it =)
     

    Attached Files:

  12. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    post your cmd line you put in the .bat file

    also there are quite a few ports that need opening for steam
     
  13. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    well if you cnp'd what vicky posted you have to forward 27105 not 27015

    but to me the error message doesnt sound like nat issues ...

    does it really need to be -port when all other arguments are +<arg>? just guessing ...
     
  14. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    also where did you put that .bat file?
     
  15. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
  16. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    do you really need to forward the steam client ports? it should be requesting anyway. you only need to forward ports where the connection is established by a remote host or the address table doesnt know which computer is supposed to handle the incoming packets ...
     
  17. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    I put the bat in the same folder as the srcds.exe so would be in the C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Dedicated Server
     
  18. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    I just DMZ the ports on my Server Computer, seems little easier
     
  19. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    i hope only for testing purpose :D
     
  20. The Smoking Dog

    The Smoking Dog Member

    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    yeah, still giving me that error =(
     

Share This Page