The Secret of Great Multiplayer Code

While we are waiting our animator to make our characters move, we managed to put most of the objects (diplomat, props, the famous pig among other thing) in the game. The multiplayer code received some additions as the level editor system was being integrated with the rest of the game. This caused some problems in the multiplayer code: basically the server crashes now and then as client sends invalid information (I’m investigating on this).

I started putting heavier methods to debug the multiplayer and realized that I should have done this much earlier. I realized one secret of a great multiplayer code: making sure your multiplayer code can easily catch errors.

I will get back to debugging and tracking the crash problem. It might take some time to find it, but at least now I’m putting even more effort on making the system stable.

3 thoughts on “The Secret of Great Multiplayer Code

  1. Sargon

    Well, my mantra about software is to never allow the unexpected to happen.
    If something in my software occur, that I did not expect it to happen, I report an error. Even if this something will not crush the game.

    Reply
  2. Otávio

    Another secret is not only having a stable system, but having a fair system.
    Prime example, Source multiplayer system.
    As a player, I can honestly say it is crappy, and will result in many
    “What the? No way, that shot had to hit him! Look there is even a blood spray on the wall!”.

    Nice article Juuso, and good to see how Edoiki is coming along.

    PS: The ground texture tiles quite a bit eh?

    Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Pro-Human Quiz: