Search the Community
Showing results for tags 'crashing'.
-
Hello there! I recently have composed a character mod that consists of a character and a custom item this character uses. All seemed to work just fine, even to where I uploaded it to the workshop. However, I soon discovered that the mod absolutely does not work with caves and I cannot figure out why. The mod works perfectly fine with no caves, but once they're added, the server immediately disconnects and loses connection right after spawning in. If this matters, my character's perks are: -sanity gain near certain mobs -spawns with a custom weapon -loses additional sanity at night I have attached my character, modinfo and modmain .lua files in case anyone wants to view them. Thank you for your time! modinfo.lua modmain.lua wolyo.lua (EDIT): I singled out the issue and found the specific lines that are causing the crash. It is these lines of code in my modmain.lua that cause the server to disconnect upon launch - AddPrefabPostInit("butterfly", function(inst) if GetPlayer().prefab == "wolyo" then inst:AddComponent("sanityaura") inst.components.sanityaura.aura = TUNING.SANITYAURA_MED end end) AddPrefabPostInit("bee", function(inst) if GetPlayer().prefab == "wolyo" then inst:AddComponent("sanityaura") inst.components.sanityaura.aura = TUNING.SANITYAURA_MED end end) AddPrefabPostInit("chester", function(inst) if GetPlayer().prefab == "wolyo" then inst:AddComponent("sanityaura") inst.components.sanityaura.aura = TUNING.SANITYAURA_MED end end) AddPrefabPostInit("glommer", function(inst) if GetPlayer().prefab == "wolyo" then inst:AddComponent("sanityaura") inst.components.sanityaura.aura = TUNING.SANITYAURA_MED end end) AddPrefabPostInit("hutch", function(inst) if GetPlayer().prefab == "wolyo" then inst:AddComponent("sanityaura") inst.components.sanityaura.aura = TUNING.SANITYAURA_MED end end) If these lines work without caves, what would make them work with caves?
-
Hi there. Once again I am trying to make a mod for DST after giving up a few years ago on a project. I am using the Extended CHaracter Template for DST and following this tutorial: The thing is that when I enable my character to test the renaming process it crashes. The game starts to load the server and I get to the second loading screen (everyone in a swirl vortex thing) and then crash. I'm not sure what I did wrong as I'm a complete newbie at this. Any help would be appriciated. client_log.txt modinfo.lua modmain.lua casanuana.lua casanuana_none.lua
-
Greetings. I recently helped make a character, and everything works fine, but the game crashes after selecting the character if the caves are generated. It's a problem I have been trying to fix for a while now, but can't seem to work out why it's happening. any help would be appreciated. Here is the client log: