@CJW, I’ve worked on another save system that piggybacks on the passwords, where the player gives a name for the saved game, and never sees the password itself. When restoring the game, the player selects the saved game from the list of saved games, and the password associated with that saved game is used to restore the game, again, without the user ever seeing the password. It is not quite to the point where I can make it widely available, and it makes use of jQuery and other code using the jQuery licensing, so I’m assuming it’s compatible with the CS license, but I should run it by CoG first, just to make sure they agree with my assumption. I intend to send them some emails this evening about the subject. (I just got back from vacation, and still playing catch up on several fronts.)
@eposic
I hope you had a good vacation and thanks for your reply.
If you are able to provide a save system as effective as summarized above and it being legal in the CS program then you will be a hero to all of the writers here.
@eposic
You are amazing. Thanks for sharing your findings with the community. I can’t even begin to tell you how much time you’ve saved me (and a lot of others, I’m sure).
Started using the password hard save option, I agree the password is a bit long but its not too hard to open a word document and copy and paste it there to save it for future use.
I believe it’s mobile phone/tablet users that may have some difficulty.
Of course they have similar capabilities, but they’re not quite as obvious or as easy to transition through.
I tried using a cookie to save the password without requiring the player to copy and paste it, but I couldn’t get it to work right. Not sure why. It kept wanting to show two scenes at once – the current scene and the saved scene were both jumbled together on the same page when the game was restored. I tried changing several arguments to the restoration function, but nothing worked quite right.
I never did hear back from CoG about whether it was okay to use jQuery with CS, so I’m not going to use it. Gotta make do with code written from scratch. If I can get the code to work with a cookie, I should be able to get it to work using HTML5 local storage. Mobile phones and tablets should be able to use either cookies or HTML5 local storage. The thing about using a cookie is that it’s limited to 4KB, which is probably sufficient for most games, but perhaps not all. HTML5 local storage isn’t nearly as limited as cookies.
@eposic Considering the licensing of each (the free one for CS), there’s not actually a lot they can say or do to force you to stop using them together, as both have virtually unlimited free licensing of each (provided you allow CoG itself to use any modifications to the interpreter). The only thing they can really do to stop you is refuse to host the game, and I’m sure they’d see that as just a plain bad idea on their part.
Also, CoG has so far been pretty laid back about pretty much everything. I’d personally recommend using JQuery if you think it would significantly help your game.
@Reaperoa and @mattnoles, you’ve convinced me. I don’t see any conflicts either, but I would like to know I’m abiding with CoG’s intentions, despite how I interpret the CS license. But since both of you see no problem with it, and I don’t either, I think a consensus of three is enough for me to push forward with it. Okay then. I should have a chance to work on it this weekend. I’ll keep you posted.
@eposic
Ok looking forward too it, as I am looking forward to seeing a replacement system to this business of *show_password. Its simply burdensome and can be improved. Is there any way the player could in the beginning save the game so to speak under their own desired name. Then as the game progress the developer could insert a command such as “*save_game”, just for simplicity sake. Then for example I could place that one simple command at the beginning of each chapter and as the player progresses its acts as a hard saved checkpoint.
So even if they leave the game, upon starting it back up, they can look up their save by its name they set the first time they started playing and then it would take them back to their last “*save_game” command they reached. I hope I’m making sense.
Another additional note would be to have the game restore exactly back to where this “*save_game” checkpoint command is. This would allow the developers to place the command not only at the beginning of a new scene, but in the middle of one, say right before a battle. Your current “soft save” system I have noticed will only restore to the beginning of the a scene. Please correct me if I am wrong on that point but that is what I have so far experienced.
I don’t know if what I have just suggested is even possible as I lack any programming skills other than writing a “Hello World” print out in java. LOL