Your Private Server

To create a private server, first you need to know what a private server is.

So what is it?

A Realm of the Mad God (RotMG) private server isn't actually a server, but three servers, that are:

  • Realm Server;
  • World Server;
  • Database Server;

The Realm Server

The Realm Server is a TCP HTTP server that usually occupies the port 80 or 8080, as you would think it connects to the client using HTTP and because of that you can also run a website on the Realm Server, but the main focuses of it are:

  • authentication;
  • connection to the World Server;
  • loading the language;
  • account registration;
  • storing game data;
  • passing music and images;
  • other things related to the client user interface;

When compiled it is saved as server.exe and it's project name is server.

The World Server

The World Server is a TCP server that usually occupies the port 2050, it is the server that loads the world and it is more focused to the gameplay, it also keeps track of the currently online players, the dungeons, every enemy and everything that is related to playing the game. This server is heavier and it is easier for bugs to be made in it because it is a lot larger than the Realm Server.

When compiled it is saved as wServer.exe and it's project name is wServer.

The Database Server

The Database Server is the server that is responsible for storing the player data, the items and everything else. It is usually a MySQL server that stores this information.

The World Server and the Realm Server use the same database to store all the information needed, but you need to know how does the client work in order to make your private server, and there can be only one Realm Server but multiple World Servers.

results matching ""

    No results matching ""