Thread: [Essentials Tutorial] Basic Mystery Gift Tutorial
View Single Post
  #8    
Old December 29th, 2009 (2:24 AM).
Wichu's Avatar
Wichu Wichu is offline
Project Amethyst
     
    Join Date: Sep 2007
    Location: North Herts, England
    Age: 24
    Gender: Male
    Nature: Naive
    Posts: 2,051
    Naming it something random isn't a good idea; security through obscurity isn't really security at all. It would take a single person to decrypt the game data, check the filenames needed, and post them on a forum, to completely ruin the whole thing.

    The best way to do it is to implement everything on the server. The game doesn't do any checking whatsoever; instead, it pulls data off a website and creates a Pokémon from that.

    That way, you can add new gifts after the game has been published, and make sure players can't cheat (short of hacking the site where it's stored). You could even add the code to a fixed forum post (the first post in the thread), and have the game read from that.

    I'm probably going to make a tutorial for my method, and more :P
    __________________
    Reply With Quote