Prompt system #83
Replies: 4 comments 4 replies
-
Why not just only output stats whenever they change? Other than that, there are several enhanced clients that can display your stats in a GUI. The stats would be exchanged between server and client using out-of-band communication using a protocol like MOO Client Protocol (MCP) |
Beta Was this translation helpful? Give feedback.
-
Good ideas. Unfortunately, a majority of the community doesn't use a client that supports MCP. The other option, send the prompt only when the stats are modified, could indeed solve the problem. Of course, the prompt would then appear between messages rather than at the bottom, but I don't think that's such an issue. What would be my best bet for implementing this? Overriding |
Beta Was this translation helpful? Give feedback.
-
Indeed, it seems quite dangerous. Your solution is probably much better. Come to think of it, I could also design a special verb on |
Beta Was this translation helpful? Give feedback.
-
@tvdijen : agreed, but I don't think I could edit As a reminder, I would need to insert a line below each output line, but allow some kind of grouping. I don't see another option and I don't really like touching |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
In a lot of MUDs we still find lying around the Internet, there is a simple or complex prompt system. This "prompt" is usually a line at the bottom of the output showing your vital statistics and this line is sent on a regular basis (usually, when you do something).
I'm not a huge fan of the prompt system. It usually means one has to move rather quickly, which is not my thing. But the player base has its own idea. So I was wondering how to add such a prompt system? It's not that simple.
First, it ought to send the prompt to the player whenever we send her something else.
So we send her the message
You say: "that's helpful"
and the prompt magically appears.But if several messages are sent "at once", the prompt should only appear once.
So nothing like that:
... but something like this:
Adding a prompt doesn't sound too bad: perhaps one could override the
player:notify
verb for instance. I'm not a hue fan of the solution (it doesn't sound very safe). However, when adding the additional constraint on grouping, it sounds extremely difficult.The best option would be to postpone sending when we use things like
player:notify
and instead queueing messages. At some signals (left to be specified but usually when the command task has ended), ALL queued messages are actually sent and we add, after a blank line, the prompt. If necessary (it sometimes isn't).I have no idea if it would be simple to add in ToastStunt and how to do it. Any idea would be great!
Thanks to keep MOO alive and well,
Vincent-lg
Beta Was this translation helpful? Give feedback.
All reactions