Re: [CODE] Death Spec Proc

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 02/14/98


John Evans wrote:
> This works fine, but you will need to alter some code elsewhere... You'll
> need to make it so that special procedures are called when people enter
> the room.

I hate semantics, but I believe George was correct in his statement that
you
can't do it with stock CircleMUD special procedures.  That is, because,
if
we did as you instruct, we would be changing how special procedures
operate
and they would no longer be stock.  Of course, I'm being pedantic...

> Of course, this will mean that all specs are run everytime someone walks
> into a room. This could be considered a Bad Thing(tm), but I suppose that
> you could code it so that ONLY the killer SPECIAL is run.  *shrug*

Personally, I think it would probably be better to give mobiles a stack
of
special procedures, and also assign types to special procedures.  So
that
only special procedures of type SPEC_ENTER will get run everytime
someone
walks into a room.  Not only will this increase efficiency, but it adds
a signifigant amount of flexibility and power to special procedures.
The
only thing better would probably be (a) making special procedures link
dynamically with the game, (b) making a byte-compiled script language
that
is fairly fast [interpreted script languages are, for the most part,
slow]
and very powerful.

> PS: Who owns the (tm) on Bad Thing. Is that Daniel Koepke?

Hey, what's that supposed to mean?  <chuckle>  No, I don't believe I own
the trademark on Bad Thing(tm).  Hm, but Shiny Entertainment's Dave
Perry
is probably putting in a patent as we speak...(the guy is trying to
patent polygon tesselation, after all).

-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