Mordhau
 Gluten
Knight
  • Likes received 24
  • Date joined 30 Apr '17
  • Last seen 2 Oct '19

Private Message

Knight 18 24
  • 4 May '19
 Gluten

@lb said:
Thank you so much for the guide. I'm having an issue when I reach:

"If you type ls, you will see a few folders. The server configuration files are stored in Mordhau/Saved/Config/LinuxServer"

I'm not seeing the "/Saved/" - am I doing something wrong? I can see the game files there. Any help will be appriciated.

Run ./MordhauServer.sh once and the files will be created.

Knight 18 24
  • 4 May '19
 Gluten

@ExCTyrdlu said:
Have you tried to start the server first manually?

for more logs
journalctl -r -u mordhau.service

The server was working manually. Anyway I have reinstalled the server and the daemon seems to be working fine now. Thanks a lot mate!

Knight 18 24
  • 3 May '19
 Gluten

@ExCTyrdlu said:
I created start script for systemd with on failure restart and update validate

Systemd unit

sudo cat > /etc/systemd/system/mordhau.service <<EOL
[Unit]
Description=Mordhau Server
Requires=network.target local-fs.target
After=network.target local-fs.target

[Service]
Type=simple
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
User=steam
Group=steam
ExecStartPre=/home/steam/Steam/steamcmd.sh +login anonymous +runscript /home/steam/Steam/update_mordhau.txt
ExecStart=/home/steam/Steam/mordhau/Mordhau/Binaries/Linux/MordhauServer-Linux-Shipping Mordhau
ExecStop=/bin/kill -SIGINT $MAINPID

[Install]
WantedBy=multi-user.target
EOL

Installation

sudo systemctl enable mordhau.service

sudo systemctl start mordhau.service

it replaces the original startup script you can only use this one.

Thanks for the script! When I run the server it just loops (successfully, every time) the update script without ever running the server itself (according to "systemctl status mordhau.service"), any idea why is it stuck there?

Knight 18 24
  • 2 May '19
 Gluten

Thanks for the great guide Vinc.
Wanted just to say that "+login anonymous" works now after release!

Knight 18 24
  • 4 Jan '19
 Gluten

@roshawnmarcellterrell said:

@Mittsies said:
just keep in mind the bots are extremely dumb and are a terrible representation of what a real 1vX fight will feel like

Aw that's unfortunate, they do seem a hell of a lot smarter and fun to fight than the bots in Chivalry.

They are really bad at reading kicks. You can stand in place and kick them until they die.

Knight 18 24