Conan Exiles Dedicated Server Launcher (Official Version: 1.7.11 / Beta: 1.7.12)

Server restart always checks for updated mods, but there is an option at the top which can be set to “check for updates and restart” with an interval set to the right. If you set it for 1 hr for example, every hour it will check to see if something updated and if so, it will restart the server and grab all the updated mods again. It will wait to restart if someone is on at intervals defined under “warning messages” which will show in-game to give players a heads up that restart is coming, and also tells them on the first popup which mod or mods are updating (so they can logout and get their client updated as well).

2 Likes

In addition to what @darthphysicist wrote, I’ve to point out that only the mods which are specified using their workshop id (so just a number) will be updated, but the mod list edit field also accept full paths to pak files on your computer disk drives: These will be added to the modlist.txt but will not be managed at all, they will not get checked for updates.

1 Like

Hi Toolguy,
how can I build up, access and/or configure this web page for controlling the launcher? Maybe I’m just blind or it’s too easy/complex for my searching words, but I can’t find any information about HOW to reach the launcher from outside. :sweat_smile:

1 Like

Good point, I did not update the documentation when I did the feature, this is now fixed.

1 Like

I am having the same problem with broadcasting RCON. When a mod updates the client doesnt display the message box and we get dumped when the server goes thru its timed restart. The server is perfectly aware we are on and waits the appropriate amount of time (the messages even appear in the discord channel I have assigned to server messages), its just the client doesnt broadcast. So while slightly different than above, the root cause is probably similar because the setting doesn’t “take”.

@rigultru @darthphysicist did that started to happen after some recent server update?

I guess it’s time I move these settings from the main ini files to the one actually managed by the server.

The reason the DSL “unchecks” or “reverts” things, is because the INI file where the settings are stored are the “source of authority”. If the content changes, it gets reloaded and applied to the UI.

When I started the DSL I decided to use the ini files of the servers, which retrospectively happened to have been a catastrophically bad idea, but when I did it the server did not spend its time resaving things and some times deleting stuff.

The main issue is that it means you will probably have to set the settings again if I move them to a new ini file.

I think it started with the last server side patch but I’m not sure. I started another server and only the new one has the issue (post server patch birthing).

1 Like

@rigultru @darthphysicist I’ve tried to reproduce that on my machine but I did not lose either RCON or Discord on restart.

So the two settings the Dedicated Server Launcher uses to determine if these should be enabled are in the game ini files.

RCON is in “Game.ini”, in the [RconPlugin] section, and in my code in the launcher map to these lines of code when saving (the loading is similar).

  m_GameIni.SetEntryBoolean("[RconPlugin]", "RconEnabled", m_RConEnabled);
  m_GameIni.SetEntryInteger("[RconPlugin]", "RconPort", m_RConPort);
  m_GameIni.SetEntry("[RconPlugin]", "RconPassword", m_RConPassword);
  m_GameIni.SetEntryInteger("[RconPlugin]", "RconMaxKarma", m_RConKarma);
  m_GameIni.SetEntry("[RconPlugin]", "RconMessageMethod",m_RConMessageMethod);

The Discord parameters are in “ServerSettings.ini”

  m_ServerSettingsIni.SetEntryBoolean("[ServerSettings]", "DedicatedServerLauncherDiscordEnabled", m_DiscordEnabled);
  m_ServerSettingsIni.SetEntryBoolean("[ServerSettings]", "DedicatedServerLauncherDiscordTimeStampsEnabled", m_DiscordTimeStampsEnabled);
  m_ServerSettingsIni.SetEntry("[ServerSettings]", "DedicatedServerLauncherDiscordWebHooks", m_DiscordWebHooks);
  m_ServerSettingsIni.SetEntry("[ServerSettings]", "DedicatedServerLauncherDiscordUsername", m_DiscordUsername);

Since the default value for both RCon and Discord is to be disabled, it means that either:

  • The entry is missing from the ini files
  • The entry is in the ini files but somewhat failed to parse properly

For example, here is the actual code that reads if discord is enabled or not:

    // Discord
    m_DiscordEnabled = m_ServerSettingsIni.GetEntryBoolean("[ServerSettings]", "DedicatedServerLauncherDiscordEnabled");
    set_checkbox(IDC_CHECK_DISCORD, m_DiscordEnabled);

and the code that determine the boolean value is not super complicated either:

  if ((value == "True") || (value == "true") || (value == "1"))
  {
    return true;
  }
  return false;

One thing you could do to help me diagnose things is next time you end up with the missing option:

  • immediately open the config folder and make a copy of the two ini files
  • set the checkbox again, save, and make a second copy of the two ini files
  • send me the ini files
1 Like

I’m currently out of pocket so it’ll take me till next monday but I’ll check this as soon as I’m at my server again. Its currently 1920 miles away…/

