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
3
votes
1 answer

How to make .mak file?

I have src of the project that was created in 1999 (actually it's MUD SoG '99). There are file SOG.MAK, but I couldn't find any data about how to make this project. Could somebody give me a hint how to make it? The project's src link:…
Zura
  • 1,090
  • 2
  • 11
  • 16
3
votes
4 answers

Class variable within its definition?

This is probably a dumb question. I am trying to make a text-mud. I need each Room class to contain other Room classes that one can refer to when trying to move to them or get information from them. However, I can not do that because I obviously can…
Reznor
  • 1,235
  • 5
  • 14
  • 23
3
votes
6 answers

Telnet lib and language choice for cross OS telnet client?

I'm looking to start a MUD client application, which connects to a MUD hosted on a telnet server. The only thing important to me is that it runs painlessly and efficiently across any OS. Aside from that requirement, I'm not really sold on any…
Ray
  • 2,238
  • 1
  • 20
  • 21
3
votes
2 answers

How should I handle persistence in a Java MUD? OptimisticLockException handling

I'm re-implementing a old BBS MUD game in Java with permission from the original developers. Currently I'm using Java EE 6 with EJB Session facades for the game logic and JPA for the persistence. A big reason I picked session beans is JTA. I'm more…
Chase
  • 3,123
  • 1
  • 30
  • 35
3
votes
5 answers

Can you provide some advice on setting up my database?

I'm working on a MUD (Multi User Dungeon) in Python and am just now getting around to the point where I need to add some rooms, enemies, items, etc. I could hardcode all this in, but it seems like this is more of a job for a database. However, I've…
samoz
  • 56,849
  • 55
  • 141
  • 195
3
votes
2 answers

Is Java's NIO2 API a replacement for writing a single-threaded multiplexed server with NIO?

I'm learning how to use NIO to write a mud (I have not ruled out higher-level libraries, but I would like to learn the low-level operations as well). In my reading I've learned about NIO2. Since I'm using Java 7 for this project already I'm…
georgek
  • 877
  • 6
  • 11
2
votes
0 answers

Variable suddenly goes out of bounds after method call

So I have some really old C code from a MUD I run and I'm trying to get it to run after compiling with a 64-bit compiler instead of a 32-bit compiler. For reference, the current compiler I'm successfully using to compile is gcc 32 3.2.3 (which is…
2
votes
1 answer

Simple formula for adjusting price based on supply & demand

I'm designing a rpg/mud game with merchant NPCs and I want their prices to adjust dynamically based on supply & demand. What I have already figured out: I don't need a complex, "realistic" system but just a simple multiplier based on some…
user30932
2
votes
2 answers

What is the best way to manage text-based client-server connections?

I'm looking to write a small client-server-based text game that handles multiple client connections and persistently affects a game state. I'm wondering what the best way would be to handle multiple connects such that commands are processed in the…
Sam
  • 163
  • 1
  • 7
2
votes
3 answers

Concern over handling bad call to accept()

I'm writing a MUD server for personal learning purposes and I've, happily, managed to wrap up the socket stuff up into a couple of classes and everything appears to be working correctly; the server listens for and accepts connections and currently…
Chris Bond
  • 131
  • 1
  • 10
2
votes
1 answer

MUD Server and text based client

I have started to develop a simple MUD (text based multiplayer dungeon) where client uses only terminal to connect and play. However i approached it the different way, i want the player to be able to move around the rooms (x,y) and see the map of a…
PeeS
  • 1,164
  • 3
  • 20
  • 43
2
votes
1 answer

text adventure/interactive fiction in java

I decided to create an account in order to ask a question I cant seem to figure out myself, or by some googling, hopefully I didn't just overlook it. Essentially I am trying to make a text adventure game in Java, and am having a little trouble…
2
votes
1 answer

C++ Text-RPG Inventory system

I'm building text-rpg inventory system but I'm not really sure how to properly create equipable items. For example, I can equip item which is in player inventory but I cannot identify what kind of item that is(Sword, Shield, Gloves or something…
Karolis
  • 137
  • 4
  • 12
2
votes
1 answer

Constructing Key/Value Table in Lua

I'm trying to build a script for a MUD I play that will create a table to keep track of average xp for each mob. I'm having trouble with the syntax of checking whether an element in a table exists and if not creating it. I tried something like this…
Eli Bell
  • 227
  • 1
  • 9
2
votes
1 answer

asm volatile issue in C/C++ MUD code

I'm working on an old MUD codebase with a friend just as a hobby project, but I'm having issues getting the code to compile in any OS other than debian (x386 specifically). The issue is (mostly) because of a few asm lines that I honestly don't…
Paul McDowell
  • 154
  • 1
  • 10