[MUD-Dev] C&C and Event Rescheduling

Richard Woolcock KaVir at dial.pipex.com
Thu Aug 14 21:10:17 New Zealand Standard Time 1997

clawrenc at cup.hp.com wrote:
> In <9708120437.8b94 at ami-cg.GraySage.Edmonton.AB.CA>, on 08/12/97
>    at 08:14 AM, cg at ami-cg.GraySage.Edmonton.AB.CA (Chris Gray) said:
> >[Chris L:]
> >:  Please enters the following very rapidly:
> >:
> >:    N, S, E, W.
> >It seems to me that, even if they are all on the same input line,
> >they are separate commands from the user.
> As a general rule, yes.  There are exceptions.  Consider the case:
>   > dig panama canal
>   You begin digging.
>   ...many hours later...
>   You are still digging.
>   You are attacked by the Orcs!
>   > kill orcs
>   Sorry, you'll have to wait till you're done digging.
>   > oops
> A silly implementation to be sure, but it illustrates.  Another:
>   > n,n,n,n,n,n,n,n,n,e,e,e,e,e,e
>   You go north
>   ...
>   There an incredibly valuable diamond here.
>   You go north.
>   You go east.
>   You go east.
>   ...
>   > Go back!  Go back!
>   ...
>   > l
>   There is nothing here.

Well suppose you have an update every half second or so, which performs
the next command on the list, sort of like:

>n,n,e,n,n        | Your commands list now has 'n'->'n'->'e'->'n'->'n'

You walk north.
[half a second later].
You walk north.
[half a second later].
You walk east.
There an incredibly valuable diamond here.
>stop             | Your commands list is cleared.You stop walking.

Okay so you might miss it, but probably only by a room or two (unless
you were lagged).

Just a suggestion.


More information about the MUD-Dev mailing list