Issue with Limited Skill Uses plugin

1777221029314.png

Hello everyone,

I've come across an issue that I don't know how to solve.

I purchased the Yanfly full collection and I loved the idea of having certain skills with limited uses.

Therefore, I put the tag <Limit Uses: 1> on a skill and the attached crash is triggered as soon as I open the skill menu while having that skill learned.

The "1" quoted on the error message is not the amount of limit uses, as writing "2" does not change the error message.

What could be causing this? All the issues seem to stem from YEP plugins but they should all be compatible with each other.
1) all yanfly plugins need to be in the exact order in which they are listed on his website, top to bottom.
any other order can cause strange effects or errors.

2) did you start a new playtest game?
adding or rearranging plugins often makes all older savefiles incompatible, and continuing such a save can cause undefined errors.
Starting a new save worked!

However, is it possible to keep my old saves? Some of them are in strategic positions to test out certain things.

No big deal if I can't.
Sometimes it's possible, but from time to time you just have to break down and recreate those saves in the latest version.
is it possible to keep my old saves?
it completely depends on the plugins added or removed.

if a plugin doesn't change the savefile, then older savefiles remain compatible.
if it does change the savefile, then no.

and many, many plugins have to change the savefiles while their programmers have no idea how to keep savefiles compatible.
That's a good guideline, yes, but it's a bit of a simplification. As the last sentence implies, it's entirely possible for a plugin to change the save file while not breaking old saves.

I'll also note that "change the savefile" isn't limited to overriding DataManager.extractSaveContents and DataManager.makeSaveContents – any plugin that adds custom values in Game_Actor, Game_System, Game_Screen, Game_Timer, Game_Party, Game_Player, or Game_Map is also changing the save file. This means that you can even cause save file compatibility issues without using a plugin at all, if you have script calls that do such things.
Changing the parameters of a plugin sometimes only applies to new games, and doesn't affect old saves. It seems to depend upon the plugin, and perhaps, what the plugin does.

Edit: I tend to expect that changes to plugins, changes to database maxima and some database settings such as skills learned by classes and graphics for the default vehicles require a new playtest to be started.
Alright then, thank you for all your replies. In the future I'll implement an easier way to start a new game from a point further down in the game's story.
this is often done with a cheat map containing chests, shops and events to give anything a party might need before selecting a teleporter to the map where you want to test something

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-limited-skill-uses-plugin.183400/