Terry Pratchett’s Latest Books

December 15th, 2009

I just finished reading Thud! and Making Money by Terry Pratchett.  They’re both excellent books, and if you haven’t read any of his work you probably ought to.  It’s sort of that British-style Douglas-Adams-y thing, but applied to fantasy instead of sci-fi.

Thud! is about a racewar brewing between Trolls and Dwarves and the cops who are trying to prevent it. Making Money is the story of an ex-crook who is put in charge of a bank via inheriting the dog that owns it.  They both have plenty of comedy-meets-fantasy-parodies-reality to them.  All on a world riding on the back of a giant turtle, of course.

You could always start with The Colour of Magic at the beginning of the series, but you’ll soon reach some of the less-than-awesome books (like Eric). If you don’t start the beginning you’ll miss out on Rincewind the incompetent wizard, Death and his companion The Death of Rats, and some of the other great characters he hasn’t done too much with lately.  Most of the books are pretty standalone, so you could start anywhere.  If you’re considering reading Thud! I’d recommend Monstrous Regiment first, and for Making Money I’d recommend Going Postal first.  They’re not essential, but they develop the background of some of the characters a bit more so you get a bit better depth.

His books make good gifts for mudders and friends of mudders, so it’s something to keep in mind if you’re getting kind of last-minute on your holiday shopping.  They’re always in stock at pretty much every bookstore.

Building The Client On Linux

December 14th, 2009

It’s been 3 years since I’ve tried to build the client on Linux. I started building the client long before there ever was a Basternae 3 project, and since then plenty of files have been added and removed — for instance, we no longer use Xerces-C or SDL in the project.  I was using Ubuntu 6.06 then, and now I’m on 9.04.

After updating the old makefile, I found there were a few minor issues. Of course there was the expected forward/back slash in filenames and that’s an easy fix. There were two that were a bit of a surprise:

warning: cannot pass objects of non-POD type ‘class wxString’ through ‘...’; call will abort at runtime

error: no matching function for call to ‘wxRichTextCtrl::AddPendingEvent(wxCommandEvent)’
/usr/include/wx-2.8/wx/event.h:2400: note: candidates are: void wxEvtHandler::AddPendingEvent(wxEvent&)

The first one is because I was passing wxString arguments to the wxString::Format function.  Visual Studio was smart enough to convert those to the char* type that printf commands understand for %s, while GCC doesn’t make any assumptions and does what you tell it to rather than what you intend. Differences like that have been known to start religious wars.  Adding .c_str() to the arguments in a dozen places sorted that out for me.

The second one was a bit of a stumper, and the folks at the wxWidgets Discussion Forum helped me out. I’ve dealt with a lot of user communities for various APIs and toolkits, and the wxWidgets folks have always been the most helpful and knowledgeable.

I was able to get the client to build.  I was even able to get it to run.  I could almost even use it.  Here’s a screenshot:

Basternae Client on Linux Screenshot

The main problem with it is that the input window doesn’t actually work — you can type until you’re blue in the face but nothing ever gets sent to the MUD.  Strangely enough, if you program a hotkey and click that, the text goes across fine.  I was able to clumsily log in and fight something using that method.  I’m sure there’s some OS-specific stuff in the key handler for the input window, but that probably won’t be too daunting to figure out.

Now I’m going to have to learn how to create Debian (.deb) installer packages so I can distribute the thing.  I might also have to figure out how to do .rpm, but since I don’t run a Redhat/Fedora-based version that might be a little low on the priority list, especially since I’d have to set up VM just to build/deploy it.  I might be the only one who uses Linux that would connect to Basternae anyhow.

It would also probably not be too tough to get this working for MacOS and Solaris, but since there’s zero chance of me having a Mac to work with and the only people who run Solaris work at Sun Microsystems, those aren’t really a priority.

Zone Converter Works Better Now

December 13th, 2009

I solved a few issues with the zone converter and it handles some zones it couldn’t before, so I should be able to attach a few more soon.

First Release of the Basternae 3 Client (v0.11)

December 12th, 2009

You should be able to tell from the version number that it’s far from done yet.

I spent some time working on the status window, and it now appears to work more-or-less as intended:

Client status window screenshot.

There are a handful of issues I know about, and probably a good solid handful that I don’t know about, so feel free to report anything that is broken that you wouldn’t expect to be broken in a partially-done MUD client.

I’m also curious to know what this client would have to do for you to give up your current favorite MUD client, whether it be ZMud, WinTin, tintin++, or some other app.  I’ll throw one out there — before I’d be willing to use it as my main client it would have to support aliases, all those extra newlines that show up in the main window would have to go away, and room description formatting would have to be less wonky.

The cool thing about having our own client is that we’re no longer just restricted to 16 colors of ANSI text.  We could do 2-D graphics (i.e. the sample tiled map that shows when you first run the app — since we don’t have surface maps yet it won’t do anything, but hey..)  We could do any number of colors.  We could do anything we have the skills and motivation for.

I don’t at any point plan to make this client mandatory — you should always be able to play with Windows Telnet.  It’s just going to be there for those who want the “full experience”.  Tinker with it imagine some neat possibilities that I wouldn’t have thought of yet.

You can either click on the link in the sidebar (which will always have the most current version), or you can get it HERE.  There are no real instructions, but you’ll get the hang of it.  The other dialogs can be shown with the “View” menu.

Immortal ‘Set’ Commands Repaired

December 11th, 2009

One of the casualties of the codebase rewrite was the disabling of the immortal ’set’ command, which is pretty useful for administrative tinkering. It’s been repaired, so immortals are godlike once more. It doesn’t improve gameplay any, but it does help development.

Thank You To Drevarr, Nauraki, Sarim, Sarlac, and Thendar

December 10th, 2009

They’ve been nice enough to grant Basternae 3 the use of their zones.

I’ve also found out that the converter needs some work — there are a few special cases that it doesn’t handle and zone format variations that it doesn’t handle perfectly yet, so it will probably be a bit before all of the zones we can use are fully converted and attached.

Repairs For The Tell Command

December 9th, 2009

The tell command was rather broken. I fixed the broken parts that I knew about, so if there are any broken parts left in it, they’re ones I don’t know about.

Some Solid Client Progress

December 8th, 2009

Over the past two days I’ve made some good progress on the client.  It’s now working with colored text and functioning scrollback.  There was a bit of difficulty in figuring out how to post text from the network thread to the main window, but that’s been solved thanks to the helpful folks at the wxWidgets forums.

Client Screenshot

The equipment window works now, but the equipment names are not in color yet:

Equipment Window

The earlier screenshots of the client just had some placeholder text — now it actually processes your equipment list and displays it.

The hotkey (hot button) window also works — you right click to set a command and a hotkey name.  When you click the button the command is sent.

Hotkey Window

Hotkey Editing

The prompt processing and room info display still needs some work, but it’s coming along nicely.  I haven’t even started on the group info window yet.  I think it may be about three solid days away from being able to release a test version, but I can’t recall the last time I’ve been able to get in a “solid” day of development.  Usually it’s anywhere from one half to four hours at a time.

We’re On FindMUD Now

December 1st, 2009

Even though Bast3 will be in development for quite a long while, I added a listing to FindMUD.com.  Just trying to raise awareness and whatnot.

Who Command Repaired

November 28th, 2009

Some uses of the “who” command would lock up the MUD.  This appears to be fixed now.  Report any anomalies.