Login
User Name:

Password:



Register

Forgot your password?
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
I3 and IMC
Dec 8, 2024 6:35 pm
By Remcon
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
Bing, AhrefsBot

Members: 0
Guests: 57
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,707
588
Mortrex

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 >>