Jump to content

[Server Crash] - Server loads everything then closes itself


Jsao

Recommended Posts

Bug Submission:

Category: Server Crash

Issue Title: Server loads everything then closes itself

Issue Description: So, I just followed the steps to create a dedicated server and it took a lot of tries but I got it to work without mods. I installed the mods and I force enabled them because I'm not quite sure how to enable them via in-game menu through a server console. I don't know what the issue is though but I'm getting a script error and it's saying QueryServerComplete no callback.

I attached the log.txt but not sure if it's going to be added to the post.

Steps to Reproduce: > Create your Dedicated Server using the SteamCMD method.

> Configure all your settings.

> Open Port 10999

> Create dedicated_server_mods_setup.lua

> Open dedicated_server_mods_setup.lua

> add ServerModCollectionSetup("389579635")

> Run Server

> Close Server

> Open modsettings.lua

> Force Enable all the mods

> Run server

Somewhere in between the running and closing of the server I deleted the save so it would regenerate a new world (I assume it does)

@Jsao, Hmm, well I can't see the log, but you could try using the modoverrides.lua approach to enable them instead. This will also let you set config options and stuff (although you'll have to look in each mod's modinfo.lua to see the data inside the options).

I could not find the modoverrides.lua file so I didn't really bother with it. Would I need to write it myself? Is there a template I could use, perhaps? I can try it out but I can only assume that would create more problems as I have no real knowledge of that language.

 

 

here is the log.txt

http://pastebin.com/JvbLEcmC

 

 

EDIT: So, I went ahead and made a modoverrides.lua file using what the wiki gave me: http://pastebin.com/tcgafxT8

 

And I got this log.txt: http://pastebin.com/UPzN8D4a

 

EDIT 2: Also, the mods didn't download into the mod folder unlike when I force enabled them.

  • Developer

@Jsao, for your mods to auto-download to the server you need to have a file dedicated_server_mods_setup.lua in your mods directory. It should appear as of today's update. Then you'll want to enable the mods via your modoverrides.lua in your configuration directory. 

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...