Re: [CODE] Patch Update to Shop.c for bp21

From: Kras Kresh (
Date: 09/20/02

>From: Justin Adler <spam@WORLD-DOMINATION.COM.AU>
>Reply-To: Circle Discussion List <>
>Subject: [CIRCLE] [CODE] Patch Update to Shop.c for bp21
>Date: Sat, 27 Jul 2002 05:36:50 -0400
>While trying to update my shop.c from bp11 to 21 (eeks!), i noticed both
>versions (and therefore all versions?) do not display the item being SOLD
>in shop.c, line 616 (bp21), i've added this line in
>if (!IS_GOD(ch))
>     GET_GOLD(keeper) += goldamt;
>+ strlcpy (name, obj->short_description, sizeof(name));
>   strlcpy(tempstr, times_message(ch->carrying, 0, bought), sizeof
>   snprintf(tempbuf, sizeof(tempbuf), "$n buys %s.", tempstr);
>   act(tempbuf, FALSE, ch, obj, 0, TO_ROOM);
>if u don't add that line, then the text displayed is the keyword the
>SELLER has entered.
>The Keeper now has

Oh did you know that the person may buy more than 1 item but both may have
the same alias? This will display only one of the 2 different items. I've
done a sort of hack for the fix, but do what you will.

MSN Photos is the easiest way to share and print your photos:

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT