Success with networking

April 30, 2010 in Advice/Tools, Networking

As I mentioned in my last post, I first thought that OpenRPG would be the tool that I would use to run my online D&D game, but then discovered Gametable, which I absolutely loved.  The only problem with Gametable is that I couldn’t connect my wife Barbara’s computer to mine with it, which I could easily do with OpenRPG.

Fortunately, one of the players in the game, Zach, is a computer pro and was able to help me set things up so that I could host a game that both Zach and Barbara could connect to.  (We can presumably connect more people, too, though we haven’t tried yet.)  Let me share my new knowledge with you.

First, I’ll say a few words about connecting to your players via OpenRPG (since I never addressed this in my earlier posts).  In this program, you start by connecting to one of the servers out there for OpenRPG (you could also run your own server, but that’s beyond my needs).

OpenRPG Server Menu

To start networking, go to Game Server - Browse Servers

One you’re browsing the servers, you’ll want to pick one and join its Lobby. I’ve tried creating a room before joining a lobby, but for some reason it didn’t seem to work properly.

OpenRPG Join a Lobby

Double click a server on the left, then click on the Lobby on the right

Once you’re in a server’s lobby, you can create the room for your game at the bottom right corner of this window.  Give it a name, and then a password if you wish (this keeps other people from taking over the room, though I’m not sure I’d be too worried about that) and an admin password – then click Create Room.

After that, you need to tell your players what server you’re on and what room you’re in (and the room password, if you’ve assigned one).  They’ll need to go to the Lobby, then click on your room and “Join Room.”  They’ll show up on the Player List in your room, and you can right click on their names to assign them the role of Player, which will let them interact with their minis.  By default they will be Lurkers, who can’t affect the game.  Only the GM (the person who started the room, or anyone who is assigned the GM role) can do things like changing the background to bring up the next map.

So, connecting to other players via OpenRPG is easy.  With Gametable, it could be a little bit harder.  I’ll lay out my experience, though yours may vary depending on your setup.  I’m using a Dell laptop running Windows XP.  Barbara has a Dell desktop, also running XP.  We have cable internet service, which comes out of the wall and into our cable modem, then into a Netgear wireless router.  From there, an Ethernet cable connects to Barbara’s computer, while my laptop connects to our secured network wirelessly.

The reason I go into all of this detail is that I had to mess with some settings to make everything work properly.  First, let me explain the steps within Gametable to start an online game.  If you’re hosting, start by going to the Network menu and selecting Host.

Gametable Network Menu

To host a game, go to Network, then Host.

From here, you’ll be prompted to enter your name, your character’s name, a password (entirely optional – I don’t think I’ll bother) and a port (I use the default of 6812).

Gametable Host MenuEasy enough.  For your players to connect to your game once you’re hosting it, they’ll go to the Network menu and choose Join, where they’ll be prompted with this screen:

Gametable Join MenuYes, it’s the same as the Host screen, except it’s asking for the host address.  As the host, you’ll have to tell your players what your IP address is.  The simplest way to find this is by going to http://whatismyipaddress.com/ (pretty obvious, I know).  It’s entirely possible that this is all that you’ll need – your players will enter the IP address you tell them, they’ll join your game, and you’re off and running.

I had two issues to deal with.  First, and I’m not absolutely certain that I had to do this but I thought I should mention it, I opened port 6812 in the Windows Firewall.  This involved going to the Control Panel, opening Windows Firewall, clicking the Exceptions tab, then the Add Port button.  I named the new port Gametable and had it open port 6812.  Maybe that port was already open, maybe not, but it definitely is now.

Firewall SettingsNext, I had to mess with some settings on my router.  This may not apply to most of you, but in my case I had two router issues to deal with.  First, since there are multiple devices on this IP address (including my computer and Barbara’s computer), I had to make sure that anyone connecting to this IP address would be routed to my computer.  Second, I needed to figure out how to have Barbara’s computer connect to mine, since they have the same external IP address.

I’ll take the second issue first, since it helped me address the first one.  It turns out that my computer has both an external IP address and an internal IP address.  The external IP address is the one other computers on the internet would use to connect to me, while the internal IP address is what the router assigns to my particular computer among the devices in the house.  To get the internal IP address, I went to the Run menu in Windows and typed cmd to bring up a command prompt (ah, the good old days of DOS – such memories).  From that prompt, I typed ipconfig.  This brought up information showing me, among other things, my internal IP address.

Running IPConfig

The steps I used to get to my internal IP address - click to enlarge

Now that I know my internal IP address (192.168.1.5), I could enter this into Barbara’s Gametable program to connect to my computer – success!

In order to get computers on the internet to connect to my computer, I needed to set things up so that anyone connecting to my external IP address would be forwarded to my computer and not Barbara’s, which meant that I needed to change some router settings.  To get to the router settings, I went to 192.168.1.1 in my browser and entered my login and password information for the router (I’m very glad that I remembered to write this down when I set up the router!).  From the main router settings menu, I clicked on “Port Forwarding / Port Triggering.”  On the next screen, I clicked Add Custom Service, then set things up for Gametable with the appropriate port (6812) and internal IP address to forward that port to (192.168.1.5).  Voila!

Router SettingsThis might sound like a lot of effort, but honestly, once I knew what I needed to do it hardly took any time at all.  And the upshot is that now I can use Gametable to host games!

Since it looks like I’ll  be abandoning OpenRPG before I even got a chance to really use it (which, I’ll admit, makes me feel a little bit sad somehow), I’ll shift to talking more about Gametable in future posts.  It’s extremely user friendly, so I doubt if I’ll need as much detail on the basics as I provided for OpenRPG.  My friend Zach, who helped me with the networking issues, got a chance to try out Gametable and seemed impressed.  I think this is going to be a winner!

Program promiscuity

April 29, 2010 in Advice/Tools

No sooner did I finish my first detailed post about OpenRPG than I discovered some more awesome, free tools for playing D&D online.  I’m still not sure which tools I plan to use yet, but I thought I would share some information about what I’ve found.  I should point out that I discovered these tools by browsing some blogs at the amazing RPG Bloggers site.  If I end up making this blog a long-term project, I’d definitely like to be a member of that group!

The first new program I discovered is Gametable.  This program basically has the map and dice roller tools of OpenRPG, except better.  With OpenRPG, as far as I’ve been able to tell, you have to do all of your map prep work before you play – you have to have the background images properly formatted with all of your grid lines in place, with the file loaded onto a public web site, etc.

Gametable goes in another, much more flexible direction.  When you open up Gametable, the map takes up most of the screen, and by default it looks like the tan-colored battle maps that those of us who play D&D with pen and paper are used to (though you can change the color).  The coolest part is that you can easily draw maps on the fly, just as you would around a real table.  The program has basic tools for drawing lines and bringing in walls, plus pre-made areas that you can just drag onto the board and run with.  It has pre-made battle features like rocks and trees and pits that you can just drag onto the screen, and they look great.  It also comes pre-loaded with a bunch of “pogs” or minis of various sizes.  Super-simple, with no setup required.  You could have your players log in and start with a blank board, and then you could draw the battle map on the fly, just as you would on a real battle mat.  Outstanding!

Gametable example

An example Gametable session, which took maybe 5 minutes to assemble

I’ve discovered only one quibble with Gametable so far – connecting to other players has been harder for me than it was with OpenRPG.  With OpenRPG, you browse for available servers (of which there are plenty), create a room for your game, and then have your players go to that same room from their computers.  With Gametable, you’re hosting the game directly on your computer, which means that other players have to enter your IP address to connect.  This might be easy in most cases, but my only test computer is also here in the house, running off the same router – which means it has the same IP address.  I haven’t been able to connect two computers yet – but I won’t give up!  This program just looks so good and seems so easy to use, I can’t give up on it without giving it a good chance.

The second amazing program I discovered is not actually a program to PLAY D&D online, but it’s a fantastic program for a DM to build their game and run it in the background.  It’s called Masterplan.  While OpenRPG and Gametable are flexible map programs for playing any RPG, Masterplan is a Dungeons and Dragons fourth edition tool, period.  First off, the game is fully integrated with other official Wizards of the Coast D&D tools.  When you open it up for the first time, it asks you if you have a D&D Insider (D&DI) subscription (I’m glad that I do!), and if you log in to D&DI it will then download all of the monsters and items that are in the D&D Compendium.  For me, that was a little over 9,600 items, which took about 20 minutes to download.  Unlike OpenRPG or Gametable, Masterplan comes with a fantastic, detailed user manual with tons of screenshots and examples.  It also has some pre-made adventures, which are great for seeing the program in action.

