Version 1.26 Bugfix
MV - Crafting System » Devlog
Hello again everyone.
This morning I have uploaded version 1.26 of the crafting system plugin with the following fixes:
- Corrected an issue where the plugin could crash on load if the user had delete the 'type' value of the third or fourth ingredient in a recipe instead of setting it back to 'None'
- Note: there are probably a lot of crashes like this one hidden away, and since they're generally caused by user error, I don't think it's feasible for me to fix all of them. This one was pretty simple to resolve, so I did it, but for most cases, if a crash error suddenly starts after you've made a new recipe, or modified an old one, try reverting your changes, or remaking the recipe first, as that will usually fix the issue
- Corrected a crash error where successfully crafting a recipe that only had category ingredients, and was 2-3 ingredients long would attempt to read a variable that had not been initialized.
- Recipes that contained a non-category ingredient, or that were four ingredients long were unaffected, because the non-category ingredient initialized the variable, and a four-ingredient long recipe that only had category ingredients in it never attempts to check the variable in the first place.
I have also made the following change to the code of the plugin itself, which does not change the functionality of the plugin at all, but improves compatibility with other plugins.
- The prototype function I added to the Array object in this is plugin is no longer enumerable, meaning that other functions that iterate over all of the enumerable properties of any simple array will no longer find an unexpected property (move) and cause a crash.
- If this doesn't mean anything to you, that's cool. Suffice it to say that I did something that is considered bad practice when I first made this plugin, and only realized it while making an entirely different plugin that was accidentally iterating over the elements in an array using a for...in loop instead of a normal loop. I don't think this would impact much, as generally people shouldn't be doing that either, but just in case, it has been corrected.
To download the updated plugin, either redownload it from the store page, or find it in your library and redownload it from there.
That's all for this update. Toodles.
~Ramza
Files
Plugin Download 299 kB
Mar 03, 2021
Get MV - Crafting System
Buy Now$18.99 USD or more
MV - Crafting System
Enhance your project with an ingredient based crafting system
More posts
- Version 1.31 Minor UpdateFeb 27, 2022
- Version 1.30 Major UpdateMay 17, 2021
- Version 1.29 bugfixApr 25, 2021
- Version 1.28 UpdateApr 24, 2021
- Version 1.27 UpdateMar 07, 2021
- Version 1.25 Bugfix (revision a)Mar 01, 2021
- Version 1.24 BugfixFeb 21, 2021
- Version 1.23 UpdateFeb 13, 2021
- Version 1.22 UpdateJan 09, 2021
Leave a comment
Log in with itch.io to leave a comment.