Save File Failsafes

Do you want us to admit defeat before trying? Are you telling us that we shouldn't try because we cannot get a perfect 100% anyway?

I know that we won't get perfection - there will always be beginner scripters who don't understand what this is about and are simply missing the experience to get their scripts right.

But giving tutorials and guidelines on how to do it right will help everyone, and even if we are left with 40% scripts that aren't failsafe that still is a large improvement above the current situation where 90% or more of the scripts require a new game to work.
I'm not talking about perfection at all, but comparing "making save file failsafe a community standard" against "making it a highly valued bonuses giving scripters incentives to strive for it themselves".

At the very beginning, I made myself very, very crystal clear that I'm for save file failsafe, and I've said several times that scripters should always try their best to make their scripts as save file failsafe as possible without compromising anything else too much.

But to achieve this, I'd rather use incentive systems instead of a community standard. The community can encourage scripters to indicate whether the scripts are save file failsafe or not.

If the community has massive demands on save file failsafe and most scripts have shown whether the scripters claimed they're save file failsafe, the community will speak for itself. Scripts being claimed as save file failsafe will generally be preferred, and scripters intentionally lying on this will likely be punished by the community(mainly via reputation).

Most user-oriented scripters will notice this and learn to adapt, by further prioritzing save file failsafe. It's becuase their top goal is to meet users demands, and now it's crystal clear that the community demands save file failsafe scripts.

The community can also explicitly encourage scripters to try their best to guarantee save file failsafe, and teach them how to increase such likeihoods. It can even explicitly award those consistently achieving save file failsafe.

But after all, all these are completely different from making save file failsafe a community standard, as standards have to be enforced in order to be meaningful, and once it's enforced, be prepared for unnecessary pains it'll likely introduce, when there are probably better ways to do it.

Scripters will have to always ensure 100% save file failsafe against uninitialized data by preventing that from happening in the first place, without exceptions, in order to conform with the standard, even in cases where a better solution's called for.

If making save file failsafe a community standard were proven to be the best/only way, then I'd agree those pains are acceptable side effects. But whether it's be best/only way is exactly my doubt, and I think there's a better way.

The point is, save file failsafe should be treated as a massive bonus strongly demanded from, and awarded, encouraged and praised by the community, but not a given. Promoting save file failsafe this way, instead of making it a community standard, will probably be better, as user-oriented scripters will respond to the community demands by themselves. There's no need to enforce standards when the incentive systems can already do the job.

P.S.: I think I've very, very serious problems in expressing my thoughts. I've said the same thing over and over again but there are still some people just completely missing my points 🙂
Making something a standard does not make scripts without it unusuable, but it will tell every scripter that they should try to include it.


Giving a "bonus" for something (especially if that bonus is mostly imaginative) will result a lot of new scripters in thinking "I'm new, I don't need that bonus to proof that I'm good, so I don't even try to make that failsafe".


So your method will result in less scripts trying to be failsafe...
Hope there is a snippet included like:

/your-plugin-folder

   |- plugin.json (like package.json in composer, or node packages)

   /- doc (your documentation)

   |- src

      |- main.js

      |- more.js

This would be so clear to organize...

And then you can check plugins like:

PluginManager.isOn('your-plugin-name');So we don't have to create something like the $imported variable of the last makers...

The last time people tried to put community standars (remember the SDK... right?) prove to be a not so good idea...

Yes the SDK was a great idea, but people didn't want to use it because they wanted other scripts to work...

We still need to see how the game itself manages its files... Because, you know, serialization is not part of javascript... will it be a cookie in the HTML version ?

 "I'm new, I don't need that bonus to proof that I'm good, so I don't even try to make that failsafe".
 
This sounds more than new people will be a jerk because they want to be, the same can be said about outside of the community:

"I am using this script from moghunter..." we can create a community standard, but we cannot guarantee it will work in other places...
Making something a standard does not make scripts without it unusuable, but it will tell every scripter that they should try to include it.

Giving a "bonus" for something (especially if that bonus is mostly imaginative) will result a lot of new scripters in thinking "I'm new, I don't need that bonus to proof that I'm good, so I don't even try to make that failsafe".

So your method will result in less scripts trying to be failsafe...
It seems to me that both of our arguments are possible to be more true than the other without actual data, and I think experiments on the community will tell. So it can be prepared for both the community standard method and incentive system method, and switch to the other when one fails. Then just let the community to vote which one should be experimented first.

But let's assume you're right that many newcomers will simply ignore all the incentives in my method. Then regarding the save file failsafe issue, there will be 4 groups of scripters:

Spoiler
1. Those who are both willing and able to try their best to maintain save file failsafe

2. Those who are willing but not having an even reasonable chance to maintain save file failsafe

3. Those who are able but unwilling to try their best to maintain save file failsafe

4. Those who are both unwilling and not having an even reasonable chance to maintain save file failsafe

For the 1st group, both of our methods can work. They both can make the demands of save file failsafe from the community crystal clear to them, so most of them will simply try their best to maintain it in most cases.

For the 2nd group, both of our methods can work too. The reasons applied to the 1st group applies here as well, except that the community will also have to put extensive efforts and resources to train most of them to have a reasonable chance to maintain save file failsafe in most cases. While the initial process will be rather painful, the long term benefit likely outweighs the short term costs(as long as the RMMV community will be long lasting), so most of them will probably be willing to put forth the necessary efforts to learn how to maintain save file sailsafe in most cases.

For 3rd group, it's more complicated. No matter how able a scripter is, maintaining save file failsafe always mean extra costs from them, and if they're unwilling to do it, it probably means they feel/think those costs are simply not worth paying for them.

Both of our methods can make the demands of save file failsafe from the community crystal clear to them, but it's obvious that a sizable portion of them simply won't try to meet such demands at all even if they can due to their unwillingness, while the rest will likely compromise their unwillingness and do it anyway if there's exceptionally high incentives(like very, very high paid commissions) for them to meet the demands(Some might even become willing to do so without extra incentives).

In this case, the question is whether using incentive systems or community standard to promote save file failsafe will give them more incentives in general, as it's incentives that can change their mind.

The former generally incentivizes them via community praises and encouragements, explicit awards, higher popularity and possibly larger market shares(for scripts costing money), and less long term troubles they'll have to deal with in some cases.

The latter generally incentivizes them via having to maintain save file failsafe in order to stay in the community and gain higher popularity and possibly larger market shares(for scripts costing money) from the community.

It's crystal clear and obvious that some of them will be more incentivized by the former and some of them will be more incentivized by the latter, and I think community votes and experiments will tell which method will incentivize more of them in this community.

For 4th group, it's even more complicated, as incredible amounts of efforts from both the community and themselves will have to be put forth in order for most of them to both change their mind and learn how to maintain save file failsafe.

Given the number of scripters belonging to this type, the community will probably have to dedicate an entire subforum and a group of members just to teach newcomers how to maintain save file failsafe. Of course if the community has enough resources and willingness, that's not a big deal.

The real issue is how to change their unwillingness. Again it's incentives that can change their mind, but now most of them will likely need even more incentives than those in the 3rd group, as instead of simply changing their mind, they'll also have to put forth quite some efforts to learn how to maintain save file failsafe. It's possible that some of them actually want to maintain it, but feel/think that it's just way too hard for them no matter how helpful the community is, so they can end up giving up instead.

Basically, those incentives from both methods for the 3rd group applies here as well, but now the community will also have to give them extra incentives to learn how to maintain save file failsafe, to hope that most of them will be willing to go through the painful processes to them. Maybe the community will have to think about how to give such incentives as well 🙂
Now let's assume your method indeed makes most scripts in the community more save file failsafe in general. Consider the following possible side effects:

Spoiler
1. The number of scripters who are both willing and able to try their best to maintain save file failsafe increased

2. The number of scripters who are both willing and able to try their best to maintain save file failsafe decreased

3. The number of scripters who are willing but not having an even reasonable chance to maintain save file failsafe increased

4. The number of scripters who are willing but not having an even reasonable chance to maintain save file failsafe decreased

5. The number of scripters who are able but unwilling to try their best to maintain save file failsafe increased

6. The number of scripters who are able but unwilling to try their best to maintain save file failsafe decreased

7. The number of scripters who are both unwilling and not having an even reasonable chance to maintain save file failsafe increased

8. The number of scripters who are both unwilling and not having an even reasonable chance to maintain save file failsafe decreased

Case 1 is very likely, as now they probably won't have to deal with as much old save problems from others' scripts as before.

Case 2 is rare, as it probably means they frequently face situations making save file failsafe simply impractical, beyond their capabilities, or doing more harm than good.

Both case 3 and 4 are questionable. It depends on how helpful the community is when it comes to helping them learn how to maintain save file failsafe, their individual learning abilities on this, and their extra time available to be spent on this.

Case 5 is very unlikely, unless the community is so insanely powerful that it managed to change most of their minds.

Case 6 is very likely, as many of them will likely generally disagree with the community standard in the first place.

Case 7 is very unlikely, unless the community is so unbelievably powerful that it managed to change most of their minds and taught most of them how to maintain save file failsafe.

