any ideas on this error. (the server is un-editted.)
Fri Apr 27 17:13:18 2001 :: Making wizlist
Fri Apr 27 17:13:18 2001 :: [*****] BUG: fread_word: EOF encountered on read.
Fri Apr 27 17:13:18 2001 :: [*****] BUG: fread_number: EOF encountered on read.
Fri Apr 27 17:13:18 2001 :: [*****] BUG: fread_to_eol: EOF encountered on read.
I looked at the wizlist file (while smaug is down) and nothing seemed to be wrong.
Thanks!
It makes the wizlist by reading in any files found in the "gods" subdirectory. If you have a bogus file there it will probably cause those errors (I usually ignore them anyway).
You were right, it was the default "empty" file that was giving me the problem.
Thanks.
How might I changed the wording and format of the wizlist?
Look into the makewizlist fn.
The makewizlist fn? Sorry I have so many questions, I am kind of new to this.
He meant the makewizlist function in db.c, should look something like:
void do_makewizlist( CHAR_DATA * ch, char *argument )
{
make_wizlist( );
build_wizinfo( FALSE );
}
which really means that somewhere above that you're looking for make_wizlist or (more likely) immediately above the makewizlist function you're looking for build_wizinfo.
Ok, which file is this located in?
You need to read the answers provided here, I suspect we are saying things twice.
Conner said "the makewizlist function in db.c". That is giving you the filename: db.c
db.c ok seraching for db.c
As I said, the file is db.c in your src folder, but from what you just told me in the other thread, I suspect that you're not compiling anyway and so changes to your source files won't make a difference within your executable either. Which version of Smaug are you running? The precompiled for windows version of Smaug 1.4a? Or do you have cygwin and are just not using the command line to run the executable?
I was using the precompiled, and it is 1.4a, dont know where I got 1.4b from, anyhow, looks like I need cygwin.
It does, you might also consider "upgrading" to SmaugFUSS (see http://www.fussproject.org/) so that you have most, if not all, of the bugs that were in Smaug 1.4a already fixed too. (There's also really good info at that site I mentioned about using cygwin with SmaugFUSS that you may find very helpful too.)