Eli Check Point System - auto save and auto load!

gMiWVvv.png

Author: Hakuen Studio​

Introduction

Adds a checkpoint system to MV and MZ including auto load options!

Features
  • Autosave / autoload
  • Autoload option after game over
  • Run a common event after autoload
  • It is not possible to save manually in the auto slot
How to Use
Terms of Use
Version 5.0.1 - 06/23/2022
  • Removed some useless console logs.
  • Minor performance improvement.
Hey. I'm getting this error when I autosave and try to load from the title screen (using MV). I've a custom-made script that changes the text displayed in in the save/load menu, but the error occurs even when I switch that off. I even tried putting your plugin on top of the plugin list, didn't help either.

TypeError: Cannot read property 'isScene' of undefined
at Window_SavefileList.changeAutoSlotOpacity (Eli_CheckPoint.js:268)
at Window_SavefileList.drawItem (Eli_CheckPoint.js:252)
at Window_SavefileList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_SavefileList.Window_Selectable.refresh (rpg_windows.js:1283)
at Scene_Load.Scene_File.createListWindow (rpg_scenes.js:1653)
at Scene_Load.Scene_File.createListWindow (Eli_CheckPoint.js:217)
at Scene_Load.Scene_File.create (rpg_scenes.js:1624)
at Function.SceneManager.changeScene (rpg_managers.js:2005)
at Function.SceneManager.updateMain (rpg_managers.js:1982)
at Function.SceneManager.update (rpg_managers.js:1907)

edit:
Even tried it in an empty project, there I have the same error
Hey. I'm getting this error when I autosave and try to load from the title screen (using MV). I've a custom-made script that changes the text displayed in in the save/load menu, but the error occurs even when I switch that off. I even tried putting your plugin on top of the plugin list, didn't help either.

TypeError: Cannot read property 'isScene' of undefined
at Window_SavefileList.changeAutoSlotOpacity (Eli_CheckPoint.js:268)
at Window_SavefileList.drawItem (Eli_CheckPoint.js:252)
at Window_SavefileList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_SavefileList.Window_Selectable.refresh (rpg_windows.js:1283)
at Scene_Load.Scene_File.createListWindow (rpg_scenes.js:1653)
at Scene_Load.Scene_File.createListWindow (Eli_CheckPoint.js:217)
at Scene_Load.Scene_File.create (rpg_scenes.js:1624)
at Function.SceneManager.changeScene (rpg_managers.js:2005)
at Function.SceneManager.updateMain (rpg_managers.js:1982)
at Function.SceneManager.update (rpg_managers.js:1907)

edit:
Even tried it in an empty project, there I have the same error
Hi there!
Are you using Eli Book.js above this plugin?
Hi there!
Are you using Eli Book.js above this plugin?
Hey, no I'm not
Hey, no I'm not
Here it is:

it's my core plugin. I guess I forgot to put a warning on the Check Point plugin to let you know that.
Put it anywhere above it.
Here it is:

it's my core plugin. I guess I forgot to put a warning on the Check Point plugin to let you know that.
Put it anywhere above it.
It works now, thank you!

Version 5.0.2 - 08/28/2022​

  • Fixed a bug when using autoload plugin command on the same map you performed the auto-save causes a crash.
  • Code clean up.
  • Need Eli Book 5.4.0 now.

Version 5.0.3 - 08/30/2022​

  • Add two new plugin commands that let you load or save on a specific save slot.
  • Fixed an issue where the auto load after game over was not working.
  • Fixed a problem when parsing the plugin parameters.
Hello, Mr Eliaquim, I like your plug-in, but there seems to be some text display problems in the MV version of this plug-in. Do you still support the MV version of the plug-in?
Hello, Mr Eliaquim, I like your plug-in, but there seems to be some text display problems in the MV version of this plug-in. Do you still support the MV version of the plug-in?
Hi there!
It depends on what is the problem. If it is a big stuff, not.
But tell me, what is exactly this problem?

1 - Can you send a screenshot of the text display problem?
2 - Did you make sure that is not a compatibility problem? Meaning, when only using my plugins, the problem persists?
Hello, Mr. Eliaquim. I'm sorry to reply to you now, because I got COVID-19 yesterday.

On the screen shot, I only used your plug-in, and the default parameters of the plug-in have not been modified. However, when I open the save scene and load the scene, I don't display the text like your show diagram. I would appreciate it if you would support the MV version of the plug-in.

At the same time, I want to translate some of your free assets into Chinese. I only translate the part about how to use the plug-in and the parameters, but I won't modify the author's name and other parts. I'd like to ask you if you agree.

However, I am sorry about the purchase of assets, because China lacks ways to purchase overseas assets. Sorry.
Plug-in manager.PNG
Plug-in default parameters.PNG
Save scene.PNG
Load scene.PNG
Hello, Mr. Eliaquim. I'm sorry to reply to you now, because I got COVID-19 yesterday.
- It's ok friend! I hope you get better soon! ^^

At the same time, I want to translate some of your free assets into Chinese.
- It's fine! If you could send the translation to me in a private message, I could add it to the official plugins.

See if the attached patch can solve your problem.
thank you The plugin has solved the problem perfectly.
Thank you for your trust and authorization. When the plug-in translation is finished, I will send you the translated version in a private message, and you can check it.
thank you The plugin has solved the problem perfectly.
Thank you for your trust and authorization. When the plug-in translation is finished, I will send you the translated version in a private message, and you can check it.
Nice! Have fun!
Hello, I've have been using the plug-in for a while now and so far, I am loving it. The only problem is that I'm unable to load the game because I am having this error :

