Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: New client/server & command buffering.



A different idea: If the client sends the server a message, and the
player is out of time, tell the client how long it will take before
the _next_ command will be processed. Note, _not_ how long it will
take before _that_ message will be processed, since that requires
quite a bit of processing on the server.

The client should then normally choose to hold back, but might not,
depending on preference (i.e. someone else _might_ write a client
which just queues everything the player enters onto the server. This
could be useful for simpleminded robots).

The repeat command might be useful in addition to this. You could make
a packet which says keep repeating the previous command until further
notice.


Kjetil T.

[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]


References: