Saving data from an adventure into a file

marcsbike
26 May 2016, 03:11
Hi!

I looked around the Quest documentation but can't seem to find a way to save data about a player's execution of a game. In particular I need to save several variable values in a file at the end of each game play through...preferable a single file across all of the players.

Is there a way that I can accomplish this? Possibly using embedded HTML statements or Javascript?

Thanks in advance!
Marc

The Pixie
26 May 2016, 07:08
There is nothing built in. One approach would be to set up a web server, and have your game communicate with that. Your web server could save the data. This thread gives some idea how:
viewtopic.php?f=10&t=6335

I kind of feel i would be polite to warn players that data is being saved on another server. I doubt you can save the user name, as Quest itself does not have access to that, as far as I know.