Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old February 3rd, 2013 (8:15 PM).
Shadow Ninja's Avatar
Shadow Ninja Shadow Ninja is offline
     
    Join Date: Feb 2013
    Gender: Male
    Posts: 1
    As the name dictates, I am creating an online game but cannot create a custom logon screen that will acess a certain users saved game when signing in, if someone could point me in the right direction that would be awesome.

    I did search for it through the forums but i didnt find it or related topics (but i could have missed it)f

    Thanks,

    Shadow Ninja
    Reply With Quote

    Relevant Advertising!

      #2    
    Old February 4th, 2013 (1:21 PM).
    andytu's Avatar
    andytu andytu is offline
    Ditto engine developer
       
      Join Date: Jan 2011
      Gender: Male
      Posts: 27
      Quote:
      Originally Posted by Shadow Ninja View Post
      As the name dictates, I am creating an online game but cannot create a custom logon screen that will acess a certain users saved game when signing in, if someone could point me in the right direction that would be awesome.

      I did search for it through the forums but i didnt find it or related topics (but i could have missed it)f

      Thanks,

      Shadow Ninja
      Really need more info - what are you developing in? Depending on whether your game is web-based or an applet like Java etc makes it different. Also are you intending for each command to be dealt with server-side MMORPG style, or are you simply wanting to let players store their saves online, as many flash games do?

      That said, simplest way for a server-side game would be using PHP to look up an SQL table. I would have a table for the usernames, user ids and their hashed passwords, give the client a session key based on that (by hashing their username with a timestamp), and then a separate table mapping each user id to the location of the save data on your server. Then any requests for data would be made through the session key.
      Reply With Quote
        #3    
      Old February 4th, 2013 (3:16 PM).
      DaSpirit's Avatar
      DaSpirit DaSpirit is offline
      Mad Programmer
         
        Join Date: Jul 2007
        Location: New York City
        Gender: Male
        Nature: Quiet
        Posts: 240
        You need to either rent a web server (GoDaddy is cheap) or use a spare computer. You cannot use a free web host as most don't allow to use databases for games and you cannot use a spare computer as most internet providers don't allow or have enough bandwidth that you'll need.

        Whichever you use, it needs MySQL and PHP as andytu suggested, so make sure you find a host that provides it. It would probably cost you $300 every 3 years for a common host that provides these features.
        __________________
        Yes.
        Reply With Quote
          #4    
        Old February 15th, 2013 (6:36 PM).
        Ooka's Avatar
        Ooka Ooka is offline
        <3
        • Crystal Tier
         
        Join Date: Aug 2007
        Location: Challenging The E4
        Age: 25
        Gender: Male
        Nature: Relaxed
        Posts: 2,612
        Quote:
        Originally Posted by DaSpirit View Post
        You need to either rent a web server (GoDaddy is cheap) or use a spare computer. You cannot use a free web host as most don't allow to use databases for games and you cannot use a spare computer as most internet providers don't allow or have enough bandwidth that you'll need.

        Whichever you use, it needs MySQL and PHP as andytu suggested, so make sure you find a host that provides it. It would probably cost you $300 every 3 years for a common host that provides these features.
        Actually feel free to use http://freehostia.com. Completely free hosting with the languages you need.

        If you get a paid host you'll have a few more options. One with Ruby installed means you can just use that, if you're already familiar with RGSS (You'll probably want Ruby on Rails).
        Reply With Quote
        Reply

        Quick Reply

        Join the conversation!

        Create an account to post a reply in this thread, participate in other discussions, and more!

        Create a PokéCommunity Account

        Sponsored Links
        Thread Tools

        Posting Rules
        You may not post new threads
        You may not post replies
        You may not post attachments
        You may not edit your posts

        BB code is On
        Smilies are On
        [IMG] code is On
        HTML code is Off

        Forum Jump


        All times are GMT -8. The time now is 3:29 PM.