Re: Question

From: Phillip A. Ames (kirk47@juno.com)
Date: 11/15/98


On Sun, 15 Nov 1998 14:45:30 +0200 Andrey Fidrya <andrey@ALEX-UA.COM>
writes:
>void show_obj_to_char(struct obj_data * object, struct char_data * ch,
>                        int mode)
>{
>....
>  strcat(buf, "\r\n");
>  page_string(ch->desc, buf, TRUE);
>}
>
>Is there any reason to use page_string here?
>Why can't it be something like "send_to_char(buf, ch)"?

Because some moronic player may do something like this, especially if you
don't have object stacking in:
A sword is here.
A sword is here.
A sword is here.
A sword is here.
A sword is here.
A sword is here.
A sword is here.
.....  All the way through the parts of the body.  That way the player
can see the thousands of objects in the room :)

ObCircle:
How do we get char *'s to save in the pfile?  Do we have to put them in
the place where things are like this?
st->name = GET_NAME(ch);

and then to reload them like this?

GET_NAME(ch) = st->name;

Thanks,

-Phillip

Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]


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