Basically, Masterplan lets you plan adventures.  It centers around a flowchart view of plot points for your campaign.  For instance, you might start with a simple “you all meet in a tavern” plot point, which could lead to either of two different paths depending on what the characters decide to do.  The next step on each path might be a combat encounter.  Masterplan lets you build the map for that encounter using slick Dungeon Tiles that look very cool.  It lets you add whatever enemies you think make sense – or it can help you autobuild a set of enemies to provide whatever level of challenge you want, given the party that will be playing it.  You can import your players’ character files straight out of Character Builder so that Masterplan will know what level the party is, what powers they have, their defenses, their hit points, etc.  Every monster in any published D&D 4e book is here, with easy additions of your custom monsters from Adventure Tools.  You can run the battle within the program, rolling initiative, keeping track of hit points, even tracking ongoing conditions with prompts for end of turn saves.  I’m absolutely blown away.

Masterplan example

A Masterplan screen shot, with a battle running in the foreground and the rest of the features in the background

So, what will I be using?  Well, I haven’t decided yet.  I’m almost certain that I’ll be using Masterplan at some point, certainly whenever I start making my own adventures.  Since I’m running pre-published adventures for now, though, I don’t know that I want to go to the trouble of recreating them within Masterplan.  However, I do think it’s possible that I might make some maps in Masterplan (which, as I said, look awesome) and resize them to a 60-pixel grid to serve as a background within OpenRPG.  If my games end up more free-form, though, I think I’ll have to go with Gametable (assuming I can solve the connectivity issues) just so I can draw maps on the fly.

What do you think?  Do you have any experience with any of these programs?  I’d love to get advice from someone who has used them!

OpenRPG – installation and map basics

April 29, 2010 in Advice/Tools, Maps, Minis

When my friends first told me that they were interested in continuing the D&D game that we had begun at a wedding in Florida by playing the game online, we needed to figure out how to make this work.  One of my friends pointed me toward OpenRPG – a free program that creates a virtual tabletop for everyone to “sit” around, see the battle map, chat and roll dice.  Now the trick was figuring out how to make it work.

I’ll begin by noting that I am running OpenRPG on my Dell laptop, which uses Windows XP.  It’s a machine that I bought around 2005, so it certainly doesn’t have the latest bells and whistles, but it has no problem at all running OpenRPG.

You can download OpenRPG at this link.  As I write this, the latest version is 1.8.  The download is somewhat more involved than a typical internet download, in that it start by installing Python (the programming language in which OpenRPG is written) onto your computer.  When you run the program, you will see that it will run in two separate windows – one DOS prompt window for Python and then the OpenRPG program window itself (see below).

Note the main OpenRPG screen (the background) and the DOS window (foreground)

Note the main OpenRPG screen (the background) and the DOS window (foreground)

There is an online user manual for OpenRPG which does have some useful features, but what I’ll present below are the basics for my use of OpenRPG.  These include some lessons that I had to learn via trial and error.  I’ll note right now that I’m only focusing on the map for now.  The chat window and the dice roller will be addressed later.  As for such things as character sheets, I don’t plan to use them in my game for the time being.

The map is the real power tool of OpenRPG and what makes it worthwhile for online role playing games.  You’ll note that the map has six tabs beneath it, and you’ll want to ultimately use all of these to set up your virtual tabletop for your game.

  • Background: This is where you set up what you would generally think of as “the map” – the walls of your dungeon, the trees in your field, the various features of the area where your player characters (PCs) will do battle.
  • Grid: This is where you specify the size of the underlying grid of the map and what it will look like to your players.
  • Miniatures: Here’s where you put the virtual equivalent of miniature figurines (which I’ll still call “minis” in this blog) onto the battlefield, representing PCs, NPCs (non-player characters) and monsters.
  • Whiteboard: This lets you write on the map on the fly – I’m not very experienced with this yet.
  • Fog: This lets you hide and then reveal parts of the map as your players explore
  • General: Set the size of the overall map itself (in pixels), or reset the map to its default settings.

I’d suggest starting with the Grid tab and going from there.  While your game may vary, I’m playing Dungeons and Dragons fourth edition, and I use a square-grid map with minis that (assuming they’re Medium-sized) will only occupy one square at a time.  This means that I use a Rectangular rather than Hexagonal or Isometric grid, and I use the Snap option (which makes each mini be in one square or another, not spread across squares).  I also do like to see the grid clearly, so I use Solid Lines rather than Dotted Lines or No Lines, and I like them colored black (but feel free to use gray or whatever makes sense for your grid).  Finally, I like the grid boxes to be 60 pixels by 60 pixels.  This will give you boxes that are big enough to see the minis in them clearly.  Now, that takes up a lot of space if you have a sprawling battle map, so you’ll probably need to scroll around the map when you’re playing (or zoom out).  Personally, I think that’s no big deal.

My OpenRPG grid settings

These are the settings that I use for my grid in OpenRPG

Next up: Background.  This is where the action really is.  The background is where you draw the walls of your cavern, the stairs that your characters can use, terrain features, buildings, doors, etc.  That is, everything you would draw yourself on an erasable battle map or build with Dungeon Tiles.  In order to do this, you need to develop your skills of an artist.

I freely admit that I’m a lousy artist.  I was a great student in school, but not so much in art class.  However, I LOVE gaming, and I’ve found inspiration to do some art for online DMing.  Still, I’m keeping my map background art very simple for now.  If you’re playing around on your desktop (not connected to a server for playing with other players online), you can load up an image file to use as your background by choosing “Image” from the dropdown menu on the Background tab, then clicking Browse and selecting the image file you want to use.  However, if you want to use the image for online games, you’ll need to get that image file onto the internet somewhere so that your players can access it, too, and then enter its URL into the Background tab.  I’m going to be using my blog for hosting my files, but something like Photobucket or Picasa should work just fine, too.  And if you want to use any of the background images that are on my blog, feel free to link to them in your game!

So, how do you go about creating a good background?  Well, I’ve decided to start with the grid.  I wanted a blank image file with a grid of 60 by 60 pixel squares on it (to match the actual grid in the game), and then I would fill in squares that are walls and leave blank the squares that are floors.  Building the 60-pixel grid image file was surprisingly a pain, but I managed it – and now you don’t have to!  Feel free to start with the grids below.  One of them is 16 squares by 16 squares (not all that big, but probably enough for a single encounter area) and one is 32 by 32 squares (much more useful for putting together something like an entire floor of a dungeon, perhaps, or at least a big chunk of one).  Make sure you click on the grid you want to pull up the full-size version of the file.

Map grid - 16 by 16 squares, 60 pixels each

Map grid - 16 by 16 squares, 60 pixels each

Map Grid - 32 by 32 squares, 60 pixels each

Map Grid - 32 by 32 squares, 60 pixels each

Once you have this grid, you can start filling in squares using something as simple as MS Paint and the paint bucket tool, then save a new version that’s an actual map.  From there, you can add fancier art as you wish – though I freely admit I haven’t done this yet!  It’s all black and white, square walls, featureless corridors, etc.  Better art will come over time!  Below is an example of a grid that has a room roughed in, just to give you an example of what this might look like.  I’ll share actual rooms that I put together as I assemble them over time.

Rough room map

An example of the small grid with a simple room roughed in with gray walls.

Since we’re talking about the background, we should go to the General tab.  There are really two main functions here.  First, we have the Default Map button, which clears away anything you’ve added (backgrounds, grid changes, minis, fog) and lets you start from scratch.  Second, you can set the size of the map.  If you use the 16 by 16 square map, the size will be 961 by 961 pixels.  If you use the big 32 by 32 square map, the size will be 1921 by 1921 pixels.

You’ll note from the image below that I’ve set the map size appropriately for the large grid, and I’ve scrolled to the bottom right corner of the map.  However, you’ll note that while the grid’s background color is white (from the image file), there’s a green border around the edges of the map.

OpenRPG - General Map Settings

These are the General map settings for the large grid. Note the green border along the right and bottom sides of the map.

If you want that green edging to go away, go to the Background tab, select Color from the dropdown menu, click the Color button and pick the color you want.  That will change the color of the Color button itself.  To actually put it into place on the map, you then click the Apply button.

OpenRPG - Background Color

Setting the background color to white, with the necessary dropdowns and buttons circled.

