Battal Posted July 5, 2014 Share Posted July 5, 2014 So, I am following the Klei tutorials to create a new insanity monster, and am (unsurprisingly) failing hilariously. I got past the first two parts, but after following the instructions on the third, a strange crash is occuring. After enabling the mod, the menu music stops and the menu freezes completely. I'm pretty sure it's something really stupid and obvious, but any help would be appreciated. Thanks for reading. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/ Share on other sites More sharing options...
NikMik Posted July 5, 2014 Share Posted July 5, 2014 After enabling the mod, the menu music stops and the menu freezes completely. Aye, I don't get error screens anymore, just all sounds stopping and nothing being clickable (Menu and in-game) What you want to do is go "documents/klei/DoNotStarve/log.txt" and then I do ctrl-f and typ "trace". This'll take you to the error. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507145 Share on other sites More sharing options...
UnderwearApp Posted July 5, 2014 Share Posted July 5, 2014 I've found when this happens it is usually related to one of the anim files specifically. I believe my issue was misnaming one of the atlases.Hope it helps. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507146 Share on other sites More sharing options...
Battal Posted July 5, 2014 Author Share Posted July 5, 2014 Aye, I don't get error screens anymore, just all sounds stopping and nothing being clickable (Menu and in-game) What you want to do is go "documents/klei/DoNotStarve/log.txt" and then I do ctrl-f and typ "trace". This'll take you to the error. There were only two lines referencing the mod, both were just about enabling and disabling it. I've found when this happens it is usually related to one of the anim files specifically. I believe my issue was misnaming one of the atlases.Hope it helps. I checked and double checked them; everything seems to be correct. Am I supposed to have an "anim" folder with an anim.bin, atlas-0, and build.bin files? Because if so, that's why it's broken. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507232 Share on other sites More sharing options...
NikMik Posted July 5, 2014 Share Posted July 5, 2014 There were only two lines referencing the mod, both were just about enabling and disabling it. Send me the log and I can check it out. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507238 Share on other sites More sharing options...
Battal Posted July 5, 2014 Author Share Posted July 5, 2014 Oop, hang on. There's some new stuff there. C:/Program Files/Steam/steamapps/common/dont_starve/data/../mods/slither/modmain.lua(17,1) =(tail call) ? =[C] in function 'xpcall' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(15,1) C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(424,1) in function 'SimPostInit' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(880,1) in function 'DoInitGame' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1018,1) in function 'cb' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(512,1) =[C] in function 'GetPersistentString' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(489,1) in function 'GetSaveData' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1020,1) in function 'DoLoadWorld' ... =[C] in function 'GetPersistentString' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(91,1) in function 'Load' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1189,1) in function 'callback' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(571,1) in function 'Set' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(455,1) =[C] in function 'GetPersistentString' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(453,1) in function 'Load' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1188,1) in main chunk =[C] in function 'require' C:/Program Files/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(651,1) scripts/mods.lua(226,1) Disabling slither (Slither!) because it had an error. scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507241 Share on other sites More sharing options...
BlackSmithCutolo Posted July 5, 2014 Share Posted July 5, 2014 Is it for the slug monster? Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507252 Share on other sites More sharing options...
NikMik Posted July 6, 2014 Share Posted July 6, 2014 I meant the .txt itself. You should be able to attach file those. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507377 Share on other sites More sharing options...
UnderwearApp Posted July 6, 2014 Share Posted July 6, 2014 Oop, hang on. There's some new stuff there.*error log stuff*Looks like the first issue is in your modmain (line 17). Can you post your modmain or even better your whole mod? Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507398 Share on other sites More sharing options...
Battal Posted July 6, 2014 Author Share Posted July 6, 2014 Of course. https://www.dropbox.com/s/kd56ze6ey82vmhf/slither.rar Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507400 Share on other sites More sharing options...
JackSlender Posted July 6, 2014 Share Posted July 6, 2014 (edited) The problem is how you declare the prefab in your prefab file. It was like this: return Prefab( "monsters/tut03", init_prefab, assets, nil) When it should be like this: return Prefab( "monsters/slither", init_prefab, assets, nil) An easy mistake to make (made it dozens of times with my mods). It wasn't working before because that little name is what you reference your prefab as if you want to spawn it. The game was freezing because in it tried to define two prefabs with the same name (yours and the tutorial one). Worked fine for me after replacing that. Edited July 6, 2014 by JackSlender Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507511 Share on other sites More sharing options...
Battal Posted July 6, 2014 Author Share Posted July 6, 2014 (edited) Okay, I edited that bit. Trying it now... Nope, still crashing. :/ Edited July 6, 2014 by Lord_Battal Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507518 Share on other sites More sharing options...
JackSlender Posted July 6, 2014 Share Posted July 6, 2014 (edited) Really? Do you have the animation compiled? Here's the one that I compiled: slither.zip Edited July 6, 2014 by JackSlender Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507529 Share on other sites More sharing options...
Battal Posted July 6, 2014 Author Share Posted July 6, 2014 Huzzah, it works! Thank you all for dealing with my incompetence. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507533 Share on other sites More sharing options...
kraken121 Posted July 6, 2014 Share Posted July 6, 2014 Huzzah, it works! halleulah.jpg Thank you all for dealing with my incompetence. grats, looks interesting. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507540 Share on other sites More sharing options...
Battal Posted July 6, 2014 Author Share Posted July 6, 2014 Heh, I bet you all thought I had got the hang of it. Nope, I have more problems that probably have really simple solutions. I followed the instructions for the stategraphs tutorial, but right at the end I got a strange bug; now Slither appears for a half-second and then becomes invisible or despawns or something. Link to comment https://forums.kleientertainment.com/forums/topic/38043-trouble-with-creature-creation/#findComment-507587 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now