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 ➜ SMAUG ➜ SMAUG coding ➜ Problems with fread_word when loading wizlist

Problems with fread_word when loading wizlist

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


Pages: 1  2  3 

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #30 on Sun 16 May 2004 09:30 PM (UTC)
Message
Quote:

11:24 pm: we got the directories but not sure about how to do backups

...

11:38 pm: how do i make backups

...

11:40 pm: i think ive made backups

...

12:03 am: i guess you dont know then


Hey give us a break! That is four posts in about 40 minutes, at midnight my time. We aren't all awake or checking for posts every 5 minutes! If you ask a question and don't get a reply after 2 days you might remind us or ask again, not after 20 minutes.


Quote:

making wizlist
[*****] BUG: Fread_word: word too long


Is that exactly what appeared? And after that, what? Did it continue to start up? The wizlist might be empty or wrong. It might be a case of just deleting that file.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #31 on Sun 16 May 2004 09:39 PM (UTC)

Amended on Sun 16 May 2004 09:40 PM (UTC) by Nick Gammon

Message
Hmmm - I didn't initially realise this thread was three pages long when it only started this evening.

Look, I would appreciate it if you would follow the guidelines which appear when you start a new thread. Here are a couple:


  • Subject: Please provide a helpful subject description, not just 'a question', or similar.".

    Your subject "help me" is not a helpful description. "Problem with fread_word in wizlist" might be better.

  • This point: If there is an error, an exact copy of the error message(s)."

    You are obviously retyping the error message because you typed "Fread_word: word to long" when the message would be "fread_word: word too long". Thus this is not an exact copy.

    You need to learn how to copy from the DOS window (click on the top LH corner and go to Edit -> Mark, select the text and hit <enter>. Then paste the results into the forum. When you retype things you change them and we don't know exactly what happened.

  • You are running the server, not coding it. Thus you are in the wrong thread of the forum.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #32 on Sun 16 May 2004 09:45 PM (UTC)
Message
I have changed the thread subject, in case anyone is wondering, from "Help me" to "Problems with fread_word when loading wizlist".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #33 on Sun 16 May 2004 09:48 PM (UTC)
Message
Also, you said "i think ive made backups". According to the source you want a directory "backup" not "backups". You really have to be precise when dealing with computers, the difference between "backup" and "backups" can be the difference between success and failure.

See the source for the exact directory name:


#define BACKUP_DIR "../player/backup/" /* Backup Player files */


"Making backups" in this context is not the same thing as making backups of your work, it is creating a directory called "backup" as a subdirectory of "player".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #34 on Mon 17 May 2004 06:59 AM (UTC)
Message
It seems to me that if your last log error message is "[*****] BUG: Fread_word: word too long", then you need to open the files found in /gods and look at those. If they all appear to be ok, then here is a very easy step to do: delete them all. They are not nessecary for booting, only for making the wizlist, which seems kind of silly to me( another thread of discussion, I think ;) .) Make a backup of these files in a neutral directory if you like, but as soon as the appropriate immortal saves, they should be recreated properly.

So, possible steps to follow for newbies, cause I know that this was what I need when I first started:

1. Select all the files in the /gods directory, cut them out, and paste somewhere safe ( /backup, perhaps, or My Documents).

2. Ensure that all files in the /gods directory are gone, and try to boot the mud again.

3. If it boots properly, then you only need to save as your immortal. You can even loadup your other immortals, force them to save, and then make them quit to properly restore their files.

4. If it does not boot properly then you this was never your issue, copy back the files that you saved back in /gods, and post here letting us know what happened. If this was not the case, we may be able to help you through other means, like gdb.

Try that. It may not be the problem at all, but its an easy thing to test, and it eliminates possible problems, which is always a good thing in debugging.

A side note, though, if your /logs directory is not creating logs, you may need to start your mud through the startup file, rather than the executable. If you don't know how to do this, there are other threads that explain this processes.

Hope this helps.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Reado   (24 posts)  Bio
Date Reply #35 on Mon 17 May 2004 03:47 PM (UTC)
Message
It works then after loading sounds etc it comes up with this:

Mon May 17 16:41:41 2004 :: Initializing socket
Mon May 17 16:41:41 2004 :: (Name Not Set) ready at address your-y0mkaz8jaq on p
ort 4000.

then it starts a loop of resetting what do i do now?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #36 on Mon 17 May 2004 04:01 PM (UTC)
Message
Define 'loop of resetting'.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Reado   (24 posts)  Bio
Date Reply #37 on Mon 17 May 2004 04:09 PM (UTC)
Message
it says:
Resetting: newacad.are
Resetting: daycare.are
Resetting: pixie.are

then it continues with every file
Top

Posted by Reado   (24 posts)  Bio
Date Reply #38 on Mon 17 May 2004 04:11 PM (UTC)
Message
then it repeats the above files again
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #39 on Mon 17 May 2004 04:27 PM (UTC)
Message
The game is *supposed* to reset... how much time is there between each reset cycle?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Reado   (24 posts)  Bio
Date Reply #40 on Mon 17 May 2004 04:34 PM (UTC)
Message
quite a while about 4 minutes between each reset
Top

Posted by Reado   (24 posts)  Bio
Date Reply #41 on Mon 17 May 2004 05:21 PM (UTC)
Message
its been resseting for ages and i cant do anything else on it it keeps doing the same files
Top

Posted by Reado   (24 posts)  Bio
Date Reply #42 on Mon 17 May 2004 05:22 PM (UTC)
Message
Resetting: dwarven.are
Resetting: srefuge.are
Mon May 17 18:09:10 2004 :: Sock.sinaddr: 80.57.31.4, port 2274.
Mon May 17 18:09:10 2004 :: Broke all-time maximum player record: 1
Mon May 17 18:09:10 2004 :: EOF encountered on read.
Resetting: sewer.are

it just did this then continued
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #43 on Mon 17 May 2004 06:22 PM (UTC)
Message
Dude.. the game is supposed to reset! It is *normal* if you see reset messages.

You shouldn't freak out every time you see something in the log file. Instead look at what it's telling you, read it and understand it. That message you got is just telling you that somebody connected and disconnected.

I suggest that you read this post:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2293

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #44 on Mon 17 May 2004 09:07 PM (UTC)
Message
Quote:

its been resseting for ages and i cant do anything else on it


You seem to misunderstand how a server works.

You are not supposed to "do anything" in this window. It is a log of what is happening on the server. The resetting is normal, it means the mobs are repopulating in the various areas.

As soon as you see the line:


Mon May 17 16:41:41 2004 :: (Name Not Set) ready at address your-y0mkaz8jaq on p
ort 4000.


... you can connect to your server by using your client program and connect to address 127.0.0.1 port 4000.

When it says it is "ready" it means it. BTW you can change "(Name Not Set)" to the name of your MUD in the system.dat file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


115,800 views.

This is page 3, subject is 3 pages long:  [Previous page]  1  2  3 

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.