This is based on the information where the player tab indicates the number of players, and that depends of the content of these log lines in the server:

LogServerStats: Sending report: exiles-stats?players=0&=15.45%3A33.34%3A64.39&uptime=1260&memory=20149551104%3A34284244992%3

Could you check your logs and see that you properly get these exact lines, and that this value increment each time a player joins?

Ok, I updated the documentation. :sweat_smile:

1 Like

I’m wondering: When you disabled the logserverstats, was there anything display in the log at the start regarding what was enabled/disabled? Like is there something in there the launcher could read and detect so it could warn the user?

It’s been a while since we had a release of the launcher (1.5.8 is from December last year), but I managed to find a few hours to do some fixes and improvements.

1.6.0 (6 July 2022)

  • Added a Chat Tab
  • Modified the log scroll logic so it does not auto-scroll if the current position is not at the end of the log view
  • Added support for Exiles 3.0 log format change
  • Did some fixes in the JSon format of the data sent to Discord

Dedicated Server Launcher 1.6.0

Some people had requested an easier way to see who said what, so I added a tab just for the Chat content - including whatever messages are sent through RCON -.

There was some issue with Discord when some combinations of name/time stamps were in use, I fixed the way the JSon code was generated, hopefully that should be more reliable now (when I started working on the Dedicated Server Launcher we did not have a proper JSon library, so that was all hand written…)

Some people where rightfully complaining that the log kept scrolling back to the end, making it very hard to read the log, hopefully that should be fixed now: If the scroll bar is on the last line, it will auto-scroll when new content appears, else it will just stay where it is (I did not fix the horizontal scroll bar, so that one may reset, will fix that another time).

And finally, the Conan Exiles 3.0 which is coming later this year has a couple changes in the log messages format, so this version should support that properly as well.

This is my last week before the summer holidays, so if you find anything between now and tomorrow there’s still a chance I can do a fix on Friday, but after that you will have to wait for three weeks… and if things don’t work, you can still revert to 1.5.8.

Have fun!

4 Likes

On the off chance you havent found this:

1 Like

Awesome. I will migrate to this version as soon as I get back home.

1 Like

Hi,

since a while now… if i turn on auto-update or check for updates and restart the update sequence gets in a loop… and nothing happens. maybe any clue whats happening there ?

anyway… i really like your tool :smiley: great work :slight_smile:

Dedicated server launcher (1.5.8) was working great before, for many months. Then I got a new computer (Windows 10). I used the same install of the game and launcher directory as before, just selected the new network configuration and updated the port forwarding on my router and firewall with my new IP. Get the green lights when I test port accessibility. But now I keep seeing “KDS passphrase provider” errors in the log, e.g.:

[2022.07.24-21.33.49:766][ 0]Network:Error: Code: KDS passphrase provider failed to initialize. KDS will at some point deny access unless the problem is fixed. Failure message: Error loading dedicated server provider id certificate: No certificate found with id #-1
[2022.07.24-21.33.49:767][ 0]Network:Error: Code: KDS passphrase failure: Server provider id certificate unavailable: 0x80092004

The effect is that no one can join my game. It shows up with 9999 in the server list, and when you join you can’t get past the loading screen. Direct connect works for me but for me only, everyone else times out.

I tried redownloading the launcher and starting from scratch but am still seeing this KDS item in the logs.

I have researched this error and find results going back to 2020 but with no answer or resolution. Still an issue in 2022 it seems. There is some stuff for Linux but I’m on Windows. I’ve spent many hours trying to resolve this and am at my limit but figured I would check her to see if there is a solution or something I could try.

Is this issue originating from my end or with the server launcher / software? Like I said ports are accessible according to the app. I have no idea what KDS passphrase provider or why it’s failing to initialize. Please help.

I figured it out. Seeing how I searched and searched online only to find zero resolution, and got no help here, I will share what I did in case someone with same scenario finds this.

It turns out KDS passphrase in the log was not actually the problem keeping people from joining my server, or causing the 9999 ping on the server list. Because now people can join my server even though those KDS passphrase errors still appear in the log.

What I did wrong when I got my new computer was copy the entire folder that the server launcher creates from my old computer. I thought I could just set my new ip address and update the port forwarding but that people couldn’t join even though all the lights for the ports were green.

Instead I moved the server launcher into an empty folder, opened it and effectively redownloaded all the server files. Then I replaced the ConanExilesDedicatedServer > ConanSandbox > Saved folder with the equivalent folder from my old computer, to transfer all the save data for myself and the people playing on my server. Doing this, they were finally able to join again, and the server in the list shows normal ping.

1 Like

Interesting, so it seems that some stuff in the folder was “computer dependent” and that made the connection to fail?