I recently got the Epic Games version of FS19 to run as a dedicated server, however as many of you have probably seen there are issues with the dedicated server portion of it.
I followed the DedicatedServer_EN guide on how to setup and start the server, however I could never get the dedicatedserver.exe web admin interface to actually start the server as it should.
However I have managed a temporary work around for the Epic Games Launcher not loading a FS19 dedicated server, and even with a working web admin interface.
What I found was the EG Launcher was treating the dedicatedserver.exe as if the game was running, showing a status of "Running". I believe this is related to possibly why the server might not be loading from the web admin interface.
Next I noticed the web admin interface was complaining about my license being invalid. And when I tried to start the dedicated server from within the web admin interface it would try and then fail to start.
To work around this the first thing I did was launch the FS19 on my server from the Epic Games Launcher, I then created a multiplayer game, set up a farm, set my settings how I wanted, saved it, and quit.
Next I launched the dedicatedserver.exe and accessed the web admin interface to configure my server settings, name, password, etc. This was just to simplify things, it could have also been done from the .xml files directly.
Next I saved my settings and closed the dedicatedserver.exe web admin interface.
Then I opened the Epic Games Launcher and went into Settings, and scrolled all the way down to the bottom and expanded the Farming Simulator 19 section and checked the Additional Command Line Arguments option, and in the box I set the option to -server, which is literally just "-server" without quotes.
Next I went to my Documents folder "C:\Users\Me\Documents\My Games\FarmingSimulator2019\gameSettings.xml and edited the <creategame line and set autoaccept="true" (I'm still not sure why this was overridden, when I set up my farm and game I set auto accept ON)
Code: Select all
<createGame password="*********" name="*********" useUpnp="false" autoAccept="true" autoSave="false" allowOnlyFriends="false" capacity="8" bandwidth="5"/>
It now launched the headless server using my pre-configured settings, and I was able to connect to it remotely with my Steam based Farming Simulator 19 v1.5.1.0 client no problem at all.
After the server started up, I was actually then able to launch the dedicatedserver.exe web admin interface and still monitor and admin the server from it. Just not start/stop the server.
I hope this was helpful to you guys, and if anyone needs help getting this working I will monitor this thread or you can just @dStruct on the Farming Simulator Discord.