- Posts: 9
- Thank you received: 0
Running on Raspberry Pi2 and learning some BASIC Linux
- criz
- Topic Author
- Offline
- New Member
-
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.
- Rumble
-
- Offline
- Administrator
-
Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
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.
- Cblake
- Offline
- Junior Member
-
- Posts: 32
- Thank you received: 5
I drink the java while watching it run
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Rumble
-
- Offline
- Administrator
-
Try "bin/circle -m" to run in mini-mode with only essential World files.
Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- Rumble
-
- Offline
- Administrator
-
Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
root@raspberrypi:/home/pi/tbamud-master# bin/circle -m
No etc/config file, using defaults: No such file or directory
Running in minimized mode & with no rent check.
Using file descriptor for logging.
May 14 22:34:46 :: Loading configuration.
May 14 22:34:46 :: tbaMUD 3.66
May 14 22:34:46 :: Using lib as data directory.
May 14 22:34:46 :: Running game on port 4000.
May 14 22:34:46 :: Finding player limit.
May 14 22:34:46 :: Setting player limit to 300 using rlimit.
May 14 22:34:46 :: Opening mother connection.
May 14 22:34:46 :: Binding to all IP interfaces on this host.
May 14 22:34:46 :: Boot db -- BEGIN.
May 14 22:34:46 :: Resetting the game time:
May 14 22:34:46 :: No time file 'etc/time' starting from the beginning.
May 14 22:34:46 :: Current Gametime: 23H 31D 8M 729Y.
May 14 22:34:46 :: Initialize Global Lists
May 14 22:34:46 :: Initializing Events
May 14 22:34:46 :: Reading news, credits, help, ihelp, bground, info & motds.
May 14 22:34:46 :: Loading spell definitions.
May 14 22:34:46 :: Loading zone table.
May 14 22:34:46 :: 3 zones, 168 bytes.
May 14 22:34:46 :: Loading triggers and generating index.
May 14 22:34:46 :: Loading rooms.
May 14 22:34:46 :: 111 rooms, 11544 bytes.
May 14 22:34:46 :: SYSERR: Format error in roomflags/sector type of room #2
Please Log in or Create an account to join the conversation.
- zusuk
-
- Offline
- Elite Member
-
- LuminariMUD Developer
If I was in your situation I'd try:
-Re-download the codebase
-You can add some more output to the syslog to find out what is causing the error (it is in the function void parse_room(FILE *fl, int virtual_nr), in db.c).
-You can look at index.mini in the lib/world/ directory to see what zones load with the -m flag, and then check those individual room files for formatting errors
Good luck man, sorry it has been a headache so far for you :)
Website
www.luminariMUD.com
Main Game Port
luminariMUD.com:4100
Please Log in or Create an account to join the conversation.
- Rumble
-
- Offline
- Administrator
-
Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Switch back to standard circle boot, I got more .wld file errors in different places, so I suspect I'd continue to get them at different places and could probably just copy all the stock zones and mob files from circle and it would be fine. Wonder if there's a problem or something not functioning after tbaMUD compiles on the Rpi2 that's not allowing to recognize certain flags?
Please Log in or Create an account to join the conversation.
- Rumble
-
- Offline
- Administrator
-
Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Kyle
- Offline
- Senior Member
-
- Posts: 50
- Thank you received: 2
If you mean per month you should be demanding excellence!
Please Log in or Create an account to join the conversation.
- criz
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Cblake
- Offline
- Junior Member
-
- Posts: 32
- Thank you received: 5
4.99
nice and fresh
made daily
Please Log in or Create an account to join the conversation.
- AshlarTaltos
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
I'm having the same issues, and can't get tbaMUD to boot without stripping everything down and running with no areas.
Would enjoy being able to properly try out the mud!
Constant errors just like above, if I remove the offending parts from the mob, zone or whatever - a new one just comes up further down the line.
As I said - I can make it run, but with basically %20 of the included files.
Please Log in or Create an account to join the conversation.
- thomas
-
- Offline
- Administrator
-
- Posts: 751
- Thank you received: 143
Remove JUST the mob it is complaining about, to see if it's the file as such.
Verify the line endings (highly probable cause).
Alter the strings for just this mob to somethings altogether different.
Please Log in or Create an account to join the conversation.
- AshlarTaltos
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
I followed the thread. I've googled as much as I can. I've tried
removing the *room* that throws the error. Then the one after that,
and again. Then began on the mobs that threw an error. And again.
Ad nauseum.
As of now, I have it running, sort of. After removing 7 world files and 14 mobs.
As I said, it would just be nice to use all of tbaMUD, and not just the stuff that
happens to work. Fresh install of os, fresh install of tbaMUD. Compiler errors about
variables that are set, but not used (a lot of them), then this problem.
As far as I can tell, it's a problem with the way the actual mud reads those files,
as the same issues tend to happen with stock Circle files. So as much as I would
like to go through and fix all the incorrect parts, I could more easily get a different
base that will run properly on ARM.
I'll just use it broken and fix it myself. At least I can guarantee a working
product that way. Thanks!
Please Log in or Create an account to join the conversation.
- thomas
-
- Offline
- Administrator
-
- Posts: 751
- Thank you received: 143
Please Log in or Create an account to join the conversation.