sockrocker86 Posted September 12, 2016 Share Posted September 12, 2016 Okay so, forgive my noobishness. I have only been messing around with modding in this game for around a week and have spent days reading forums, pulling apart other people's mods and examining the base games .lua files to get a better understanding of what I'm doing but I have run into a problem I can not seem to get my head around. The problem seems to occur when I try to add more than one custom recipe to the modmain.lua. I'm currently working with two recipes, each for it's own seperate item and each works seperately without the other but for whatever reason when I try to have both it causes the game to crash when testing. That is to say that the game crashes when loading the world. I'm sure I've done something foolish but I can't seem to figure out what that something is and examining other people's mods hasn't really helped. I've attached my modmain.lua for reference. Any help with this matter would be greatly appreciated. modmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/70091-game-crashes-when-multiple-recipes-added-to-modmain/ Share on other sites More sharing options...
Serpens Posted September 12, 2016 Share Posted September 12, 2016 (edited) if game crashes, you have to look in the logfile to find out what went wrong C:\Users\Serpens\Documents\Klei\DoNotStarveTogether\client_log.txt Search this log for "error" and you will find most likey a lua error, which is telling you the line of your script where you made a mistake From a short look at your modmain I can tell you that in line 85 and 88 is sth wrong. Remove the "," at the end of these lines If it still crashes, take a look at client_log Edited September 12, 2016 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/70091-game-crashes-when-multiple-recipes-added-to-modmain/#findComment-812871 Share on other sites More sharing options...
sockrocker86 Posted September 13, 2016 Author Share Posted September 13, 2016 (edited) Hahaha I knew it would be something stupid and easy to overlook like a comma. The client_log wasn't helping at all. Everything is working fine now. Thank you so much! Edited September 13, 2016 by sockrocker86 Typo. Link to comment https://forums.kleientertainment.com/forums/topic/70091-game-crashes-when-multiple-recipes-added-to-modmain/#findComment-813132 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