User Tag List

Results 1 to 5 of 5

Thread: Place Passwords in arrays with encryption

  1. #1
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Place Passwords in arrays with encryption

    Hi! I was thinking to make a password feature to a future-level editor, but how? How would I make it encrypted?

    The Xs, Ys and Zs are used by the tiles in the level. (So I have no space for the password to go to)
    And the password / string has to be encrpyted somehow.

    Is it possible?
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes it's possible.
    I would hash the password and store it in the level file. Then if you really must encrypt it you can use the blowfish object.

    But what's the purpose of encrypting the levels? I would leave them unencrypted. It's extra trouble for something that isn't really worth it.
    You could just change the file extension to something like ".dat" and most users wouldn't touch them.

  3. #3
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I just want to encrypt the password for story Levels cause they shall not be touched for several reasons:
    +They can edit the level to make it easier
    +They can make achievements eaiser to get

    EDIT: There will be also a Custom Levels option to play your own levels there. As the story ones they will have passwords to block people from editing it.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you worried that the users will use an outside tool to modify the levels?
    Encryption isn't needed if you just want to stop them from using your editor to change them.

    Instead of encrypting the levels I suggest you just hash the level data and store it in the level file.
    Every time the level is loaded rehash it and compare. If the hash doesn't match then the game will know the level was modified.

    Make sure to add a salt to keep users from just recreating a new hash themselves.

  5. #5
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Ah I see, Thanks UrbanMonk!
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. Cheat passwords
    By Sambo in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th February 2014, 10:29 PM
  2. Passwords......
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th April 2010, 07:23 PM
  3. Passwords and moo channels
    By ToxicKiwiGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th August 2009, 07:38 AM
  4. Passwords
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th February 2008, 11:28 PM
  5. [Bug] 9-character Passwords
    By xyzzy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th December 2007, 08:41 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
  •