Massively Multiplayer
Open-World
Real Time Strategy
 

The One Man MMO Project
The story of a lone developer's quest to build an online world :: MMO programming, design, and industry commentary
By Robert Basler on 2015-08-07 12:57:52
Homepage: onemanmmo.com email:one at onemanmmo dot com
While the game client is the biggest single piece of Miranda, by sheer numbers, tools are definitely winning. There's a tool for importing Collada 3D models, one for putting assets into container files (sort of like a ZIP tool) (thanks music industry), a tool for creating Secret Lair Codes, a tool for converting the string database into a quick to load, quick to search format, a tool for analyzing memory reports for when things go horribly, horribly wrong, a tool to run the servers and restart them in case they crash, a tool for doing evil things to PNG files that shaders like, a tool for processing and procedurally generating all the terrain data, about 50 tiny automation tools (also known as batch files,) a tool for loading TOS documents into the database and last but not least, a unit testing program that makes sure that I don't accidentally break anything important. Whew.
By Robert Basler on 2015-07-21 15:08:05
Homepage: onemanmmo.com email:one at onemanmmo dot com
I had planned to add a bunch of new units to The Imperial Realm :: Miranda next, but when I started to work on that, I discovered I hadn't actually figured out how best to do that, so instead, I've been doing a few little things while I thought about it.

The%20Imperial%20Realm%20-%20Miranda%20-%20Little%20Things_Lo.jpg
[Shields, Territory Capture & Unit Caps]