Case 8 is very likely, as many of them will likely generally disagree with the community standard in the first place, and feel/think there's no reason to learn how to maintain save file failsafe.
Next, let's consider the following possible cases regarding how much a scripting group contributes in the community:

Spoiler
1. Scripters who are both willing and able to try their best to maintain save file failsafe contributes relatively a lot in the community

2. Scripters who are both willing and able to try their best to maintain save file failsafe contributes relatively little in the community

3. Scripters who are willing but not having an even reasonable chance to maintain save file failsafe contributes relatively a lot in the community

4. Scripters who are willing but not having an even reasonable chance to maintain save file failsafe contributes relatively little in the community

5. Scripters who are able but unwilling to try their best to maintain save file failsafe contributes relatively a lot in the community

6. Scripters who are able but unwilling to try their best to maintain save file failsafe contributes little in the community

7. Scripters who are both unwilling and not having an even reasonable chance to maintain save file failsafe contributes relatively a lot in the community

8. Scripters who are both unwilling and not having an even reasonable chance to maintain save file failsafe contributes relatively little in the community

Both case 1 and 2 are questionable. Although most of them are generally relatively more experienced and user-oriented, a scripter type generally contributing relatively more in the community, the key here is how many scripters in the community belong to this group.

Both case 3 and 4 are questionable. Such scripters are generally less experienced in offering supports and debugging others' projects(unless they explicitly avoid cases involving old save problems), but some of them can still offer incredible scripts. Another problem is how many scripters in the community belong to this group.

Case 5 is likely. The fact that this topic exists probably indicates many scripters are generally unwilling despite able to maintain save file failsafe, as the scripting proficiency of the scripting community is generally decent.

Case 6 is unlikely, otherwise I'd doubt why the community would have such a strong demand on save file failsafe in the first place.

Both case 7 and 8 are questionable. Some of them might just introduce so more much harm than good to the community that it's better for the community to ignore them or even kick them out(sometimes some of their scripts are just so disastrous to other scripters that almost no one will ever want to touch them), but some others might still offer popular scripts.
Finally, we can consider the probably best and worst scenarios:

Spoiler
Best scenario -

Scripters who are willing to try their best to maintain save file failsafe are major contributors of the community, and their numbers has significantly increased.

Even though the community will likely lose a sizable portion of scripters who are able but unwilling to try their best to maintain save file failsafe, and they are also major contributors of the community, the extra gain from those who are willing to try their best to maintain save file failsafe significantly outweighs the loss, and some of those unwilling ones changed their mind to become willing to maintain save file failsafe.

For those who are both unwilling and not having an even reasonable chance to maintain save file failsafe, they mostly do more harm than good to the community, so having less such scripters is actually better for the community.

Overall, the community will offer more scripts and supports, and most users won't have to worry about save file failsafe for uninitialized data in most cases.

Worst scenario -

Scripters who are both willing and able to try their best to maintain save file failsafe are just minor contributors of the community, even though their numbers has significantly increased.

Scripters who are willing but not having an even reasonable chance to maintain save file failsafe are major contributors of the community, but their numbers has significantly decreased.

Scripters who are are able but unwilling to try their best to maintain save file failsafe are also major contributors of the community, but again their numbers has significantly decreased.

Scripters who are both unwilling and not having an even reasonable chance to maintain save file failsafe are major contributors of the community as well, but their numbers has significantly decreased too.

Overall, most scripts in the community will still be generally more save file failsafe in most cases, but a large portion of scripters contributing relatively more have quit/not joined(if they would join with the community standard not existed), so at the end the community will likely offer much less scripts and supports, despite users now won't have to worry about save file failsafe for uninitialized data in most cases.
Just because the best scenario is so desirable doesn't mean your method should be used; Just because the worst scenario is so undesirable doesn't mean your method shouldn't be used. I think we need more data about all these from the current community, so I think it's better to let itself vote for whether your method should be experimented first, and be always ready to switch to the prepared alternatives if yours fails.

P.S.: My method won't have such big possible impacts like yours. The best scenario is a sizable portion, albeit probably not as big as yours, of scripters changed their mind to maintain save file failsafe, even if it means having to learn that; The worst scenario is basically the same as the current state of the community.
Hope there is a snippet included like:

/your-plugin-folder

   |- plugin.json (like package.json in composer, or node packages)

   /- doc (your documentation)

   |- src

      |- main.js

      |- more.js

This would be so clear to organize...
I'm quite sure it will be a single JS file for each script.

But you can probably create a folder and include all your files there, then create a loader JS file that will load from that folder.

Original thread: https://forums.rpgmakerweb.com/threads/save-file-failsafes.43577/