Problems with various codebases

Posted by Antram on Tue 16 Mar 2010 02:54 PM — 3 posts, 16,576 views.

#0
Hello everybody:

I have a few problems with various codebases, because I'm looking for a codebase wich convince me to start with my own mud.

I saw the following codebases:

lop1.38r2
fear2.1.3

When I compile the first one, there isn't any problem during the compiling, but when I'm going to start the mud, with Cygwin, tells me:

~/lop/area
Tue Mar 16 2:39:03PM 2010 :: Loading Calendar...
Tue Mar 16 2:39:03PM 2010 :: load_calendarinfo: couldn't open system/calendarin
fo.dat for reading. Using Defaults.
system/calendarinfo.dat: No such file or directory
Tue Mar 16 2:39:03PM 2010 :: Loading helps...
Tue Mar 16 2:39:03PM 2010 :: [*****] BUG: load_helps: Can't open system/help.da
t
system/help.dat: No such file or directory
Tue Mar 16 2:39:03PM 2010 :: Loading news...
Tue Mar 16 2:39:03PM 2010 :: Loading trivia...
Tue Mar 16 2:39:03PM 2010 :: Loading HighScores...
Tue Mar 16 2:39:03PM 2010 :: Loading Hints...
Tue Mar 16 2:39:03PM 2010 :: Loading mud wide resets...
Tue Mar 16 2:39:03PM 2010 :: Loading bugs, typos, and ideas...
Tue Mar 16 2:39:03PM 2010 :: Loading banks...
Tue Mar 16 2:39:03PM 2010 :: Loading authorizes...
Tue Mar 16 2:39:03PM 2010 :: Loading lockershare information...
Tue Mar 16 2:39:03PM 2010 :: Loading commands...
Tue Mar 16 2:39:03PM 2010 :: Loading spec_funs...
Tue Mar 16 2:39:03PM 2010 :: [*****] BUG: load_specfuns: can't read system/spec
funs.dat, exiting.
system/specfuns.dat: No such file or directory


but in my system directory there are these files:

$ ls
calendarinfo.dat herbs.dat mssp.dat skills.dat tongues.dat
commands.dat highscores.dat mudtitle.ans socials.dat weather.dat
firstimm hints.dat mudtitle.asc specfuns.dat
fnames.dat morph.dat mwresets.dat sysdata.dat
help.dat mpdamage.dat reserved.lst timeinfo.dat


Could someone tell me what is happening?

then, when I tryed to compile the second one, it makes me a few warnings, but it seems to compile Ok, but when I try to start it, it tells me that is stumped, and I don't know why. Any help?

Thanks for all.
Australia Forum Administrator #1
For your first problem I suggest using gdb.

http://mushclient.com/gdb

I think I had a problem like that a while back, and the file was there and everything, but using gdb it turned out it was opening it twice, or in the wrong directory or something.

Put a breakpoint on the line (or just above) where it says "can't read system/specfuns.dat" and see why. Maybe it opens it twice, maybe the path is wrong, maybe the permissions as wrong.

As for the second example, can't say without seeing error messages.
#2
Hello:

Thanks Nick again, It seems that it has been fixed making a breakpoint where you have said.

Antram