:: The story of a lone developer's quest to build an online world
:: MMO programming, design, and industry commentary


The One Man MMO Project

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!
By Robert Basler on 2015-04-26 23:00:36
Homepage: onemanmmo.com email:one at onemanmmo dot com
I've been using this for a while, but especially this week so I thought I'd share: it's a class-based state machine. State machines are usually big and messy and awful spaghetti code. Making states class-based makes a state machine cleaner and much easier to follow.

Here's the base classes for the state machine.
By Robert Basler on 2015-04-13 10:18:28
Homepage: onemanmmo.com email:one at onemanmmo dot com
When I started developing The Imperial Realm :: Miranda, Content Delivery Networks (CDNs) were big and fancy and expensive and only used by giant multinationals so I never imagined I'd be able to afford to use one.

With me posting more and more big screenshots on my websites like this one:

The%20Imperial%20Realm%20-%20Miranda%20-%20Scorched%20Desert%202.jpg
[Random screenshot of the week.]


Last weekend I decided it was time to research solutions to improve my websites' performance.
By Robert Basler on 2015-04-02 11:57:33
Homepage: onemanmmo.com email:one at onemanmmo dot com
I've been working this week to get combat up and running reliably. It is starting to come together now, at least well enough for a screenshot.

The%20Imperial%20Realm%20-%20Miranda%20-%20Battle%20Loot_Lo.jpg
[Things are going badly for Red. Blue is getting a lot of loot!]

By Robert Basler on 2015-03-26 02:16:40
Homepage: onemanmmo.com email:one at onemanmmo dot com
I showed The Imperial Realm::Miranda at Full Indie again tonight. Just like last time it was great fun.

I got to The Pint at about ten after six to set up, found myself a table (actually the same table as last time) and started up the server. As always happens when you want to show someone what you're working on, something immediately went wrong -- the server wouldn't start. I knew it had to do with setting up the game to run standalone with no internet. Firing the game up under the debugger I was able to figure it out just in time for the 6:30 start. It looked kind of funny having 9 instances of Visual Studio running while I was demoing the game. The good news was that once I worked through that little problem, the game ran flawlessly all night.

Full%20Indie%20Demo%20Night%202.jpg
[During one of my breaks, I took a quick snap of my table.]


Like last time, I talked pretty much continuously from 6:30 until 9:45 (I got just two five minute breaks.) Most people stayed 10 minutes or more and I was often speaking to several people at a time. There are some real serious strategy game fans out there.
By Robert Basler on 2015-03-22 01:26:40
Homepage: onemanmmo.com email:one at onemanmmo dot com

If you aren't a programmer, here's a little sample of what we do to make games for you.

Today, at long last, I fixed a bug that goes back to Christmas 2014. The bug first appeared right after I updated the renderer for better performance. One of the things that that change added was a hard limit to the number of shader programs the Lair engine could support: 4096. I figured that should be lots since I only had a few hundred shaders even with permutations. One afternoon while cruising over Miranda, the game halted because it had hit the limit of shader programs. I was shocked. But when I looked into it the reason became readily apparent: I never released shader programs from materials when they were unloaded. It was a simple oversight, quickly rectified with this little bit of code:

void Pass::ShutdownProgram( void )
{
if ( mProgramId == 0 )
{
return;
}
if ( mGeometryShaderId != 0 )
{
mGlShaders->DetachShader( mProgramId, mGeometryShaderId );
mGlShaders->DestroyShader( mGeometryShaderId );
mGeometryShaderId = 0;
}
if ( mVertexShaderId != 0 )
{
mGlShaders->DetachShader( mProgramId, mVertexShaderId );
mGlShaders->DestroyShader( mVertexShaderId );
mVertexShaderId = 0;
}
if ( mPixelShaderId != 0 )
{
mGlShaders->DetachShader( mProgramId, mPixelShaderId );
mGlShaders->DestroyShader( mPixelShaderId );
mPixelShaderId = 0;
}
mGlShaders->DestroyProgram( mProgramId );
mProgramId = 0;
}