All that remains for me to talk about today is minis.  To create a mini from scratch using MS Paint, I suggest starting with a file that is the right size and filling it in.  Assuming you’re using a 60-pixel grid, I recommend creating minis that are 58 by 58 pixels.  That way, they fit inside the grid squares and do not cover up the borders of the squares.  To do this, go to the Image menu in Paint, then select Attributes, then set the size you want, in pixels.

From here, you’ll be left with a tiny little box to draw in.  I highly recommend zooming in for more accuracy (View – Zoom).  This is the procedure I used to create my first mini – Stick Mini.

Stick Mini

Stick Mini - little, but mighty!

Now, if you’re not a great Paint artist and you want some better-looking minis, the simplest thing to do is to find an image that you like online (assuming that the owner of the image is okay with you using it), copy it to Paint, crop it as you see fit, get it into a square size, and the resize it to 58 by 58 pixels.

Let’s say that you find an image of a kobold that you like.  For instance, I found the image below at a blog called Dice Monkey.

In his current form, this kobold has two problems that keep him from being a good mini: He’s too tall (not a square) and he’s too big (not a mini).  The image dimensions are 240 pixels wide by 327 pixels tall.  To solve the first problem, I grabbed the top of his spear and shifted it down closer to his hand, and I moved the image around until he was at the top of the box.  I then cropped the image (Image – Attributes) to 240 by 240 pixels, leaving me with the picture below.

Short KoboldNow he’s 240 by 240, but I want him to be 58 by 58.  Some math reveals that 58 divided by 240 equals about 24%, so I want to resize the image so that it’s 24% as tall and 24% as wide as it currently is.  To do this, I go to Image – Stretch/Skew and enter 24 for both Vertical and Horizontal.

Kobold resizing

After resizing, I’m left with my finished kobold mini:

Kobold mini

My finished kobold mini, in all of his 58 by 58 pixel glory

You can use the same process to create minis for other monsters, NPCs and even player characters.  However, if you have players who like to get involved with their characters, I highly recommend asking them to create their own minis and sending them to you for use in the game.  It’s way more fun for them to control a character that they created, after all!

That wraps up the map basics.  In future posts, I’ll talk more about the fog of war, creating more detailed backgrounds and more minis, and how to actually USE the stuff you’ve created.  As always, comments are highly encouraged!

My (very brief) history of Dungeon Mastering

April 28, 2010 in Background

My name is Michael, and I am a beginning Dungeon Master (DM) for Dungeons and Dragons, fourth edition (D&D 4e).  This blog will serve three purposes:

  • Chronicle my development as a DM, with a focus on the online aspects
  • Share my thoughts about how to be a better DM
  • Host my files for use in my online D&D games

First, some background.  I became interested in Dungeons and Dragons while in college around 2000, and I briefly played the game with my wife Barbara and some of our acquaintances. We were excited about the game, and I read all of the third edition rulebooks.  However, when it actually came time to play, we had a lousy time, largely because the people we were playing with were doing things like fudging their dice rolls.  “Cheating” at a game like D&D doesn’t make any sense to me – it’s not like you can “win” or anything.  So, that didn’t last long.

Fast forward to 2010, when my friend Nate talked about his and his wife’s adventures in D&D and offered to host a game.  Nate is a first time DM but a long-time gamer and professional game designer, so he’s a great dungeon master.  We’re having a blast with our campaign, even though we’ve barely gotten to level 2 with our characters.

I knew right from the start that, while I love playing as a player character (PC), I would also love DMing.  Strangely enough, I got my chance at a wedding.  One of our college friends was getting married in Florida (we live in Colorado), and since the wedding was at 10:00 AM, we had lots of free time in the evening to hang out with the bride and groom and some of our other friends.  I had brought the Dungeon Master’s Guide 2 with me (reading it for fun), and one of my friends noticed and asked about it.  Soon, he had rolled up a character, and the rest of the gang joined in.  We started playing a pre-made adventure right there in the hotel room, despite the lack of a printer, a battle grid, minis or anything else – and we had fun!  My friends asked if we could keep it going online, and that’s where things stand today.

That’s enough background for one post. I hope to share my thoughts and learnings about being a good DM, especially for an online game, with anyone who is interested.  I’ll be using a program called OpenRPG to host the game and probably Skype for audio chat.  Let me know if you have any suggestions or comments, either advice for me or things you would like to see me address.