emparer Posted December 10, 2021 Share Posted December 10, 2021 So I spent about 3 days now trying to get this simple mod to work but I just can't seem to do it. It only contains one item which is a crafting material. Below I uploaded all the lua code I got in the main folder and the "redgemcoil.lua" which is in the scripts/prefabs folder. I should add that I'm really new in the modding community. I really don't know what I'm doing wrong. I also uploaded the Client_log.txt. It tried to load the mod but it somehow failed and I don't understand why exactly. If anyone is able to help me I will be beyond grateful. modinfo.lua modmain.lua redgemcoil.lua Client_log.txt Link to comment https://forums.kleientertainment.com/forums/topic/135973-server-wont-start-if-i-check-my-mod/ Share on other sites More sharing options...
emparer Posted December 10, 2021 Author Share Posted December 10, 2021 Update: I added the anim folder with proper files in it and added AnimState:SetBank, AnimState:SetBuild and AnimState:PlayAnimation. Now instead of "Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager." which can be seen in the Client_log.txt I posted it says "Unregistering handler for signal #000000..." before closing the server before fully generating it. (this can be seen in the Log2.txt I attached to this reply) Log2.txt Link to comment https://forums.kleientertainment.com/forums/topic/135973-server-wont-start-if-i-check-my-mod/#findComment-1520436 Share on other sites More sharing options...
emparer Posted December 11, 2021 Author Share Posted December 11, 2021 Last update: I think I solved it on my own. After I added the anim folder with the animation I got rid of the "Orphaned unnamed resource. This resource..." error and after that I couldn't figure out what the "Unregistering handler for signal #000000..." meant. I read somewhere to disable caves and so I did. When the server inevitably crashed I got to see what was actually going haywire. It was saying that it couldn't find an asset "Could not find asset...". What was wrong was that I named my folder for inventory images "inventory images" with a space and in the path to the file in the prefabs I wrote "images/inventoryimages/[your file].tex". The server now starts up with my mod and I can craft the item. So consider this post solved. Moral of the story: Check your paths if they are correct Link to comment https://forums.kleientertainment.com/forums/topic/135973-server-wont-start-if-i-check-my-mod/#findComment-1521048 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