Fread_word error

Posted by Serai on Sun 08 Oct 2006 03:44 PM — 6 posts, 21,038 views.

#0
First off, I would like to say how useful this resource has proven to be for me. Thanks.

Now, I managed to get Rom2.4b6 to compile nicely and it was running, I decided to add olc to it (olc2.1e.zip by Ivan). It compiled fine, and I was following his instructions to the letter. When I got to step 7 of his instruction guide "Run the mud. It should NOT coredump. Edit the Makefile and remove -DFIRST_BOOT." all I get when I try to run the mud is this:

./rom
sun oct 8 12:27:15 2006 :: Creating skill table of length 1, size 52
sun oct 8 12:27:15 2006 :: [*****] BUG: Fread_word: word too long.

Now, I think my problem is the the length of the table but im not sure how to fix it.

and as per the instructions at the top, im running Windows with Cygwin and Rom2.4b6
USA #1
Have you changed anything? Is this pretty much stock Rom?
#2
other than trying to add olc to it, yes its stock rom
USA #3
Well it's trying to read a word/string in and whatever it's trying to read is too big. Either fread_word has a problem, or whatever you're trying to read in has the problem. See if you can find what it's trying to fread_word.
#4
Fread_word appears in 7 different files. where should I start looking?
USA #5
In the fread_word function, in that error (before it does the exit or whatever) have it print what it's reading.