halfrose Posted October 13, 2015 Share Posted October 13, 2015 So I've made the basis (which part is copied and paste from another mod) of an item mod I am making, supposed to be a weapon, called 'thesurvivalist', once I added the files and such, compiled etc, when I go into DST and click to activate the mod, it auto-crashes and doesn't give me any report asking me to disable mods and etc, it simply crashes on click. I bet it is something simple I am overlooking, and if it is simple or not, I have not being able to find out what is. I would appreciate if anyone gives me some help. https://www.dropbox.com/sh/gnb57mzfmvwh2j3/AAD1zDW0HEJPFLO1QMUnE9epa?dl=0 Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/ Share on other sites More sharing options...
Developer PeterA Posted October 13, 2015 Developer Share Posted October 13, 2015 @halfrose, is there anything in your log.txt file that might indicate what happened? Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/#findComment-679797 Share on other sites More sharing options...
halfrose Posted October 14, 2015 Author Share Posted October 14, 2015 @halfrose, is there anything in your log.txt file that might indicate what happened? I looked into it, but again, and I did not find anything involving 'warning' or 'couldn't load, the only part it says about it in the log, is when I attempted to c_give the item in game to see if the mod works, which in the log it is written [00:03:25]: Could not preload undefined prefab 0x15ce771b (thesurvivalist)[00:03:25]: Can't find prefab thesurvivalist by the fact that it did not find the prefab, since the mod instantaneously disabled. But then again, I am a terrible person at paying attention to details at most times. Well, here is the log.txt by the way.log.txt Here is also a GIF of how it literally just crashes on enabling it. Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/#findComment-679992 Share on other sites More sharing options...
DarkXero Posted October 15, 2015 Share Posted October 15, 2015 @halfrose, here. I repeat the notes I added:--[[ Notes: - Error loading modinfo.lua. These fields are required: forumthread modinfo added - anim variable not declared in prefab file inst.AnimState used - the swap_survivalist is invisible using owner.AnimState:OverrideSymbol("swap_object", "swap_thesurvivalist", "swap_thesurvialist") now "swap_thesurvialist", the symbol has a typo]]thesurvivalist.zip Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/#findComment-680264 Share on other sites More sharing options...
Developer PeterA Posted October 15, 2015 Developer Share Posted October 15, 2015 @DarkXero, thanks for looking into this. You beat me to it! Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/#findComment-680403 Share on other sites More sharing options...
halfrose Posted October 18, 2015 Author Share Posted October 18, 2015 @halfrose, here. I repeat the notes I added:--[[ Notes: - Error loading modinfo.lua. These fields are required: forumthread modinfo added - anim variable not declared in prefab file inst.AnimState used - the swap_survivalist is invisible using owner.AnimState:OverrideSymbol("swap_object", "swap_thesurvivalist", "swap_thesurvialist") now "swap_thesurvialist", the symbol has a typo]] Thanks for the help! see? I knew it was something simple I overlooked, really thanks! Link to comment https://forums.kleientertainment.com/forums/topic/58455-mod-crashes-on-enable/#findComment-681206 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