Saturday, May 13, 2006

Someone Connected!

My first forray into hosting an on-line game has officially happened, and it, er, didn't go too well. Due to a small bug in my MUD server, it got stuck in a loop waiting for something to be received, even when something had been recieved.

(Basically, it was looping round while the bytesAvailable() function returned zero. Unfortunately, if the user had already typed in their commands, they would sit there waiting for the program to respond. Which it never would.)

Oh well, it's just the start. Needless to say I've corrected the problem and it's all now up and running. Telnet to on port 4000 if you like Grand Theft Auto!

I've spent the remaining time adding content. I think another problem with MUD's is that the content isn't reactive. I want to make everything in this game reactive, from the NPC's reacting to other characters actions, to locations being affected by the time of day. This is no small job, as it means everything must be able to react to everything else. Call the exponential police...

No comments: