Sherman Posted December 8, 2015 Share Posted December 8, 2015 Hi all, I've been running a dedicated server (Overworld only) on a Windows Server 2012 R2 for about 2 weeks now with no errors whatsoever. However, I noticed that my server was not appearing on the server list since about 2 hours ago. Checking on the web-based server list, I noticed that the build number was in red. So I proceeded to do a steamcmd validate and there was an update. Oddly enough, with no configuration or mods changed, I started the server but it crashed soon after. Testing each mod one-by-one (I am using modoverrides.lua to enable the mods), the server still crashes. The only time it can run fully is without any mods enabled. I've noticed this line always showing up in the logs when any mod is enabled: [00:00:30]: [string "scripts/mods.lua"]:587: variable 'ScriptErrorScreen' is not declaredFull log before crashing:[00:00:30]: Load FE[00:00:30]: Load FE: done[00:00:30]: [string "scripts/mods.lua"]:587: variable 'ScriptErrorScreen' is not declaredLUA ERROR stack traceback:=[C]:-1 in (global) error (C) <-1--1>scripts/strict.lua:23 in () ? (Lua) <21-26>t = table: 02478E60n = ScriptErrorScreenscripts/mods.lua:587 in (method) SetPostEnv (Lua) <517-614>self =records = table: 0E1046E8worldgen = falsemods = table: 0E1049B8enabledmods = table: 0E1048C8modnames = table: 0E1048A0loadedprefabs = table: 0E1047D8failedmods = table: 0E104738moddetail = Installed mods: "Moderator Commands" "Extra Equip Slots" "Increased Stack size" "Winnie" "Wiley, The Little Princess" "Whandler" "Server Status" "Health Info" "Fast Travel" "Charlie" "DST Storm Cellar" "Global Positions"Klei is not able to help you should issues arise while using mods. Use with caution!modnames = "Moderator Commands" "Extra Equip Slots" "Increased Stack size" "Winnie" "Wiley, The Little Princess" "Whandler" "Server Status" "Health Info" "Fast Travel" "Charlie" "DST Storm Cellar" "Global Positions"newmodnames =failedmodnames =forcemodnames =scripts/mainfunctions.lua:792 in (global) Check_Mods (Lua) <789-798>scripts/mainfunctions.lua:785 in (global) CheckControllers (Lua) <715-787>isConnected = falsesawPopup = falsescripts/mainfunctions.lua:711 in () ? (Lua) <702-713>[00:00:31]: [string "scripts/mods.lua"]:587: variable 'ScriptErrorScreen' is not declaredLUA ERROR stack traceback:=[C]:-1 in (global) error (C) <-1--1>scripts/strict.lua:23 in () ? (Lua) <21-26>scripts/mods.lua:587 in (method) SetPostEnv (Lua) <517-614>scripts/mainfunctions.lua:792 in (global) Check_Mods (Lua) <789-798>scripts/mainfunctions.lua:785 in (global) CheckControllers (Lua) <715-787>scripts/mainfunctions.lua:711 in () ? (Lua) <702-713>[00:00:31]: Reset() returningWhile I understand that Klei does not provide support for mod-enabled servers, I believe that it is an issue with the mod-loading system implemented by Klei. Anyone else experiencing this issue? Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/ Share on other sites More sharing options...
jackblk Posted December 8, 2015 Share Posted December 8, 2015 Having the same issue, it crashes after i update DST and enable mods. No issue ever before this update Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-694611 Share on other sites More sharing options...
ToNiO55 Posted December 8, 2015 Share Posted December 8, 2015 Hi @Sherman, i have not see this problem on my all servers it's crash when server loading mods? or when you play on the server? Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-694616 Share on other sites More sharing options...
jackblk Posted December 8, 2015 Share Posted December 8, 2015 I think it has something to do with UTF-8 update yesterday. It broke lots of mods and clients as well :/ Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-694617 Share on other sites More sharing options...
Sherman Posted December 8, 2015 Author Share Posted December 8, 2015 So I wiped out everything and did a full new instance of the dst dedicated server. Oddly enough, everything works now. With the exact same mods, modoverrides.lua and settings.ini. Did not notice if the build number increased between the update and the reinstall. I'm getting full Unicode support in-game now though, which is great! Now getting back to writing my web interface for the Server Status plugin by Jack'lul... (Player names are now also sent in unicode!) Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-694618 Share on other sites More sharing options...
ToNiO55 Posted December 8, 2015 Share Posted December 8, 2015 for the moment all mods on my servers work properlybut indeed the fact that the Unicode UTF-8 can make crash yesif you have other crash report your problem with author of the mod, i think lot of mods need update now Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-694622 Share on other sites More sharing options...
UnderwearApp Posted December 11, 2015 Share Posted December 11, 2015 I am having this same issue and pulling my hair out trying to sort out the cause. After hours of attempts, I finally got my heavily modded server running cleanly using the pre-configured servers option. Then a few days ago I found that launching the dedicated server only brought up a blank cmd prompt with flashing cursor, which did nothing (which I saw in another post as well). Ignoring this, launching the server a few days later seemed to work fine. The world loads etc, etc. However I cannot join the server due to missing mods. "The server is running an-old version of some mods. They need to update their mods in order for others to join". (That hyphen is there in game. Not sure if it is a typo) The server also was not visible on jacklul but I could see it in my "Online" list. After following Sherman's advice and wiping the folders created by the pre-config, the server is now visible on jacklul but I cannot join for the same reason. Every time I go into my mods menu, the same 3 mods come up as needing to update. Nothing changes this, so I disabled them in the modoverrides and dedicated_server_setup files. Same connection issue. I have tried validating, updating, deleting the save, and checking each mod's workshop page individually to make sure they are still there (as this was an issue initially) but nothing works. Is there something I am missing here? It was hard enough getting it going with all of the mods only to have it break a week later. Also, the dedicated server is reading "dedicated_server_mods_setup" from my DST folder, but reading "modoverrides" from each of the world folders (overworld and caves). Is this normal? When I put the setup file in each world folder, it still reads from the DST folder in steam. And is the "mods" folder required in the world folders in "Documents"? It seems to run the same with or without it. Any advice would be greatly appreciated. Thanks in advance. Prof Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-696161 Share on other sites More sharing options...
ToNiO55 Posted December 11, 2015 Share Posted December 11, 2015 Hi @ProfFarnsworth, normally a simple reboot of the server DST updates all the mods, if reboot of the server doesn't works for update mods, you must delete the folder workshop -***** (in servers / mods) and reboot the serverI work at the moment to creating a tutorial on how to install, configure, and update the mods, it takes me a long time because I have beed to make so many tests, but I gradually advance, I know that for many people this system is confused so that's why I'll do a tutorial on the subject, i just need so much time for this sorryand yes it's normal for your modoverrides.lua in both servers, I think it is convenient if you want to configure the server cave of a different way than the overworld server, i hope that's help you, if you have other questions don't hesitate, maybe my explain is not really clear also Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-696190 Share on other sites More sharing options...
UnderwearApp Posted December 11, 2015 Share Posted December 11, 2015 Hi @ProfFarnsworth, normally a simple reboot of the server DST updates all the mods, if reboot of the server doesn't works for update mods, you must delete the folder workshop -***** (in servers / mods) and reboot the serverI work at the moment to creating a tutorial on how to install, configure, and update the mods, it takes me a long time because I have beed to make so many tests, but I gradually advance, I know that for many people this system is confused so that's why I'll do a tutorial on the subject, i just need so much time for this sorryand yes it's normal for your modoverrides.lua in both servers, I think it is convenient if you want to configure the server cave of a different way than the overworld server, i hope that's help you, if you have other questions don't hesitate, maybe my explain is not really clear also Thanks for the reply. Rebooting the server does nothing so far. I deleted every mod and had them all re-download. I can connect but it says on jacklul that it might be unreachable, but I'll need to wait for some friends to see if it actually shows in the browser. Another issue I am contending with is my dedicated_server_mods_setup file is being overwritten with the default file (ie the one with commented instructions). This happens so often I have resorted to keeping a copy of the file elsewhere to avoid listing all the mods over and over. Any ideas? Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-696480 Share on other sites More sharing options...
ColonelSeven Posted December 13, 2015 Share Posted December 13, 2015 Another issue I am contending with is my dedicated_server_mods_setup file is being overwritten with the default file (ie the one with commented instructions). This happens so often I have resorted to keeping a copy of the file elsewhere to avoid listing all the mods over and over. Any ideas? I'm having this issue as well. I've restored to having a copy stored.I then have my batch dedicated server start (and crash monitor) copy the saved file to the mods folder before server execution. e.g.:xcopy "D:\gameservers\dontstarvetogether\mods\config_backup\dedicated_server_mods_setup.lua" "D:\gameservers\dontstarvetogether\mods\dedicated_server_mods_setup.lua" /R /Ystart "Don't Starve Together WINDS" /max /abovenormal /wait /d "D:\gameservers\dontstarvetogether\bin" "D:\gameservers\dontstarvetogether\bin\dontstarve_dedicated_server_nullrenderer.exe" -persistent_storage_root D:\gameservers\dontstarvetogether -conf_dir dstserver_config Link to comment https://forums.kleientertainment.com/forums/topic/60404-unable-to-start-dedicated-server-with-mods/#findComment-697058 Share on other sites More sharing options...
Recommended Posts
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.