Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot

Members: 0
Guests: 34
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » SWR FUSS » Bug: Boards won't load proper...
Forum Rules | Mark all | Recent Posts

Bug: Boards won't load properly
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 26, 2010 9:43 am   
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
The MUD I work on has been having some problems with crashing lately. It seems that people are sending very long notes through the mail system. When the MUD goes to load, we receive this:
Mon Apr 26 10:37:58 2010 :: ../boards/mail_net
Mon Apr 26 10:37:58 2010 :: [*****] BUG: fread_string: string too long
Mon Apr 26 10:37:58 2010 :: [*****] BUG: read_note: bad key word


It seems to me like the buffer doesn't count color codes when you input data but I'm not sure. Anyone ever experience anything like this? This was tested on swr1.3fuss stock and also happens on a non FUSS MUD. Any ideas?

Post is unread #2 Apr 26, 2010 12:52 pm   Last edited Apr 26, 2010 12:52 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

 
Take a look at your MSL defines in mud.h
My best guess is the End at the end of the message file is getting chopped off. Default I think the mud can handle 49 lines, or 4094( or 3) bytes. It's defined as 4096 but the \n\r takes up two char spots. Kinda graspin at straws here, but I remember seeing something similar happen to me.

ayuri

Post is unread #3 Apr 26, 2010 12:59 pm   
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

 
What about a Buffer full message?

Editor.c of swfotefuss:
   if( TOTAL_BUFFER_SIZE( edd ) + linelen + 2 >= edd->max_size )
   {
      send_to_char( "Buffer full.\r\n", ch );
      editor_save( ch, edd, "" );
   }


I tried to fill up a mail note and got that. I'll dig some more, but take a peek at your mail file and see if there is something missing.

ayuri

Post is unread #4 Apr 26, 2010 1:52 pm   
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts148
JoinedJan 24, 2008

 
That may work.

Try dropping in a ton of color codes in a note fill it up and then copyover. It crashes for me.

Pages:<< prev 1 next >>