• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Question] Logon and Saved game acess <-- Plz Help.

1
Posts
11
Years
  • Seen Feb 4, 2013
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
 

andytu

Ditto engine developer
27
Posts
13
Years
  • Seen Apr 21, 2014
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.
 

DaSpirit

Mad Programmer
240
Posts
16
Years
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.
 

Ooka

[font=Maven Pro][color=#A75EE2]Cosmic[/color][/fon
2,626
Posts
16
Years
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).
 
Back
Top