Giter Site home page Giter Site logo

planescape-mud / planescape_code Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 2.0 1.19 MB

Planescape MUD: server source code

License: Other

Makefile 0.30% Shell 0.11% Perl 0.12% C++ 93.42% C 5.98% M4 0.08%
mud mud-server plug-ins byliny-mud dreamland-mud circlemud

planescape_code's Introduction

Planescape MUD build instructions

Tested on Ubuntu 16.04.

If you want to build a ready-to-run image using docker, see these instructions.

Install packages

apt-get update
apt-get install -y gcc make automake libtool bison flex gcc-multilib g++-multilib git
dpkg --add-architecture i386
apt-get update
apt-get install -y libdb5.3++:i386 libdb5.3++-dev:i386 libdb5.3:i386 zlib1g-dev:i386

Create folder tree

Let's assume we're under /home/planescape:

git clone https://github.com/planescape-mud/planescape_world.git
git clone https://github.com/planescape-mud/planescape_code.git
mkdir runtime
mkdir objs
ln -s /home/planescape/planescape_world runtime/share
ln -s /home/planescape/planescape_world/world.mini runtime/share/world

Compile source code

cd planescape_code
make -f Makefile.git
cd ../objs
../planescape_code/configure --prefix=/home/planescape/runtime
make -j 4 && make install 

Start MUD

cd /home/planescape/runtime
./bin/planescape etc/planescape.xml &

Or, recommended:

./bin/autorun &

Autorun script will take care of restarting the server after a crash or a kill.

View log files

less var/log/syslog*

Changing a plugin

First, rebuild and reinstall the plugin you want to change. For example, you've just changed something in feniaroot plugin:

cd /home/planescape/objs/plug-ins/feniaroot
make -j 4 && make install

Tell the server to reload all plugins:

kill -s SIGUSR1 PID

Or from inside the game, type:

reload plugins

Tell the server to reload just changed plugins:

kill -s SIGUSR2 PID

Note: when running as ./bin/autorun, you can use cat /home/planescape/runtime/var/run/ps.pid instead of PID to get the server process ID.

Changing core code or libdreamland

First, rebuild and reinstall src or libdreamland. For example:

cd /home/planescape/objs/src
make -j 4 && make install

Then reboot:

kill -1 PID

or, from inside the game, type:

shutdown reboot

planescape_code's People

Contributors

gedooru avatar prool avatar ruffinakoza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

muderru prool

planescape_code's Issues

BUG: reset for items within containers

23Landgraf:
закрытые контейнеры так перезагружаются: если контейнер не в исходном состоянии (заперт/открыт), он перезагрузится
а баг вот в чем: если октрыть контейнер, взять вещь, а потом его закрыть, вещь в нем никогда не загрузится, пока его открытым не оставить

Fenia: add wrappers for quests

  • врапперы для функций add_quests, check_quest и get_quested
  • добавить возможность, чтобы из фени можно было добавлять сами квесты. Что-то типа
    add_quest(vnum, name, desk)

Fenia: enhance mobs and objs API

  • функция телепорта мобов : mob.teleport(room)
  • количество объектов в мире: .obj_proto_virtual(100).count
  • загрузка моба в руму : .mob_proto_virtual(6666).create().teleport(room)
  • purge моба : mob.extract()

Абуз монеток через создание

Проснувшись, Лориан встал и принялся отряхивать с себя солому.
553ж 125б 7092о Выходы:Ю>
Проснувшись, Ассарриэл встал и принялся отряхивать с себя солому.
553ж 125б 7092о Выходы:Ю>
Ассарриэл бросил 500 монет на землю.
553ж 125б 7092о Выходы:Ю>
Улегшись на ближайшую охапку соломы, Ассарриэл отошел ко сну.

через некоторое время идет
Тип перезагрузки : Системный сброс.
Время сервера : 04.12.2018 10:44.23
Игра запущена : 04.12.2018 10:33.29
Время работы : 0 суток, 0:10.54

потом соответственно откат

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.