Go Back   The PokéCommunity Forums > Creative Discussions > Game Development

Notices
For all updates, view the main page.

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



Reply
 
Thread Tools
  #1    
Old February 3rd, 2013 (08:15 PM).
Shadow Ninja's Avatar
Shadow Ninja
Unhatched Egg
 
Join Date: Feb 2013
Gender: Male
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
  #2    
Old February 4th, 2013 (01:21 PM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote originally posted by Shadow Ninja:
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 (03:16 PM).
DaSpirit's Avatar
DaSpirit
Mad Programmer
 
Join Date: Jul 2007
Location: New York City
Gender: Male
Nature: Quiet
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.
__________________
My Links:
Reply With Quote
  #4    
Old February 15th, 2013 (06:36 PM).
Ooka's Avatar
Ooka
<3
Community Supporter
 
Join Date: Aug 2007
Location: Challenging The E4
Age: 22
Gender: Male
Nature: Relaxed
Send a message via Skype™ to Ooka
Quote originally posted by DaSpirit:
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

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 11:38 AM.