Home | Code | Features
av4 logo

AnacroniA MUD

MUD Features


Av4 technical information

The MUD is written in the Perl programming language.
Perl is a highly-capable, feature-rich programming language with 23+ years of development, and a massive amount of plug-in modules on the CPAN.

Av4 is meant to be a "sandbox" MUD implementation, which allows a developer to simply download the code, install the various required Perl modules, and have an easy to develop and deploy Multi User Dungeon. It will also be used as the codebase behind the MUD "Anacronia".

Anacronia - as a MUD - had been online during the turn of the last century, and aimed to create an environment where a player would be able to find themselves in various "eras" at different times throughout the setting's history, from what would be a medieval setting, through a modern-age era, to a space-travel era. The codebase that Anacronia was running on was not malleable enough to provide this, so in time the MUD closed and various rewrites started: one in C++, and this one, the fourth in its history, in Perl. This should also be the last rewrite.

Av4 uses the following Perl modules in order to be concise, fast, and as extendable as possible. A profiler is used at various times during the development, to ensure these modules perform as well as they can. The architecture has already been changed from POE to AnyEvent because of this, for example.

Av4 Supported Protocols

Many MUDs nowadays use a number of Telnet options to enhance their users' experience. Examples include the "Telnet GA" sequence, sent after a MUD prompt, to signal the client that the user is able to enter a command, or "COMPRESS2" (also called "MCCP2") which allows the MUD to compress the game data, and save bandwidth.

Av4 supports the following telnet options:

Av4 is slowly starting to support the following telnet options:

Av4 used to support but will likely drop support for the following telnet options:

Command queue

Av4 uses a novel command queue parser, with weights and delaying. This allows a user to queue up commands and query their status via the commands command. Queued commands are executed by priority: this allows a user to query the command queue, as the command "commands" has quite a high priority. The queue is implemented so that a mage will be able to execute "meta" commands such as "help" or "stats" while memorizing a spell. It also paves the way for different queues "slots", which will allow a user to separately queue up offensive and defensive commands, and have them executed as soon as the related queue slot becomes free.

Server info:

The server is up, and down, as needed. You can connect to server.mud.it:5000 for a sneak peek.

My other pages

See The Darkpan for some Perl and Linux ranting

© perl -e 'print reverse map { chr( ord($_)-1 ) } split //, "\x0bnpd/mjbnhAjobuopg";'
Silk icon set used; No trees were killed in the creation of this website. However, many electrons were terribly inconvenienced.
Last modified 08:20:43 23-Dec-2010
GPG key at keyserver.ubuntu.com.