NyctoDarkMatter Posted January 24, 2016 Share Posted January 24, 2016 Hey! This is simple, I need someone to look at this log.txt and tell me what I need to change. I can provide more files if needed and am currently using a modified version of the Shovel Knight by BLsquared & Jade_KnightBlazer. I simply need to know why this crash is happening. I have a log file and if files need to be provided they can be. Thanks for the help! log.txt Link to comment Share on other sites More sharing options...
Muche Posted January 24, 2016 Share Posted January 24, 2016 It's crashing because item is false and it's being treated as table/object. Going up the stack, item got its false value at scripts/components/inventory.lua:273 by local newitem = self:Unequip(slot), which was replaced with modified version in mods/Shovel Knight Test Build/scripts/prefabs/winston.lua:542. Having access only to version 0.20.1 on steam workshop, I'd say try replacing return false at (or around) line 543 with return nil. Link to comment Share on other sites More sharing options...
NyctoDarkMatter Posted January 24, 2016 Author Share Posted January 24, 2016 That worked. It's now no longer crashing, but the armor can't be removed (which I BELIEVE was the ideal circumstance in the original code). Thank you very much! Link to comment Share on other sites More sharing options...
NyctoDarkMatter Posted January 24, 2016 Author Share Posted January 24, 2016 http://steamcommunity.com/sharedfiles/filedetails/?id=608034324&searchtext=Shovel+Knight Shovel Knight has been revived! Huzzah! @Muche, I gave you some credit for help with that tidbit. Feel free to check it out! Link to comment 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