Nick Gammon said:
If you are developing the MUD, you an either do it the very easy way, or the very tedious and unreliable way. Guess which one I would recommend?
The easy way, as Fiendish suggested, is to add some extra protocol (it could be GMCP) which sends down, at the very least, what room you are in (as in, internal room number). Uniquely identifying each room is the most important thing for a mapper. More simply than GMCP, just use telnet subnegotiation to send down a simple sequence (eg. "room=1234").
But really, just send GMCP. Then you have mappers "off the shelf" already written, or if you want to look different, customize one that is already written.
If you don't, then you have to try to detect unique rooms by finding the room description (which is prone to errors) and then handle multiple rooms with exactly the same description (like "a forest path") which will make the mapper act weirdly. And look crappy.
Truly I appreciate the response Nick, however my response to him would be the same to you.
Nylian said:
Thanks for the suggestion (I have already mentioned this to the chief).
I am not doing that level of coding, or any coding at the moment for that matter, that's up to the head code monkey. I'm doing things at a much simpler level.
Regardless of what becomes of the MUD, I would still like to know how to adapt this to the screenshot provided.
I would have to figure this out the crappy way and just need help customizing the triggers =/ |