TypeError: Cannot read property 'isScene' of undefined

at Window_SavefileList.itemIsAutoSlot (Eli_CheckPoint.js:271)

at Window_SavefileList.isCurrentItemEnabled (Eli_CheckPoint.js:245)

at Window_SavefileList.Window_Selectable.processOk (rpg_windows.js:1152)

at Window_SavefileList.Window_Selectable.processHandling (rpg_windows.js:1027)

at Window_SavefileList.Window_Selectable.update (rpg_windows.js:984)

at rpg_core.js:7035

at Array.forEach (<anonymous>)

at WindowLayer.update (rpg_core.js:7033)

at WindowLayer.update (SRD_HUDMaker.js:276)

at rpg_scenes.js:262

Yes, I placed Eli's Book above the checkpoint plug-in and I've tried putting the plug-in above all the others. It is worth noting that I am using YEP_SaveCORE plug-in and AltSaveScreen.



Thanks in advance, I am using your plug-in on rpg maker mv, hope it is still supported.
Hello, I've have been using the plug-in for a while now and so far, I am loving it. The only problem is that I'm unable to load the game because I am having this error :

TypeError: Cannot read property 'isScene' of undefined

at Window_SavefileList.itemIsAutoSlot (Eli_CheckPoint.js:271)

at Window_SavefileList.isCurrentItemEnabled (Eli_CheckPoint.js:245)

at Window_SavefileList.Window_Selectable.processOk (rpg_windows.js:1152)

at Window_SavefileList.Window_Selectable.processHandling (rpg_windows.js:1027)

at Window_SavefileList.Window_Selectable.update (rpg_windows.js:984)

at rpg_core.js:7035

at Array.forEach (<anonymous>)

at WindowLayer.update (rpg_core.js:7033)

at WindowLayer.update (SRD_HUDMaker.js:276)

at rpg_scenes.js:262

Yes, I placed Eli's Book above the checkpoint plug-in and I've tried putting the plug-in above all the others. It is worth noting that I am using YEP_SaveCORE plug-in and AltSaveScreen.



Thanks in advance, I am using your plug-in on rpg maker mv, hope it is still supported.
Hi there!

"isScene" is a method from an object on Eli Book plugin. The only reason for this error to happen is if you are not using Eli Book.
But, you said you are using it. So make sure of three things:

1 - Eli book must be anywhere on the plugin manager. But it needs to be somewhere above the Check Point plugin.

2 - Make sure you have Eli Book for MV properly updated. The latest version is 5.3.1.

3 - If you make sure of both things above, and still it is not working, try to remove the Yep plugins related to the save file, and see if it works.

If none works, send me a screenshot of your plugin manager, showing me the versions of the eli book and check point plugin.
Thank you for your response, I didn't expect the response to be so quick. Finally, I solved the problem by slightly modifying the Eli_Checkpoint plugin code. I added the following lines before the Eli.CheckPoint object definition :
 
Eli.Utils = {
scene() {
return SceneManager._scene;
},
isScene(sceneConstructor) {
return this.scene() instanceof sceneConstructor;
}
};

Of course, I only added these changes to the code when I saw that all the obvious solutions hadn't. I have the impression that your plugin is in conflict with another, another which could be a plugin that has nothing to do with saves. With this modification, the plugin works like a charm. I wanted to share these changes so that you can help other people in the future, I hope you're ok with me sharing these small changes directly here without asking permission.

Thank you again for your help. Surely, that was a strange problem since I seem to be the only one talking about.
Thank you for your response, I didn't expect the response to be so quick. Finally, I solved the problem by slightly modifying the Eli_Checkpoint plugin code. I added the following lines before the Eli.CheckPoint object definition :
 
Eli.Utils = {
scene() {
return SceneManager._scene;
},
isScene(sceneConstructor) {
return this.scene() instanceof sceneConstructor;
}
};

Of course, I only added these changes to the code when I saw that all the obvious solutions hadn't. I have the impression that your plugin is in conflict with another, another which could be a plugin that has nothing to do with saves. With this modification, the plugin works like a charm. I wanted to share these changes so that you can help other people in the future, I hope you're ok with me sharing these small changes directly here without asking permission.

Thank you again for your help. Surely, that was a strange problem since I seem to be the only one talking about.
Did you try/check out my suggestions to see if they work?

The solution you found, will "break" some functionality of my core plugin (Eli Book), therefore, can break/cause issues with other Eli plugins.

What you did was, overwrite the Eli.Utils object that is defined in the Eli Book plugin.
So, if any other plugin of mine tries to use the Eli.Utils methods, they will not be able to use any. Only the ones you defined now: scene and isScene

In other words, your solution is not a solution at all. You can proceed at your own risk, but it will give you some trouble if you try to use another Eli plugin that relies on Eli.Utils object.
Precisely, it is the fact of not finding a solution which pushed me to modify your code. I've tried pretty much everything, I'll send you a screenshot of the plugins I'm using when I'm home in a few days, I'm also aware that's not a great solution.

Original thread: https://forums.rpgmakerweb.com/threads/eli-check-point-system-auto-save-and-auto-load.144775/