Jump to content

Mod crashes on enable


Recommended Posts

 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
Share on other sites

@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.
 
Here is also a GIF of how it literally just crashes on enabling it.
post-688791-0-31409600-1444792320_thumb.
Link to comment
Share on other sites

@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
Share on other sites

 

@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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...