MMO Roadmap and progress - Week 9

Forums:

With week 9 seeming to just begin, i have now made more progress. I've been working with my framework in an attempt to get it stable and usable. I have completed a few more things on my list. The biggest new advancement being getting sub servers to connect to each other. Specifically I have region servers connecting to each other. The next step is to send a registration message between them so they can figure out what areas they monitor so they know if they need to exist in each other's list.

009. Server2Server - Using the Handlers

Tonight I went ahead and took the time to record and upload the next video in the series. This video covers the actual use of the handlers that were created previously. With this code in place, we can begin to write handlers for future messages. In the next couple videos I will be creating a client that will then send a login message through our master server, over to the login server and return a response.

Enjoy!

Minor break and Explanation

As you may have seen I've been a little out of touch since the weekend. My job currently has me incredibly busy. I will be back to doing tutorials soon, but I need a short break to keep my stress levels down. I have been writing down design ideas to begin implementing Groups, Guilds, and Chat. This weekend I hope to have enough time to record a couple more videos to introduce communication to and from the SubServers. I know you all are eagerly awaiting this critical piece and I hope you can bear with me while I deal with real life.

008. Server2Server - Creating the Unity3dPeer

In Part 7 we covered the creation of our handlers and put them on our sub server class. In this part we work our way through the creation of the Unity3dPeer. This class is designed to take incoming requests from the client, add the userId to them and forward the data to the sub server where it will be processed. At the end of the video we also create a Login SubServer and prepare the PhotonControl.config file to run both our master server and the login server.

007. Server2Server - Creating the Handlers

In Part 6 we covered the creation of the SubServerCollection. Its job was to help the Master Server keep track of all the Sub Servers connected to it. In this chapter we cover the Handlers that are used by the Sub Server to deal with Operation Requests, Operation Responses, and Events. We also add in the SubServerCollection to the Master Server and call the OnConnect and OnDisconnect from the IncomingSubServerPeer class when we finish registering and before we disconnect.

006. Server2Server - Creating the SubServerCollection

In Part 5 we covered the creation of the OutgoingMasterServerPeer which is how we communicate with the Master Server from a Sub Server. In this chapter we are going to cover the creation of the SubServerCollecion. This collection will be used by the Master Server to keep track of the SubServers that have connected to it. I will provide the text based version of this in the near future.

Using MVC in Unity3d

Since I am not currently able to record any videos I thought I would take a moment and explain a little about the client portion of the framework I've been keeping to myself. The idea behind my client framework was to make it quick and easy to build new scenes, add new message handlers, and still do everything we need to do when working with the MMO. For those of you who walked through the old Photon 2.6 tutorial or watched the Intro To Photon 3.0 series, you will notice that I really didn't do much in terms of working with Unity3d.

005. Server2Server - Creating the OutgoingMasterServerPeer

In part 4 we cover the creation of the sub server and we implement the members of our OutgoingMasterServerPeer. In this post we move on to finishing our Peer by implementing the call to the master server to register this sub server.

We'll begin by adding our logging, sub server link, and other properties to our OutgoingMasterServerPeer.

004. Server2Server - Creating the SubServer

In Part 3 we covered setting up the RegisterSubServer operation. In this video we cover the SubServer code template that will be used to create the other sub server types, Login, Chat, and Region.

003. Server2Server - Handling the RegisterSubServer Operation Request

In Part 2 we covered getting our connection to Sub Servers with the IncomingSubServerPeer class. In this segment we will be creating the supporting classes that we need to process our first Operation Request, RegisterSubServer.

Pages

Subscribe to CJR Gaming RSS