We've moved! Join us as we continue development on our new site at umod.org!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Starting with a fresh Ubuntu 14.04 x86_64 installation:

    Code:
    sudo apt-get update && sudo apt-get upgrade
    Code:
    sudo apt-get -y install software-properties-common lib32gcc1 screen libc6-amd64 
    Code:
    sudo add-apt-repository -y ppa:ubuntu-wine/ppa && sudo apt-get update
    Code:
    sudo apt-get -y install wine1.7 winetricks xvfb
    Code:
    sudo useradd -m steam
    Code:
    sudo usermod -aG sudo steam
    Code:
    sudo passwd steam
    Code:
    sudo su - steam
    Code:
    mkdir ~/steamcmd
    Code:
    cd ~/steamcmd
    Code:
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
    Code:
    tar -xvzf steamcmd_linux.tar.gz
    Code:
    /home/steam/steamcmd/steamcmd.sh +\@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir /home/steam/hurtworld +app_update 405100 validate +quit
    Code:
    cd /home/steam/hurtworld
    *** IGNORE THIS PART IF YOU DO NOT WANT TO INSTALL OXIDE ***
    Code:
    wget -O Oxide.zip https://github.com/OxideMod/Snapshots/blob/master/Oxide-Hurtworld.zip?raw=true
    Code:
    unzip -o Oxide.zip
    *** END OF OXIDE PART ***

    Code:
    rm -rf ~/.wine64
    Code:
    wineboot --update
    Code:
    vi start.sh
    Code:
    WINEARCH=win64 WINEPREFIX=~/.wine64 /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /usr/bin/wine Hurtworld.exe  -batchmode -nographics -exec "host 12871;queryport 12881;servername Pretermit;addadmin 76561198131650131;maxplayers 50" -logfile "gamelog.txt"
    *COPY PASTE THE ABOVE INTO start.sh , EDIT THE NECESSARY (name, admin steamid64)*
    *PRESS INSERT ON YOUR KEYBOARD BEFORE PASTING IN VI!!*
    *ONCE PASTED, PRESS [ESC], THEN TYPE
    Code:
    :wq
    This will write/quit the file.
    Code:
    chmod +x start.sh
    Code:
    screen -S hurtworldserver
    Code:
    ./start.sh
    *** FOR THOSE WITH stream failed ERROR: ****
    Stop server (CTRL+C) then add ports to iptable:
    Code:
    iptables -A INPUT -p tcp --dport 12881 -j ACCEPT
    iptables -A INPUT -p udp --dport 12881 -j ACCEPT
    iptables -A INPUT -p tcp --dport 12871 -j ACCEPT
    iptables -A INPUT -p udp --dport 12871 -j ACCEPT
    Now relaunch server (./start.sh)
    ************************************************

    *PRESS [CTRL]+[A]* (together)
    *PRESS [D]* (after letting go of Ctrl+a)
    This returns you to main screen.

    To return to the server just type:
    Code:
    screen -r hurtworldserver
    *END*


    To kill the server while in screen just do CTRL+C, or when detached from screen just do
    Code:
    screen -X -S hurtworldserver kill



    Credits go to scavenger2 as well as nogrod for the most foolproof method of doing this.
     
    Last edited by a moderator: Dec 10, 2015
    MADisBACK likes this.
  2. Wulf

    Wulf Community Admin

    Please... use code tags and condense your script a bit.
     
  3. I was not finished, as for condensing this is meant to be a retard-proof guide a robot could follow. You could condense it but then you'd get the inevitable 'how do I do this, what does this mean' and other questions. Feel free to do so if you want, but I will not be answering questions that arise.
     
  4. Wulf

    Wulf Community Admin

    I didn't mean to strip it back when I said condense, just to clean it up a bit so it a full book. ;)

    All of the apt-get steps can be combined into a single command/line for instance. If the target as you suggest, then they'll most likely be copy/pasting too, so the less steps the less confusion.
     
  5. Code:
    sudo apt-get install package package2 package3 package4 
    Because if that's what you want, it will stop at the first package that doesn't install perfectly...unless you do

    Code:
    sudo apt-get --ignore-missing install $list_of_packages
    Which I doubt is too advisable for anyone new to linux..
     
  6. Wulf

    Wulf Community Admin

    It shouldn't, as it should install them in that order. It shouldn't be any different than using them individually.
     
  7. True, done.
     
  8. How u
    Code:
    cd /home/steam/hurtworld
    if u do not did new folder ?
     
  9. Steamcmd makes this folder when installing the server files in the step above.
     
  10. For the error /dev/pts/0, just do:

    Code:
    script /dev/null
     
    HetLord likes this.
  11. ty but new error %( Screenshot
     
  12. That's normal, the server is running and you can ignore the errors. At this point just check if your server is in the server list.

    Just make sure the ports are forwarded then try again!
     
    Last edited by a moderator: Dec 10, 2015
    HetLord likes this.
  13. not connected, i cant ....
    [DOUBLEPOST=1449781848][/DOUBLEPOST]
    in console it Screenshot
     
  14. Did you start from a fresh install? That just shows wine cannot find Hurtworld.exe
     
  15. yep, if u can install its for me, i already in your steam friend list, if u want i can give 1 $ via PayPal
     
  16. Issue resolved, added port opening into the tutorial. :)
     
  17. I am running Debian 8 64 and i cant get it running. Any help?
     
  18. What are the issues that arise?
     
  19. How to open oxide console?