Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ Fread_word error

Fread_word error

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Serai   (10 posts)  Bio
Date Sun 08 Oct 2006 03:44 PM (UTC)
Message
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
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sun 08 Oct 2006 04:17 PM (UTC)
Message
Have you changed anything? Is this pretty much stock Rom?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Serai   (10 posts)  Bio
Date Reply #2 on Sun 08 Oct 2006 04:20 PM (UTC)
Message
other than trying to add olc to it, yes its stock rom
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Sun 08 Oct 2006 04:22 PM (UTC)
Message
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.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Serai   (10 posts)  Bio
Date Reply #4 on Sun 08 Oct 2006 04:28 PM (UTC)
Message
Fread_word appears in 7 different files. where should I start looking?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Sun 08 Oct 2006 04:38 PM (UTC)
Message
In the fread_word function, in that error (before it does the exit or whatever) have it print what it's reading.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,406 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.