ChoiceScript Saving Plugin (Update: April 2023)

Yep, alertify.js was added very recently, you need that version. Just waiting on getting to a pc then I’ll send the data :slight_smile:

@CJW downloaded and ready :slight_smile:

Sent you one of my largest ever PMs on this forum :smiley:
I hope it’s understandable (likeable) and relatively bugless…!

1 Like

What difference does the latest version of Choicescript make? I could only make out from the site that it was something to do with mobile devices.


Yeah, I understood it. I’ll have fun sorting it out later :slight_smile:

It includes and utilizes the alertify.js library for ‘flashier’ alert, confirm and prompt boxes.

For e.g.:

@Nocturnal_Stillness I bet you will :smiley:

Every time I play a game that had the save system installed it, at some point, gives me the error: QUOTA_EXCEEDED_ERR: DOM Exception 22 any help?

What browser and OS are you using?

Safari, IPhone, I’m running the iOS right before iOS 6.0.1

I don’t own an iPhone so have been unable to test the systems on the device. I’ll see if I can’t borrow one over the holidays and have a look into this.
Sorry for the inconvinience!

I’m more than happy to help test it @CJW if you PM me the link :slight_smile:

@Largejo - Is your game currently in public testing? I’m looking for a lot of feedback from a lot of different users so I’d prefer it if the first few tests were done on public games. I’m still expecting a wealth of bugs.

Did a little digging, but haven’t got my hands on an iDevice yet.
Try going into your settings, choosing Safari and ensuring that private browsing is OFF and that cookies and any kind of storage settings are enabled.

Please let me know if that helps or not, as if it does I’ll code in a catch for the error.
And if not, well… I’ll keep trying to grab an iDevice and solve your problem :slight_smile:

u r awsome

@CJW: I’m afraid my game isn’t in public testing yet.

but i don’t get how to make the name your save thingy

@irule9344 - Thanks, but you can’t ‘name your save’ in the current version.
@Nocturnal_Stillness is the first to test a new scratch built variant with increased functionality.

@Largejo Stillness reports that all seems to be going well so I’d be happy for you to test it, but I do want/need the feedback from your ‘tests’.

Irule, I think it has something to do with the Save Slots. From the example above, I think your supposed to use for example; “*save 0 | true | Leave this empty, the player can Rename this part”, I guess.

… Oops!

@Happy - ???
Yes, that’s a command from the new version (well, it’s *sm_save) - it won’t work in the currently uploaded one though, so please don’t go trying it just yet @irule9344 .

The 0 represents the ‘slot’ the ‘true’ dictates whether it should “prompt” the player (false saves without notifying them) and the “Leave This Empty…” bit is used to provide a default name for automatic (‘false’) saves.

i din’t get it so i won’t try it :stuck_out_tongue:

Due to the new system being integrated into choicescript commands, it’s a little more difficult than just saying “don’t load the mod” if the browser doesn’t support localStorage - or has it disabled/full for some reason.

So that’s something I’m going to be working on before I hand the file around to y’all.