Setting up MMORPG on a hosted domain

I have been searching high and low for information on how to set up a MMORPG on a hosted domain that people can play through the browser. There is a lot of info on MMORPG but all of the info that I have found seems to assume that the creator of the game owns the server that the game will be running on.

Here is what I need.

  1. Play MMORPG through a browser.
  2. Connect to to a preexisting database through PHP.
  3. Logging on to site will allow playing of game without logging into game.
  4. Save game at current state on exit.
  5. Resume game at last saved point when started.
  6. Post game achievements and or score to preexisting PHP document.
  7. Player can choose character type.

Those are the major points that I need. As I said the information that I have found only talks about setting up a server. I only want the game to run on a hosted domain and connect to a preexisting database.

Is there any information on this that someone can point me to?

If you want code, you will need to hire someone.
If you want a tutorial, you won’t find it. It is just to complex to write a tutotial and many different approaches.
There are also some basic rules you have to learn, for instance the connection to PHP can be done from Unity but you don’t realy want that security wise.
What backend tech will you be using ? PHP is not fast enough for what you want to achieve.

I don’t need code. I need scripting. There is a difference. I am getting a pretty good idea on how to script but I don’t know the scripting rules for what I want and the manual is not much help for this type of thing.

I don’t expect a tutorial on all aspects in one. Information on separate aspects would nice.

I have been running flash games through browsers and php for years and never had any security issues, Can you give me an example?

Facebook uses LAMP (Linux, Apache, MySQL, and PHP) for their games and they are plenty fast. I will be using the same thing.

All I really need is info on the matter that the manual does not cover. It does not have to be all in the same tutorial.

Sorry I read over the php part, you are fine then.
I have integrated the webplayer with PHP before and it works great. It’s explained in the webplayer deploy section of the manual I think.

I have mastered making games playable through a browser.
Now I need information on the other aspects.

  1. Connect to to a preexisting database through PHP.
  2. Logging on to site will allow playing of game without logging into game.
  3. Save game at current state on exit.
  4. Resume game at last saved point when started.
  5. Post game achievements and or score to preexisting PHP document.
  6. Player can choose character type.

I do understand that all of this information will not be available in one tutorial.
Any single sources on any of theses items would be great.

  1. Connect to to a preexisting database through PHP.
    You can use the WWW class to do this
  2. Logging on to site will allow playing of game without logging into game.
    You can communicate between php and the webplayer
  3. Save game at current state on exit.
    Also using the WWW class
  4. Resume game at last saved point when started.
    Also using the WWW class
  5. Post game achievements and or score to preexisting PHP document.
    Also using the WWW class
  6. Player can choose character type.
    Also using the WWW class

Alternately you could use some of the cheap ASP hosting and write your server in C#. I had a prototype of this running about a year ago. It wasn’t without problems though, often those getting those servers to unload the ASP so you could update it was a hazzle. But it was cheap and let me write C# code for the server.

What I did was using the mono tool for making the ASP object wrapper and then changed the networking calls to use WWW. If anyone is interested in my old code I guess I could dig it up.

It’s always interesting to read through another approach, especially if it allows you to use C#.

I will not be setting up a server. Will use a hosted domain and simply run it through the browser from there.

ASP.net is a platform that allows you to make a .NET Intermediate language binary and have that executed on the server. You’re running .NET code in a sandbox on the server. But you get initialized on startup and get notified on shutdown, and you get to keep a session in memory, disk or database. You can do this both with apache (mono) and microsoft servers.

The real benefit is that many websites uses this for web apps and so you can buy hosting for it. For a company I would always recommend your own server, but for indies this is a viable alternative to php.