This week I started work on my final big feature - getting Miranda's server to run on multiple server PC's at the same time. This is the key to scaling Miranda up to tens of thousands of simultaneous players. The server has been designed from the start to run on more than one PC, but until now I've never actually tried it. The work requires 13 programs plus their associated debuggers running on two PC's to test anything. I use batch files to set everything up, but its still really time-consuming and tedious.
So far the work is going pretty well. A lot of things just worked which is always nice. I had a few places where the client sent commands to the wrong server which were pretty easy to fix. Mostly I've been filling in little missing pieces. At the end of Friday I saw for the first time a simulation replication packet sent by one server arrive at the other - that was pretty exciting. I would have gotten to that point sooner, but I got sidetracked when I noticed a performance problem with the terrain loader. Tracking down that problem consumed most of the day. Then a second diversion resulted in me figuring out the cause of one of my longest standing bugs. Hopefully I can fix both of those problems this week in the downtime while I'm waiting for all the server programs to start.
Truth be told, server scaling is something I should have gotten working years ago. If you're making your own MMO, get this working as soon as you can. I knew I should have, I just kept putting it off.
|PrintScreen||Take Screenshot, result in Documents/Secret Lair Games/Miranda/Screenshots.|
|Ctrl-+ Ctrl--||Zoom User Interface.|
|Esc||Show Main Menu.|
|F1||Toggle onscreen help visibility (on screens that have help.)|
|1-0||Select group of units.|
|11-00||Select group of units, focus camera on the centre of the group.|
|Ctrl-1||Ctrl-0 - Make selected units into a group.|
|Shift-1||Shift-0 - Add selected units to a group.|
|TAB||Toggle HUD display on/off.|
|WASD or Arrows||Move Camera Drone.|
|QZ||Zoom Camera Drone.|
|ERTYUI||Select build queue, press repeatedly to cycle through all construction facility queues.|
|O||Select all units of the same type as the selected unit within 100m (or double-left-click desired unit.)|
|OO||Select all units of the same type as the selected unit on the whole map.|
|P||Select all mobile combatants.|
|Ctrl-A||Toggle an alliance with the player who owns the selected unit (they must agree for the alliance to be valid.)|
|H||Move Camera Drone to Construction Yard. Press repeatedly to cycle through all construction yards.|
|K||Toggle building Repair mode.|
|L||Toggle building Sell mode.|
|B||Select previous unit.|
|N||Select next unit.|
|M||Toggle fullscreen map (if available.)|
|Ctrl-B||Report a Bug.|
We were unable to retrieve our session cookie from your web browser. If pressing F5 once to reload this page does not get rid of this message, please read this to learn more.
You will not be able to post until you resolve this problem.