Twitter  Facebook  YouTube  E-Mail  RSS
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 2011-04-16 01:39:22
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
This week I built the other major component of my game's user interface: my own HTTP 1.1 server. The server is now built into the client to serve up web pages to my Chrome UI. At some point I might also put it into my servers so remote monitoring tools can check for server status via a simple web page request (a server I worked on previously dumped an XML file of status variables any time a browser did an HTTP GET request to it.)
By Robert Basler on 2011-04-07 10:28:46
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

Something I struggled with for quite a while was trying to figure out how to build a good-looking and functional user interface. I could certainly have built my own, but that would have been a major undertaking, as a lot goes into a user interface. You need a layout engine to manage where everything lands on the screen when you resize the window, you need widgets such as buttons, text areas, password boxes, scroll bars, radio buttons, progress bars, and more, and you need a way to author all that that is easy enough to use that if you change your mind, you can afford to do that.

That's a pretty tall order. And ideally I wanted it to be free.


By Robert Basler on 2011-04-03 19:07:38
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

There was a bit of a scandal recently when it was revealed that Rogers Cable here in Canada was throttling its World of Warcraft users. Rogers quickly came out with a release that this was a mistake, but it turns out the reason they are (still) throttling, is that World of Warcraft uses Bittorrent as the primary means to transfer its multi-gigabyte client patches. And it does it in the background while you are playing - so when Rogers throttles your connection, it kills gameplay at the same time.


By Robert Basler on 2011-03-16 12:02:44
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
This week EA banned a user from their single player games as a result of a forum ban, which got me thinking. Why is it a game company's responsibility to punish someone for bad forum behavior? They bought and paid for those games, they are customers.

Wouldn't it be better to allow each customer to choose who they ban? It seems it should be pretty easy to implement, just put a "ban this guy" button next to each user's name in the forums. Manage a global ban list for each user. Apply that ban list to forum posts, in-game chat, trade and messaging. If someone was on that list, they just don't exist as far as the player is concerned.

Now granted, some people are just troublesome, maybe the company should offer a banning service for their customers with moderators adding certain persistently troublesome players to a special section of all players' ban lists for them (that they could opt out of of course.) Maybe this is the place for the 72 hour ban the Dragon Age 2 guy got?

Now EA claims the game ban was a mistake, however given that their Terms of Service says explicitly that they can do that, I'll let you draw your own conclusions on the veracity of that claim.
Read more... (2 comments)
By Robert Basler on 2011-03-10 20:36:18
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
One of the big pains of using OpenGL on Windows is that the Windows SDK only ships with OpenGL 1.1. There's probably a really good technical (and non-political) reason for this, but the fact remains, if you want to do anything with OpenGL on Windows, you're on your own.

What you need then, is something to bring the Windows SDK up to current standards (OpenGL 4.1 as I write this.) When I was originally trying to solve this problem (around the time of OpenGL 3.0), I came across GLee which is a cool library which makes the full OpenGL spec available easily. I didn't like their license, so I decided to write my own extension loader.

I don't think anyone should ever have to do this again, so I'm making this one public domain, do with it as you will. I'd like to hear if you use it in something, but that's not a requirement.
By Robert Basler on 2011-02-02 10:47:59
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

Sometimes you design something and it seems like it is a good solution, efficient, easy to implement, and then there's the reality.

My system for updating entities across the network was based on a simple idea. Everybody who is interested in a particular area gets updates for all entities within that area. Sounds simple right? But here's the problem. The areas are relatively small, so entities move from area to area pretty quickly.

Each time an entity moves to a new area, it needs to be synchronized with everybody interested in that area, ie the game needs to send the full entity definition to the new guys. There are a couple ways to do that, one is to send everything to everybody, the other is to send full updates only to the new guys. I implemented the latter since it is more bandwidth-efficient, but it turned out to be pretty expensive anyway. Too expensive in fact, but not in the way you'd think.


By Robert Basler on 2011-01-25 16:11:52
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

I've been trying to get my camera simulation working. Last week, I realized that the network was misbehaving resulting in multi-second packet round trips. A week of optimization work, and that issue is resolved. Now I looked at the camera motion system I worked out, and I remember that in order for the simulation to be somewhat rational, that all of the servers need to have synchronized clocks.

I was going to try to soldier on with my camera work leaving time for later, but the problem is that I've already figured out most of the time synchronization issues this morning, and if I go back to the camera work, I have to figure that out, then when I come back to the time, figure the time out again. So the efficient solution for a single developer is to do time synchronization first, and put off the gratification of seeing the camera work.

Sigh.


By Robert Basler on 2011-01-14 17:21:54
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

I've been getting anxious about having a playable to show people. It is getting really close now, so this week I expected to be getting the code running to move the camera and synchronize it with the simulation server. But as I was getting that going, I was shocked to discover that a round trip from the client to the simulation server took

SEVEN AND A HALF SECONDS

Gack!


By Robert Basler on 2011-01-14 12:24:26
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
I never learned about C++ templates in school. I mostly learned Pascal. Then I went on to C and never really understood the need for templates when I started using C++ features. When I was working at EA, templates were effectively banned for game code, but I was encouraged to read programming books featuring templates which enabled me to finally understand their appeal. And it is strong.
By Robert Basler on 2010-12-05 11:01:43
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
When I went through school, I was taught that computer programs should recover gracefully from every possible error condition. That every function return should be checked, and that only through diligent use of nested error handling would reliable programs be built. As a result, the programs I have written have been largely error handling code, and not so much actual "do stuff" code.

I'm here to tell you, this is a complete waste of effort.

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)
Enabling NVidia GPUs on Optimus Laptops - 2014-12-03 02:31:40 (4 comments)
Looking for a Fast Square Root - 2012-03-29 11:19:56 (4 comments)
The Evolution of a Feature - 2017-08-28 11:47:49 (0 comments)
Return of The Fallen Release Notes - 2017-12-21 15:07:24 (0 comments)
What I CAN Tell You - 2017-10-08 15:00:08 (0 comments)
HUD Redesign - 2017-03-26 02:13:55 (0 comments)

Recent Comments

Bugs are Demoralizing - 2018-07-10 19:26:18 (2 comments)
I'm not a Dropbox user, but I'm guessing you mean "browser style" menus? Miranda's user interface is actually the Chrome browser. Sometimes that was a great decision, other days not so much. At some point I want to hire a graphic designer to do ...
Bugs are Demoralizing - 2018-07-10 11:49:52 (2 comments)
Hey man I've been following your blog for a while and I really admire your work.

Regarding the "unicorn" textures you should definitely check out texturehaven.com and freepbr.com. Of course the scale is wrong (as in not 40x40m) but maybe with some ...
Anniversary! - 2018-05-12 13:33:26 (4 comments)
Thanks for the feedback Dondergod, I don't think you are alone in that evaluation.

I have extensively considered F2P, but it doesn't foster the type of community and game experience I'm trying to build. It also brings a whole pile of design, ...
Anniversary! - 2018-05-12 04:52:16 (4 comments)
To be honest, it's the reason why I decided not to buy into the game.
While I really like the concept and even the gameplay from the test sessions that I've played, I've already looked at a lot of MMORTS, and they all have the same issue.

No one plays ...
Anniversary! - 2018-05-10 13:33:49 (4 comments)
Thank you. Hopefully people are a little happier with the visuals with the next update. After that, the plan is to work on getting more units into the game, adding more missions, and making The Fallen into a more formidable adversary.
|<      <<      21      22      23      24      25      26      27      (28)      29      30      >>      >|

  Admin Log In



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