User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Is there any way to make the save data from the flash export not as part of a cookie?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there any way to make the save data from the flash export not as part of a cookie?

    Is there a solution for preventing my players games from getting deleted when they delete cookies from there computers? I mean, can I make a back up or a copy or is there some alternative to the ini object? I guess a password system could help to get them started again.

    I would really prefer not to deal with an sql database nor any messy log-in systems...

  2. #2
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    The ini and array objects should save data just fine within the app and this should not rely on cookies for flash apps so far as I am aware. Have you had a problem with this?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry to interupt, but what are the advantages and disadvantages with ( 1 ) INI/ Arrays and ( 2 ) cookies?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Simon View Post
    The ini and array objects should save data just fine within the app and this should not rely on cookies for flash apps so far as I am aware. Have you had a problem with this?
    Cookies are exactly how flash data works when saving using the ini. When you clear the history, bye-bye your saved game. However, maybe this could be avoided if saving outside of the application folder. The problem with this is that I don't know how to save to a path that a user may not have. For example, if you designate the c: drive as the path, but the user doesn't have a c: drive, then you will have a problem...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, if you use the array, then you won't have any cookies, because the cookies are specific to the ini object. However, using arrays would be a pain, and then I would have to deal with the encryption.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by redpandagames View Post
    Cookies are exactly how flash data works when saving using the ini. When you clear the history, bye-bye your saved game.
    When you clear what history?
    Browser history?
    Where is the cookie located?
    Sorry for all the questions

    Quote Originally Posted by redpandagames View Post
    However, maybe this could be avoided if saving outside of the application folder. The problem with this is that I don't know how to save to a path that a user may not have. For example, if you designate the c: drive as the path, but the user doesn't have a c: drive, then you will have a problem...
    Well, Windows machines for example allways have a disk.
    If its not C its D or E or F.

    PROCEDURE 1
    Im guessing one could use the File Object or something to check if path C exists, if not itll check if path D exists and so on.
    Once MMF2 finds an existing disk, it creates a folder with save game data on that disk somewhere.
    Importaint thing is to be able to identify the RECOVERY disk, since you wouldent want to put save data there.

    PROCEDURE 2
    If for some reason no disk i found, run a backup procedure which saves game data as cookie like before.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Each Flash application can save to a specific folder only, I'm pretty sure Flash won't let you save outside that folder blindly -without a dialog that asks you where to save a file when you save a document- This is for security reasons.

    I haven't tried to see if clearing cookies deletes the contents of these folders, have you tried it with a major Flash game, like say, Burrito Bison? If so, maybe it is something you can't prevent.

    You can use a service like GamerSafe to save data to a server, but I think it needs logins. Also you can have a password system. I have seen Flash games using passwords.

    If protecting the file against cookie flushing isn't possible, don't worry too much, it has not been a problem for me, at least, nor have I seen players complaining about their save file getting deleted. That's how all Flash games roll.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by oruga View Post
    Each Flash application can save to a specific folder only, I'm pretty sure Flash won't let you save outside that folder blindly -without a dialog that asks you where to save a file when you save a document- This is for security reasons.

    I haven't tried to see if clearing cookies deletes the contents of these folders, have you tried it with a major Flash game, like say, Burrito Bison? If so, maybe it is something you can't prevent.

    You can use a service like GamerSafe to save data to a server, but I think it needs logins. Also you can have a password system. I have seen Flash games using passwords.

    If protecting the file against cookie flushing isn't possible, don't worry too much, it has not been a problem for me, at least, nor have I seen players complaining about their save file getting deleted. That's how all Flash games roll.
    Well, I guess I'll use the ini and use a password system. People really hate passwords, but it would really be as a last resort.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If Flash applications could just store information on your computer that doesn't get deleted when you clear your cookies, that would have serious security implications (think the whole tracking cookie controversy).

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by James View Post
    If Flash applications could just store information on your computer that doesn't get deleted when you clear your cookies, that would have serious security implications (think the whole tracking cookie controversy).
    Well, the best thing would be to get rid of the cookie part and just save to a directory on the hard drive or within the application itself. I'm not sure why the cookie is even being utilized in the first place...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How do I save data on a flash game?
    By NastyMan in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 25th April 2013, 06:09 PM
  2. How to make save system for flash game?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd September 2011, 07:47 PM
  3. How to make save game function for flash?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th February 2011, 11:23 PM
  4. MMF/TGF Export/Save As/Convert To Flash?
    By gtuerack in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th August 2007, 01:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •