Nick Gammon said:
Twisol said:
*shake* Your transactions are all single, like "inroom" and "move" and "group". The example I gave, "subwindow.open", is a message (open) within a namespace (subwindow).
The distinction between transactions and message eludes me a bit.
In fact, I think this is heading towards what I think is wrong with MXP, that it tries to describe in too much detail the presentation of the data (eg. allowing you to specify bold, underline and colour, inline with your data).
IMHO the important thing is to supply semantic information (eg. there is a mob here which is level 20 and it is aggressive). The client can then, if it wants to, put the mob's name in red, and ring a bell. Where that name goes, and if it appears on the screen at all, is a client issue, not something the server should concern itself with.
I agree that if we get to the stage of client-to-server messages (which I haven't yet) then the client may send something like "get meat from bag; eat meat", and preferably using GUIDs, so it would be "get item 38534 from bag 32193498; eat item 38534".
When you say "it isn't a message" I am trying to get a system where the server keeps the client up-to-date with the overall situation - like telling the client what is in the room with it. That isn't a message as such, it is information. I suppose it depends on how you define the word "message".