Welcome to the Builder Academy

Question Running on Raspberry Pi2 and learning some BASIC Linux

More
12 May 2015 13:41 #5300 by criz
Hi all,

I came to this website from the Raspberry Pi website board post about running a MUD on the Raspberry Pi. I used to play on a CircleMUD back in 1995 called EliteMUD, so I really like that someone was still working with the old CircleMUD code and updating it, and I figured I'd try it out, if only to reminisce about the old MUD and show my kids how it worked.

I'm a complete Linux newbie so you'll have to forgive if I'm missing something basic.

So far I have:

- logged in as pi
- downloaded the 3.66 zip file into the home/pi directory
- changed to a SU shell: sudo -s
- unzipped the file
- gone into the new tba directory and run ./configure (which seemed fine)
- done the cd src; make and read and accepted the terms
- watched the compiler do its thing after accepting the terms
- gone back up a level to the main directory
- entered ./autorun &

So at this point, I get a session number pop up, something like: [1234]

and then nothing else happens, and I get a CRASH log that has a lot of "file not found" error messages in it.

If I got into bin and ./circle the third line is a FATAL error data directory not found or something along those lines.

I have a feeling I'm missing a fundamental step. Any ideas?

Much appreciated,

Regards,
Criz.

Please Log in or Create an account to join the conversation.

More
12 May 2015 20:11 #5301 by Rumble
You are doing everything right. Instead of using "./autron &" try "bin/circle" so you can see the bootup sequence and help determine exactly where it is crashing (this should also be in the syslog.CRASH file). Cut and paste your results and we can work from there.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com
The following user(s) said Thank You: criz

Please Log in or Create an account to join the conversation.

More
13 May 2015 00:45 #5302 by criz
Ok, thanks Rumble! If I use bin/circle I get the following, which doesn't seem to generate a syslog.CRASH file:

root@raspberrypi:/home/pi/tbamud-master# bin/circle
No etc/config file, using defaults: No such file or directory
Using file descriptor for logging.
May 12 20:39:43 :: Loading configuration.
May 12 20:39:43 :: tbaMUD 3.66
May 12 20:39:43 :: Using lib as data directory.
May 12 20:39:43 :: Running game on port 4000.
May 12 20:39:43 :: Finding player limit.
May 12 20:39:43 :: Setting player limit to 300 using rlimit.
May 12 20:39:43 :: Opening mother connection.
May 12 20:39:43 :: Binding to all IP interfaces on this host.
May 12 20:39:43 :: Boot db -- BEGIN.
May 12 20:39:43 :: Resetting the game time:
May 12 20:39:43 :: No time file 'etc/time' starting from the beginning.
May 12 20:39:43 :: Current Gametime: 3H 2D 6M 729Y.
May 12 20:39:43 :: Initialize Global Lists
May 12 20:39:43 :: Initializing Events
May 12 20:39:43 :: Reading news, credits, help, ihelp, bground, info & motds.
May 12 20:39:43 :: Loading spell definitions.
May 12 20:39:43 :: Loading zone table.
May 12 20:39:43 :: 187 zones, 10472 bytes.
May 12 20:39:43 :: Loading triggers and generating index.
May 12 20:39:44 :: Loading rooms.
May 12 20:39:44 :: 12468 rooms, 1296672 bytes.
May 12 20:39:44 :: SYSERR: Format error in roomflags/sector type of room #2
root@raspberrypi:/home/pi/tbamud-master#

If I try the ./autorun & and this happens:

pi@raspberrypi ~/tbamud-master $ sudo -s
root@raspberrypi:/home/pi/tbamud-master# ./autorun &
[1] 6046
root@raspberrypi:/home/pi/tbamud-master# ls
autorun bin config.status log vms_autorun.com
autorun.amiga changelog configure macrun.pl
autorun.cmd cnf doc README.md
autorun.pl config.cache lib src
autorun.sh config.log LICENSE.md syslog.CRASH
[1]+ Done ./autorun

And I get a syslog.CRASH file that looks like this:

autorun starting game Tue May 12 20:43:09 EDT 2015
running bin/circle -q 4000
nohup: ignoring input
No etc/config file, using defaults: No such file or directory
May 12 20:43:09 :: Loading configuration.
May 12 20:43:09 :: tbaMUD 3.66
May 12 20:43:09 :: Using lib as data directory.
May 12 20:43:09 :: Running game on port 4000.
May 12 20:43:09 :: Finding player limit.
May 12 20:43:09 :: Setting player limit to 300 using rlimit.
May 12 20:43:09 :: Opening mother connection.
May 12 20:43:09 :: Binding to all IP interfaces on this host.
May 12 20:43:09 :: Boot db -- BEGIN.
May 12 20:43:09 :: Resetting the game time:
May 12 20:43:09 :: No time file 'etc/time' starting from the beginning.
May 12 20:43:09 :: Current Gametime: 6H 2D 6M 729Y.
May 12 20:43:09 :: Initialize Global Lists
May 12 20:43:09 :: Initializing Events
May 12 20:43:09 :: Reading news, credits, help, ihelp, bground, info & motds.
May 12 20:43:09 :: Loading spell definitions.
May 12 20:43:09 :: Loading zone table.
May 12 20:43:09 :: 187 zones, 10472 bytes.
May 12 20:43:10 :: Loading triggers and generating index.
May 12 20:43:10 :: Loading rooms.
May 12 20:43:10 :: 12468 rooms, 1296672 bytes.
May 12 20:43:10 :: SYSERR: Format error in roomflags/sector type of room #2
Quick boot mode -- rent check supressed.
Using file descriptor for logging.
autoscript terminated Tue May 12 20:43:10 EDT 2015

Please Log in or Create an account to join the conversation.

More
13 May 2015 01:52 #5303 by Cblake
I like to run it on java.
I drink the java while watching it run

Please Log in or Create an account to join the conversation.

More
13 May 2015 20:44 #5306 by criz
Just as an update, I got it running on my laptop fine with 3.66 and Cygwin, just wondering why I'm getting that error message on the RPi2 - I'll try a full re-install tonight and I'll post the config files too.

Please Log in or Create an account to join the conversation.

More
14 May 2015 03:46 #5307 by Rumble
It is crashing while trying to load the rooms so it might be a corrupt World file.
Try "bin/circle -m" to run in mini-mode with only essential World files.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.203 seconds