Skip to content

Latest commit

 

History

History
79 lines (63 loc) · 2.8 KB

README.en.md

File metadata and controls

79 lines (63 loc) · 2.8 KB

DreamLand MUD developer instructions

Русский | English


Stand With Ukraine DreamLand MUD version License Build Status Discord chat

Tested on clean Ubuntu 18.04/20.04 and gcc-9. You can either follow these instructions and create a local build environment, or build a ready-to-use Docker container, as described in dreamland_docker README file.

(optional) Install gcc-9 compiler

For Ubuntu 18.04 environments that have gcc-7 by default use the following steps to upgrade the compiler to version 9.3:

add-apt-repository ppa:ubuntu-toolchain-r/test
apt update
apt install gcc-9 g++-9

After that you can either add export CXX=g++-9 to your bash profile, or make this a default compiler on the system:

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9

Install build and dev tools

sudo apt-get update
sudo apt-get install -y git g++ gcc make automake libtool bison flex gdb telnet db-util
sudo apt-get install -y locales && locale-gen uk_UA && update-locale

Install dependency libraries

sudo apt-get install -y libcrypto++-dev libjsoncpp-dev libdb5.3 libdb5.3-dev libdb5.3++ libdb5.3++-dev zlib1g zlib1g-dev libssl-dev libfl-dev

Download and build server code

git clone https://github.com/dreamland-mud/dreamland_code.git
cd dreamland_code
make -f Makefile.git
mkdir ../objs && cd ../objs
../dreamland_code/configure --prefix=/path/to/runtime
make -j 8 && make install

Download configuration and areas

cd /path/to/runtime
git clone https://github.com/dreamland-mud/dreamland_world.git share/DL
git clone https://github.com/dreamland-mud/dreamland_fenia_public.git share/DL/fenia/public

Start the game

cd /path/to/runtime
./bin/dreamland etc/dreamland.xml &

View logs

Logs are available under /path/to/runtime/var/log.

Accessing the game

telnet localhost 9127

user: Cadmus password: KadmKadm

This player is configured to have Russian skills/names/commands turned off in output, and is placed in room 31001 with English descriptions.