Re: Dynamic Boards and Mail messages, et.c..

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 03/07/98


On Sun, 8 Mar 1998, Tony Robbins wrote:

->Could someone please send me their look_at_target...  I think mine is
->messed up and I can't figure it
->out.  If you try to read mail, it doesn't do anything, and if you try to
->look mail it's fine.  I don't
->want that though, it's kind of goofy.

Why don't you download the code for yourself?!  I thought this was a
mailing list, not a ftp site...

ObCircle:

Little nit-pick from stock bpl12, line 351-352 of act.offensive.c, the
do_rescue command,

  if (GET_CLASS(ch) != CLASS_WARRIOR)
    send_to_char("But only true warriors can do this!", ch);

it'd probably be desirable to give the character a carriage return and
newline sequence at the end of that...

    send_to_char("But only true warriors can do this!\r\n", ch);

Of course, that's the least of do_rescue()'s problems.  It's one of
the few remnants of spaghetti code in CircleMUD (albeit it's still
readable and rather minor compared to stuff you'll find in the
original DIKU code [anyone remember do_stat or do_cast?]), and I'm
under the impression that you should check if the person can even do
the skill before you interpret the arguments...


-dak


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