Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Yesterday, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!

Members: 0
Guests: 9
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » 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, 7:43 am
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
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, 10:52 am   Last edited Apr 26, 2010, 10:52 am 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, 10:59 am
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, 11:52 am
Go to the top of the page
Go to the bottom of the page

Keirath
Magician
GroupMembers
Posts144
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 >>