Jump to content
  • Advertisement
Sign in to follow this  
jimyp100

Looking for help with programing game!

This topic is 3734 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey i have an idea for a Web Based Game. I was looking at some PHP and had a query and that was how would would you save information on the server would that be PHP or SQL and also how would you call on that information for example: Say you where making a Web based RPG game where your individual character levels through the game and gains different skill points. How would you a) save in the server the character name, level and skill points and b) how would you call on that information in a situation where the character is in combat and needs the level and combat skills to make the equation used in combat.

Share this post


Link to post
Share on other sites
Advertisement
PHP and MySql work really well together. You could use a MySql database to store all kinds of stuff. You could also use file I/O to utilize a "flat file" storage system if you prefer.

It would really depend on your game and what kind of data you were storing and using.

Share this post


Link to post
Share on other sites
If you want your game to be more "hack-proof" you should do as much of the processing on the server-side as possible. It would be simple for a skilled programmer to monitor your game packets and duplicate those, without using your application at all. You shouldn't do the combat calculations on the client at all, or at least duplicate and/or check those on the server.

PHP and MySQL are a fairly good choice, but have some scalability problems.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!