By Robert Basler on 2015-07-08 16:25:52
Homepage: onemanmmo.com email:one at onemanmmo dot com
One of the most common attacks against an online game is to use a program like WireShark (which is awesome) to figure out the networking protocol and then use that knowledge to gain advantage. One common example of such attacks is the dreaded aim-bot (this one's for Quake) where a computer program aims and fires perfectly for the player in a multiplayer game. Tools like this one also able to gain additional information for the player that normally wouldn't be available to them (like the location of players hidden by walls.)

After today, such attacks will be much more difficult on Miranda because communications between the client and server are now encrypted.

I'm not going to say too much about how it works, but I read a bit about game protocol encryption and it basically comes down to using a fast symmetric encryption algorithm, have different keys for every session, and if you can, use an expert's implementation (don't roll your own.)
Read more... (0 comments)
By Robert Basler on 2015-07-02 10:03:12
Homepage: onemanmmo.com email:one at onemanmmo dot com
Traditionally Command & Conquer doesn't have a unit cap (other than C&C4 which we'll ignore because it's awful) so up until this last week I hadn't thought too seriously about a unit cap in Miranda.

I've been replaying Homeworld (Homeworld Remastered) this last week and one thing I had forgotten about that game is that it has hard unit caps. The unit caps are fairly generous, but nevertheless there are caps (only 6 destroyers! can you believe it?) The reason behind the cap I suspect, is because unlike C&C, units carry over from mission to mission and the designers didn't want to make it too easy for the player to steamroll the AI by simply capturing every ship put against her in the earlier missions.

Homeworld's unit cap is per category, so 6 destroyers, 100 fighters, 16 salvage corvettes, etc. They are reasonable limits, but an average player is going to have to work within these limits eventually.

At the moment Miranda doesn't have a unit cap (other than a limit of 16 construction buildings per category which is purely a UI limit) although I always figured I'd need to add an upper limit at some point. Reasons to add a unit cap include:
  • Miranda is more like Homeworld in that players keep their units indefinitely, they aren't given a clean slate before each mission like Command & Conquer.
  • Limits force players to make choices - which are always a good thing.
  • A cap mitigates force-size imbalances between new players and experienced players. Experienced players will have cooler units, but not a crushing numeric advantage.
  • A plague of cheap tanks. A cap would prevent the pathological case of a player creating tens of thousands of units (tanks/superweapons) and using them to annoy other players.
  • Load time after login is directly proportional to the number of units the player has.
  • A player logging in with 10,000 units may cause performance problems for other players on the same server.
  • A cap limits storage/bandwidth costs per-player.

The only really compelling arguments I can come up with against unit caps are:
  • They suck!
  • Command & Conquer doesn't have them.

So what do you think about unit caps in Miranda?
Read more... (5 comments)
By Robert Basler on 2015-06-25 01:20:21
Homepage: onemanmmo.com email:one at onemanmmo dot com
Once I got the server up, the next thing I wanted to tackle was revamping the design for combat. The original combat system was sort of rock-paper-scissors-lizard-spock. It worked, but it was a little too complicated for people to be able to figure out intuitively.

The new system is based on the design of Red Alert 2. Each of the 6 types of units (construction buildings, ATV's, tanks, utility buildings, air and superweapons) has one of three armour types (light/medium/heavy.) Players will be able to figure out quickly which weapons work effectively against which unit types.
By Robert Basler on 2015-06-09 23:53:29
Homepage: onemanmmo.com email:one at onemanmmo dot com
A new build is up, these are the release notes.

IMPORTANT: Neither the client nor old versions of miranda_setup.exe will work with the new patching data. Testers must download and run the new version of miranda_setup.exe to update the game to the current version. Eventually this will be automated for you, but not today.

The first bug testers encountered this week was me relearning the golden rule: don't mess with the distribution files manually. I deleted a file from the server that I thought wasn't needed, but the installer still expected it to be there so the install failed. Lesson learned.
By Robert Basler on 2015-06-02 15:40:51
Homepage: onemanmmo.com email:one at onemanmmo dot com
The first Pre-Alpha invites have been sent and the live server is up and running!

If you're on the very short friends and family list, you should have received an email with the install link and a Secret Lair Code to create an account.

The%20Imperial%20Realm%20-%20Miranda%20-%20First%20Public%20Login.jpg
[Doesn't look like much, but this is the first base on the Live Server.]


There is nothing more satisfying than seeing something you've put so much effort into actually working in a live environment.

So if you're one of the lucky few, give the game a try, and most importantly: let me know how things go.

If you didn't get an invite, be patient, these are the early days. This first test is mainly about finding out if the game even runs on other people's computers.
By Robert Basler on 2015-05-26 00:24:17
Homepage: onemanmmo.com email:one at onemanmmo dot com
I was fortunate to receive an SSD as a gift last week. I had long heard that using an SSD made no difference to build times with Visual Studio. But, everyone raves about them so I decided to use the SSD to replace the main drive in my dev laptop. Better boot times are always appreciated. I was able to install the new drive, image it with the standard Dell factory image, reinstall all my software and then wait through 200+ Windows updates. That took about 14 hours. The result though, was well worth the effort. Boot times are under 20 seconds and I got an amazing 44% reduction in build time from 10:06 to 5:41.
By Robert Basler on 2015-05-20 17:34:32
Homepage: onemanmmo.com email:one at onemanmmo dot com
Vendors are finally done! If you signed up for the Newsletter (at the little envelope icon above) you just learned all about it.

Next on the list is setting up the server for friends and family testing.

The%20Imperial%20Realm%20-%20Miranda%20-%20Vendors2.jpg
[Selling components to a Vendor.]

Read more... (0 comments)
By Robert Basler on 2015-05-03 14:35:32
Homepage: onemanmmo.com email:one at onemanmmo dot com
The server software I wrote at EA had a really nice feature: it would display an XML file of its status if you made an HTTP GET request to a specific port on the server. This is handy because it can be used by server-farm monitoring tools or for things as simple as a server up/down indicator. I wanted a server up/down indicator for the theimperialrealm.com site as well as on the game's login screen.

Adding an HTTP server to the game server's front door was easy, a few lines to parse a new command line parameter for the port number, four lines to add the HTTP server and about 20 lines to output the game status as XML. Easy peasy.

<?xml version="1.0" encoding="utf-8" ?><server><status>up</status></server>

Now I needed to get that status to display in the HTML5 news page that displays on the game's login screen. My whole game UI is built on AJAX and XML, so I figured it would be pretty easy to use the same tools to add a simple up/down indicator. Wrong!

More Posts

Project Line Counter in Visual Studio 2010 - 2011-06-04 00:01:45 (5 comments)
A Chrome UI - 2011-04-07 10:28:46 (6 comments)
Looking for a Fast Square Root - 2012-03-29 11:19:56 (4 comments)
Happy MMO Easter - 2011-04-22 16:17:59 (1 comments)
Post 200 - 2015-12-07 01:16:13 (0 comments)
Unit Design Screen Revision Four - 2016-05-29 01:11:57 (5 comments)
+1 FPS - 2016-02-02 00:08:38 (0 comments)
A Quarter! Million!! Lines of Code!!! - 2015-10-09 15:38:10 (0 comments)
Shroud Rendering - 2016-05-03 01:52:55 (0 comments)

Recent Comments

A Chrome UI - 2016-06-25 09:12:15 (6 comments)
Ok thank you! I'll check the scrolling code from the example code. :)
A Chrome UI - 2016-06-24 01:13:19 (6 comments)
If I were you I would implement CEF rather than Berkelium at this point. That said, I didn't implement context menus, although they probably work like Widgets where you need to create a new window with the same bitmap handling as the main berkelium ...
A Chrome UI - 2016-06-23 22:14:36 (6 comments)
I have been trying to implement Berkelium for a couple of days now...

I am still having trouble with:

1. Context menus (by right clicking). They tries to open it seems, because the onShowContextMenu function gets called, but they never become ...
Superweapon Design - 2016-06-19 04:35:43 (1 comments)
Awesome it is great to hear another update Robert!.
Unit Design Screen Revision Four - 2016-06-11 01:27:51 (5 comments)
It would have been a whole lot easier if I hadn't gone with a gigantic seamless open world and limited the number of players in a match to 8 or so. Live and learn ;)

There should be another video next week some time - superweapons this time.
|<      <<      1      2      3      4      (5)      6      7      8      9      10      >>      >|

Admin Log In



[The Imperial Realm :: Miranda] [Blog] [Gallery] [About]
Terms Of Use & Privacy Policy