So, I accidentally saved a game while in the stats screen, which seems to break the save Would there be any way to update around this bug? Itās just completely stuck on stats with no way to return to the game
I know that this has been the case for pretty much as long as the pluginās been around. That said, if it canāt be fixed, would it be possible to disable the plugin on the stats screen?
OK, so to set up a demo on DashingDon, do I need to download and include smPlugin.js and smPluginAddOn.js. or just include the code for saving in my setup and scene files? The way the game creation screen on DashingDon is written is looks like I donāt have to include the .js files myself? Iām trying to sort this out now, instead of having to go back and do a ton of work later
*Edited for 1D10T style typos! I think I need more coffee!!
Lessa
You just need to include the save command (*sm_init name | number) right at the bottom of startup, then check the save feature on Dashingdon.com
Name: title of project
Number: amount of save slots - 1 to 5
Just to make sure Iām understanding, as long as I include the save command in startup, then DashingDon will take care of anything else necessary? Or I have to add save prompts in the scenes as well? Sorry for the dingaling questions, sleep isnāt my best friend at the moment so Iām working through perpetual brain fog
Lessa
You will just have to keep it in startup, nowhere else. The site, Dashingdon.com, requires you to manually check the option. If you do both correctly, then you will have successfully enabled the save feature.
Thank you so much @Janus_Prospero ! You have made my day! Also, huge thanks to @CJW . Just creating this and making it available for use elevates you to incredible human status Not to mention all the help you give every day. One in a billion rock star!
Lessa
Bug Fix Release
Hi folks, AbrahamAriel Ā· GitHub (afraid I donāt know their forum handle, if theyāre on here) pointed out that a recent change to the menu buttons in ChoiceScript broke ChoiceScriptSavePlugin.
They even kindly submitted a fix, which Iāve incorporated and released:
Youāll need to replace your current ChoiceScriptSavePlugin.js file with the contents at the link above in order to use it with the latest version of ChoiceScript.
@dashingdon FYI.
Do authors need to change anything in their startup or will the same command we have been using still enable it when uploading to ink or dashingdonās?
No code changes required, the script just wonāt inject itself properly without the update.
Okay, so the update is something I, with my WiP demo, do not really need to fuss with?
If youāre relying solely on dashingdon to host your game and provide the save plugin, then you have nothing to do indeed (thatās on Dash).
Yes, saves donāt play nicely with modifications underfoot. Itās stored in your browserās local storage, rather than a file. You can clear local storage items manually, but itās a little fiddly. Youāll want to read around the topic.
Hey Carey, I just wanted to let you know that I have the same problem reported by other people, whereby the game doesnāt load mid-scene, but only at the start of it (I didnāt even think it was supposed to load mid-scene until now!)
Is it something you eventually figured out the cause of? I use Dashingdon, so I donāt understand what else I could do other than use the sm_init command.
In case you want to take a look for yourself, the game can be reached at this link: After Dark
Thank you in advance for your attention, and for your hard work over the past ten years!
Check this response to a slightly different issue. The reasoning is the same. If people save a game and you then update it, saves are very likely to break. There really isnāt a great deal we can do about this, aside from perhaps detecting when a save is out-of-date and warning people.
I had a quick flick through your game and saving worked fine for me as it is right now.
Thank you for the very quick reply! Iāll link your answer in the gameās thread then.
Iāve tried the latest version of the plugin, and no save slots appeared on top of the screen. Iāve followed every instruction to the letter, but I canāt seem to get the quick save function working. Did I miss something?
Does this work with the newest version of ChoiceScript?
If you mean with regards to checkpoints, Iām honestly not sure. I donāt have the free time to check myself at the moment, but please feel free to try it and report back. I would imagine some tweaks may be needed.
Iām sorry I canāt be of more direct help at the moment.
Ah, I just saw this thread⦠did anybody try to use the checkpoints? Do they work with CSIDE?