prom3theu5 / ConanExilesServerUpdater

Dedicated Server Updater For Conan Exiles
Apache License 2.0
11 stars 2 forks source link

crashing on start #10

Closed DirtyNightmare closed 7 years ago

DirtyNightmare commented 7 years ago

it crashing when i start it up not sure if i had changed the config right

{
  "Twitch": {
    "OAuth": null,
    "Username": null,
    "Channel": null
  },
  "Discord": {
    "DiscordToken": null,
    "ChannelId": 0
  },
  "Conan": {
    "FolderPath": "D:\SteamLibrary\Servers\conan",
    "Executable": "StartConanServer.bat",
    "StartupParameters": null
    "RaidingProtectionHoursEnabled": false,
    "RaidingStartHour": 0,
    "RaidingLengthInHours": 0,
    "AvatarsEnabledCertainHours": false,
    "AvatarActivationHour": 0,
    "AvatarsActiveLengthInHours": 0
  },
  "Update": {
    "ShouldInstallSteamCmdIfMissing": false,
    "ShouldInstallConanServerIfMissing": false,
    "SteamCmdPath": "D:\SteamLibrary\SteamCMD",
    "AnnounceDiscord": false,
    "AnnounceTwitch": false,
    "AnnounceMinutesBefore": 5,
    "UpdateCheckInterval": 5,
    "InstalledBuild": 0,
    "UpdateOnLaunch": false
  },
  "General": {
    "ShouldRestartConanOnNotRunning": true,
    "RestartServerAfterHours": 0
  }
}
prom3theu5 commented 7 years ago

Hey there

You need to include double slashes in your folder paths, and trail it with a double slash, so like D:\\SteamLibrary\\SteamCMD\\ instead of D:\SteamLibrary\SteamCMD

and

D:\\SteamLibrary\\Servers\\conan\\ instead of D:\SteamLibrary\Servers\\conan

Also the executable is ConansandboxServer.exe, not your batch file And you have to fill the StartupParameters with everything that usually goes in the batch file, like:

"ConanSandBox?Multihome=%IP%?GameServerPort=%GamePort%?GameServerQueryPort=%QueryPort%?MaxPlayers=%MaxPlayers%?listen?AdminPassword=%AdminPass%"

Where you replace the following:

%IP%, %GamePort%, %QueryPort%, %MaxPlayers% %AdminPass%

DirtyNightmare commented 7 years ago

start up parameter? what i use in my start up batch file is start ConanSandboxServer.exe -log -QueryPort=27016 as all the other stuff is changed in the ini's so it should be like "ConanSandBox?GameServerQueryPort=%27016%?" what about the -log?

prom3theu5 commented 7 years ago

Thats right - just have to remove those % marks

You don't have to worry about -log, it adds it automatically :)