Giter Site home page Giter Site logo

ryanfantus / rpgd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theflyingape/rpgd

0.0 0.0 0.0 2.64 MB

Role-Playing Game Daemon for Linux, formerly known as Amiga Hack & Slash

Home Page: http://robert.hurst-ri.us/games/rpgd/

License: GNU General Public License v3.0

Makefile 5.46% Shell 28.29% C 24.96% M4 0.02% Roff 41.27%

rpgd's Introduction

1.  ./autogen.sh
    ./configure
    make
    make install

2.  Make certain you have the file, rpgd.conf, in the directory /etc.  There
    is a sample rpgd.conf in the rpgd/etc that has in it:

HOME=/usr/local/rpgd
GROUP=nobody
USER=nobody
#DEV=/dev/ttyS1
#ROWS=4
#COLS=20

HOME, GROUP, and USER are required for rpgd to run.  rpgd must run as 'root',
but will change its current work directory to HOME, and its user and group id
to whatever is specified (nobody).

DEV, ROWS, and COLS are optional parameters to use to dump user logoff 
statistics to, i.e., to a serial video display in your server.  The # is
used to comment out this feature.

3.  Make certain rpgd is running.  It should install a line in your server's
    /etc/inittab, like the following:

# Run rpgd
rpgd:35:respawn:/usr/local/bin/rpgd -d

You might have to issue a 'telinit q' at the root console prompt to inform
init that its configuration file has been changed and needs to be re-read.

    For init hosts, copy init/rpgd.conf to /etc/init

    For systemd hosts, copy etc/rpgd.service to
    /etc/systemd/system/multi-user.target.wants

Check for rpgd by typing:

ps auxw | grep rpg

You can check its log:

cat log/rpgd.log

It should start with:
rpgd v2.5.7
(C)1999-2014 Robert Hurst
All Rights Reserved.


4.  Run the rpgclient program or use the 'hack' convenience script.
    If you get a 'connection refused' error message, that means rpgd is NOT
    running.

5.  Connecting remotely with the Windows RPGCLIENT.exe program.  By default,
    rpgclient is on port #7000 and is inserted in your /etc/services file:

grep rpg /etc/services

rpgclient       7000/tcp                        # RPGclient

If that line is not in there, you cannot connect remotely.

By default, an /etc/xinetd.d/rpgclient service script is created:

cat /etc/xinetd.d/rpgclient

# default: off
# description: The RPGD client allows remote users to login to play
#              Hack & Slash.
service rpgclient
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/local/bin/rpgclient
        log_on_success          += USERID
        log_on_failure          += USERID
}

You might have to restart the xinetd service, such as:

service xinetd restart

6.  Make certain your firewall allows port #7000 to come in.

7.  Make certain that the rpgd binaries are installed in a directory that is
    part of the root's path, i.e., /usr/local/bin

echo $PATH

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/j2sdk1.4.1/bin:/usr/local/Sophos/bin:/root/bin


Happy Hunting!

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.