Questions tagged [mud]

MUDs (historically Multi-User Dungeon, with later variants including Multi-User Dimension and Multi-User Domain) are a broad category of multi-user virtual world systems -- usually text-based, usually games, usually accessed via the Telnet protocol, and usually free. They date to Roy Trubshaw and Richard Bartle's creation of MUD1 in 1978, and are the direct predecessor genre to the MMORPG.

The MUD genre peaked in popularity in the 1990s with the spread of the four major MUD codebase families: AberMUD, TinyMUD, LPMud, and DikuMUD. All of these codebases, though open-source, were created with non-free, anti-commercial licensing, which guaranteed the availability of free games in the short term but hobbled the evolution of the genre in the long term. MUDs had the greatest relevance when they were essentially the only game in town if you wanted multiplayer persistent-world online RPGs; once MMORPGs (originally referred to as "graphical MUDs") came on the scene in the late 1990s, MUDs were quickly eclipsed culturally and suffered considerable shrinkage of their market, which has never recovered to its mid-1990s levels.

Despite these setbacks, a number of significant MUDs continue to operate, even including Trubshaw and Bartle's original MUD1 and the first LPMud, Genesis. New MUDs continue to open as well, though it is notoriously harder for them to attract attention and a workable player base than in earlier days. The genre is also worth noting for the tremendous amount of innovation and exploration of the virtual world problem space that it has produced; it's not for nothing that Bartle's Designing Virtual Worlds, a volume based largely on experience with MUDs, is called "the bible of MMORPG development", and many luminaries of MMORPG creation, like Raph Koster and Brad McQuaid, began as MUD developers.

83 questions
19
votes
4 answers

How should I architect my (mostly) text-based game server?

Think MUDs/MUCKs but maybe with avatars or locale illustrations. My language of choice is ruby. I need to handle multiple persistent connections with data being asynchronously transferred between the server and its various clients. A single…
Max Cantor
  • 8,229
  • 7
  • 45
  • 59
16
votes
8 answers

Java concatenate to build string or format

I'm writing a MUD (text based game) at the moment using java. One of the major aspects of a MUD is formatting strings and sending it back to the user. How would this best be accomplished? Say I wanted to send the following string: You say to…
two13
  • 345
  • 1
  • 3
  • 11
11
votes
1 answer

Clojure best way to achieve multiple threads?

I am working on a MUD client written in Clojure. Right now, I need two different threads. One which receives input from the user and sends it out to the MUD (via a simple Socket), and one that reads and displays output from the MUD, to the…
Timothy McDowell
  • 237
  • 2
  • 10
10
votes
7 answers

Does anyone have any useful resources to share or tips to offer for developing a MUD?

As a hobby project I am trying to create a ROM (Diku-Merc based) derivative. (Now defunct) I would appreciate it if anybody has done something similar and has some useful resources to share or tips to offer. I'm finding that a lot the resources such…
vinc456
  • 2,862
  • 5
  • 23
  • 30
10
votes
2 answers

Grab user input asynchronously and pass to an Event loop in python

I am building a single player MUD, which is basically a text-based combat game. It is not networked. I don't understand how to gather user commands and pass them into my event loop asynchronously. The player needs to be able to enter commands at any…
msystems
  • 101
  • 1
  • 1
  • 4
9
votes
6 answers

Custom programming language: how?

Hopefully this question won't be too convoluted or vague. I know what I want in my head, so fingers crossed I can get this across in text. I'm looking for a language with a syntax of my own specification, so I assume I will need to create one…
9
votes
2 answers

MUD Programming questions

I used to play a MUD based on the Smaug Codebase. It was highly customized, but was the same at the core. I have the source code for this MUD, and am interested in writing my own (Just for a fun project). I've got some questions though, mostly…
Mike Trpcic
  • 25,305
  • 8
  • 78
  • 114
9
votes
2 answers

Python -- time.sleep() offset by code duration

I have a function that runs a tick() for all players and objects within my game server. I do this by looping through a set every .1 seconds. I need it to be a solid .1. Lots of timing and math depends on this pause being as exact as possible to .1…
jtsmith1287
  • 1,110
  • 2
  • 13
  • 24
7
votes
3 answers

How to implement simple tick-based engine in c++?

I'm writing a text game and I need a simple combat system, like in MUDs, you issue commands, and once in a while "tick" happens, when all those commands execute, player and monsters deal damage, all kinds of different stuff happens. How do I…
Dvole
  • 5,725
  • 10
  • 54
  • 87
6
votes
3 answers

Python Drawing ASCII Map

I need to have a 2 radius map drawn off the player's current room in a MUD I'm building in python (or more, if possible). Rooms are set up as containers with a self.exits = {'west':1, 'north':2} where the key is the direction that the value (UID of…
jtsmith1287
  • 1,110
  • 2
  • 13
  • 24
4
votes
4 answers

Drawing mud map

I'm trying to draw map of some mud. I have used python and graphviz to get something like: http://img23.imageshack.us/img23/5222/arrasz.png As you can see we have some locations and going N/S/W/E/Up/Down we are going to other location. Is it…
Adam
  • 2,254
  • 3
  • 24
  • 42
4
votes
3 answers

MUD Programming language

I have been playing a MUD game now off and on for over a year. I have scoured the internet looking for the best computer language to learn to develop my own. So far, I have come up with nothing but C. Is C the best language to learn for this…
tnbrewer83
  • 43
  • 1
  • 3
4
votes
7 answers

MUD (game) design concept question about timed events

I'm trying my hand at building a MUD (multiplayer interactive-fiction game) I'm in the design/conceptualizing phase and I've run into a problem that I can't come up with a solution for. I'm hoping some more experienced programmers will have some…
mudder
  • 167
  • 2
  • 9
3
votes
1 answer

Listening socket connecting without accept being called on Linux

I am running code on Ubuntu Linux it is supposed to use a Set and select to check when a listening socket has activity (ie someone trying to connect) and let them connect, the trouble is select ALLWAYS returns 0, and when I try to connect it just…
KatGaea
  • 996
  • 1
  • 12
  • 31
3
votes
1 answer

sendLine Won't Send integers (Twisted Python)

I'm writing a MUD in Python using the Twisted library. I'm currently trying to send a integer through the sendLine method via to the LineReceiver module. However, whenever I try sending a integer I get the below error message while running my…
Noah R
  • 5,287
  • 21
  • 56
  • 75
1
2 3 4 5 6