Welcome to the Builder Academy

Question Running on Raspberry Pi2 and learning some BASIC Linux

More
14 May 2015 03:47 #5308 by Rumble
Try "bin/circle -m" to run in mini-World. That error is due to a bad World file.

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

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

More
15 May 2015 02:36 #5309 by criz
Looks like I get the same error - just less rooms in the line above:


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.

More
15 May 2015 05:09 #5310 by zusuk
You try a new copy of the code (or at least of the /lib files)? Sure seems like something is whacky.

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
The following user(s) said Thank You: criz

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

More
15 May 2015 23:58 #5313 by Rumble
Yes, that error is just a simple formatting problem in the Word files. Re-download the World files. Or try deleting everything in the 2.wld file except for the zone information... first 4 lines I think? and leave the termination character. Look at or create an empty zone for an example.

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
16 May 2015 01:13 #5314 by criz
Ok - I made some headway - firstly after running in mini-mode, and deleting room#2 from the 0.wld file, I got a string error on the 30.mob file, character #3002 (the midgaard grocer). So I replaced the 30.mob file with the same one from stock CircleMUD and tbaMUD finally booted! Don't know if this makes sense to anyone or not, but hopefully it's useful to someone lol.

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.

More
16 May 2015 22:59 #5315 by Rumble
Thanks, it sounds like it has an issue reading in the World files, maybe a certain character it can not parse or is used as a special/command character? I'll look at the room and mob and see if we can narrow it down. Thanks for the feedback. Is pi working well as a MUD platform?

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.

Time to create page: 0.219 seconds