can't connect

Posted by Strangar on Tue 16 Jul 2002 01:56 AM — 3 posts, 13,067 views.

#0
Ive got my mud up and running, I can log on and everything(Its on my computer:windowsxp) But when someone else tries to get on, they can connect, until they get to the question, where it asks if they want ansi on, soon as they pick a choice, they get booted: and I get

Mon Jul 15 21:52:24 2002 :: EOF encountered on read.
Mon Jul 15 21:52:24 2002 :: Closing link to so-and-so.

they get the message:

Access violation at address 004D1C0. Read of address FFFFFFFF.

though i can create new ones fine.

Im not sure, maybe I just can't seem to think strait atm. But Im stumped.
Australia Forum Administrator #1
SMAUG tends to crash under certain circumstances. Using stock area files I have it running for weeks at an end, but other seem to find it crashes the moment they log in.

Try using the Area Editor (from this site) to do an area check, otherwise maybe try Dawn Of Time, which is being actively maintained, and seems pretty crash-free.
#2
I also had the same thing on my SMAUG.
I had these in the log:
[*****] BUG: fread_word: EOF encountered on read.
[*****] BUG: fread_number: EOF encountered on read.
[*****] BUG: fread_to_eol: EOF encountered on read.
[*****] BUG: load_planes: can't open plane file for read.
My PC(windows 98) shutsdown right after I connect to the server the first time. I use GMUD as the client and it rarely(once out of five tries) succeeds in showing the "SMAUG" logo on the monitor.
I have downloaded the source(from this site) and have traced where the crash comes from with VisualC++6.0. I'm not really sure, but I guess there's something with the code in 'save.c'.

-------save.c(line:2125)
void set_alarm( long seconds )
{
#ifdef WIN32
kill_timer ();
timer_code = timeSetEvent(seconds * 1000L, 1000, alarm_handler, 0, TIME_PERIODIC);/*<---------here----*/
#else
alarm( seconds );
#endif
}

--------

whenever I step-in to the line indicated, the PC shutsdown. So, I've actually deleted the line, and now it works just fine. I don't know what I have really done to the code but I hope this would help some people.