Now I was destroying the shaders and programs when they were no longer needed. Problem solved.

Then the Bad Bug showed up.
By Robert Basler on 2015-03-15 15:03:19
Homepage: onemanmmo.com email:one at onemanmmo dot com
This started as a comment in reply to Tripleskit but then I wanted to add a picture so...

The%20Imperial%20Realm%20-%20Miranda%20-%20142%20Units_Lo.jpg


When will this game be accessible for open/close beta/alpha?

Ahh, when. The ever-present question. With just me to do the work, not a team of 300, or even 10, things happen a little more gradually than they do with bigger projects.
By Robert Basler on 2015-03-08 09:00:00
Homepage: onemanmmo.com email:one at onemanmmo dot com

The%20Imperial%20Realm%20-%20Miranda%20-%20Hiding%20in%20the%20Flowers_Lo.jpg


I posted this on screenshotsaturday.com yesterday. I took it while finishing up unit movement when I noticed that flowers offer a bit of of camoflage which isn't an element in any of the RTS games I've played in the past. If you wanted, you could change your player color to match the flowers to blend even better. I'm not sure if that will become a thing or not, I just thought it was interesting.

Movement is looking pretty good now. Not perfect, but I'm running out of things I can do to improve it. I have one bug left that I started work on last evening and Monday I'm moving on to polishing combat.
By Robert Basler on 2015-03-02 09:44:27
Homepage: onemanmmo.com email:one at onemanmmo dot com

I haven't had anything new and exciting to blog about lately because mainly I've been fixing and finishing things since the middle of January. Some people like to be fancy and call it "technical debt," I just call it "finishing stuff."

The%20Imperial%20Realm%20-%20Miranda%20-%20Long%20Distance%20Debugging_Lo.jpg


More Posts

Project Line Counter in Visual Studio 2010 - 2011-06-04 00:01:45 (3 comments)
A Chrome UI - 2011-04-07 10:28:46 (3 comments)
Happy MMO Easter - 2011-04-22 16:17:59 (1 comments)
Looking for a Fast Square Root - 2012-03-29 11:19:56 (4 comments)
Shazam! - 2010-01-15 12:58:21 (0 comments)
Release 2 - 2015-06-09 23:53:29 (0 comments)
Normal Maps, Pathing and Bugs, Oh My! - 2015-03-02 09:44:27 (0 comments)
Bad Bug - 2015-03-22 01:26:40 (0 comments)

Recent Comments

Tour of Miranda at MMOs.com - 2015-08-11 03:39:22 (1 comments)
"So when are you planning to open it up a little more?"

"So the answer is fairly soon. With a lot of change. I kind of suck at estimating when things are going to happen."

Fairly soon is sooner than the last estimate :D

Well, I'll see you in-game ...
Combat Revamp - 2015-07-23 05:55:09 (7 comments)
When I say iconography I think I'd include art styles like FTL and other reusable component based artwork. i.e. I really mean non realistic representative artwork. I think people forgive less advanced art design (and some cases love it with the ...
Combat Revamp - 2015-07-09 10:29:29 (7 comments)
Thanks for the suggestions, but even iconography would only get me so far given that units are made of 6 different components and each of those components can vary in power and effects. One day I will have an art team!
What Do You Think of Unit Caps? - 2015-07-09 10:23:47 (5 comments)
Players killing less-useful units is what I would expect, and since when you dispose of a unit you only get a fraction of its original cost back, that also works as a money sink.

The plan is that players will want to use more exotic units as they ...
Combat Revamp - 2015-07-09 06:46:18 (7 comments)
This might be a little radical for this stage of the project, but have you considered having iconography for units instead of actual models?

It might detract somewhat from the atmosphere. However if you don't have the time/skills to create a lot of ...
|<      <<      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