Re: [BUG] show shops CRASH

From: Mulder (mulder@CLOUD9.NET)
Date: 10/15/98


disregard last message

it was MAX_STRING_LENGTH, sorry :P

-----Original Message-----
From: George <greerga@CIRCLEMUD.ORG>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Friday, October 16, 1998 1:35 AM
Subject: Re:  [BUG] show shops CRASH


>On Thu, 15 Oct 1998, Del Minturn wrote:
>
>>Mulder wrote:
>>>
>>> 1162          sprintf(buf1, "%6d",
mob_index[SHOP_KEEPER(shop_nr)].virtual);
>>>
>>
>>Is this a typo? or does your code actually have a "%6d"
>
>What's wrong with %6d?
>
>I'm guessing he has more shops than MAX_STRING_LENGTH room or he hit the
>infamous bpl12-eats-your-memory bug.
>
>--
>George Greer, greerga@circlemud.org | Genius may have its limitations, but
>http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
>http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST