- Joined
- Aug 10, 2008
- Messages
- 858
- Reaction score
- 516
Red Line = Calls Instance
Blue Line = Creates Instance
I've been thinking about a possibly better way to have the structure of server execution. Basically, this removes a World and Channel Server from being required and integrates Login into the Master Service, Worlds and Channels (servers) are now instances that hold significant data for execution instead of being executables and can be instantiated by the Login Server.
Channels still handle packets for interaction over a socket, but now they are individual entities bound by ports that hold sockets for data transportation from client to server and vice versa.
Master Server: Handles start-up and login working.
Cash Shop Instance: Only one instance is needed to be used by the whole server, since all World Instances will call it.
World Instance: Can be numerous, not limited to one. Holds channels and binds a Channel to the Cash Shop and other Channels as well as the MTS.
MTS Instance: A Single MTS Instance for the World Instance makes it so other world instances don't have access to the specific MTS Instance other than the world it was originally registered on.
Channel Instance: A Channel Instance holds player's online interaction with other players and the environment of Maple Story, holds a Maps Instance that can only be used for that particular Channel.
Maps Instance: The environment of Maple Story that handles player's true player interaction with others on a field basis as well as handle other entities of the game in general (NPCs, Etc.).
Thoughts or comments?