Register to post in forums, or Log in to your existing account

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion

Joined: 18 Aug 2005
Posts: 15

PostPosted: Mon Jun 30, 2008 8:59 am   

[2.29] CMud mapper questions
Is there any way to get the docked map-window remember the toolbar layout? Every time I start my session, I have to move the bars back to where I want them (by default, it always squishes the Level bar, so i move it onto a 2nd line and move the Editor bar next to it).

Secondly, is there any way to script setting a door to locked if I get the 'The door is locked shut.' trigger message? I have it so it adds a door to the map if I get the 'There is a door that way, and it is shut.' message (found that in the basic Mapper help pages), but once the door is there, I'd like it to recognise that a door is locked and mark it as such on the map if so. As an additional thought, the exits are listed like 'You notice exits to the north, east, west (a closed door), and northwest (an open door).'. Is it possible to intercept the exit lines, and break out those door markers so I can automatically have them added to a room. Currently, it'll find the exits without any major problems (and any directions in the room description unfortunately), but I have to try moving in the direction of the doors to get it to trigger to add the doors to the map.

Thirdly, I've now got it to #TAG the room name, based on the ANSI colour, which is a lot more reliable that its original attempt, but is there any way to acces the 'room paragraph' that the mapper grabs, so I can directly #TAG the description part (the contents of the room is coloured differently, and I want to remove that from the stored description).

Thank you in advance,



Obviously, there are limitations with this still being ZMud's mapper. I'm eagerly awaiting a true CMud mapper (and CMapper, since zMapper hates Vista).
Reply with quote
Fang Xianfu

Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Jun 30, 2008 1:29 pm   
You don't really need to store the description - name and exits are plenty if you just want the map to follow you around, which makes the task considerably easier.

My first question is this: are the newlines in your descriptions real CRLF characters sent by the server, or is CMUD doing the wrapping? If the former, is there a way to turn off server-side word-wrapping? This also makes the solution much, much simpler.

Oh, and a few sample rooms would help tremendously (perhaps with screenshots or the debugger's "i" messages for them so we can see the colours).
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote

Joined: 18 Aug 2005
Posts: 15

PostPosted: Mon Jun 30, 2008 2:10 pm   
Although some of the description is dynamic, I was hoping to catch the description as there are salient details of important rooms that don't change... On the other hand there are locations which have the same name, but the salient details different, so I was hoping to differentiate rooms by such. The MUD is Avalon out of interest, one where there have always been problems getting proper mapping to work. I'll post a #DEBUGFILE copy of whats output as soon as I can. Meanwhile, the MUD used its own line-length prettyprinting unfortunately, based on the WIDTH command. I've tried to push for a WIDTH 0 or similar command to allow the client to word-wrap, but with no luck - and looking at a previous DEBUGFILE file, it <CR><LF>'s each line break, though it seems to use <ESC> to indicate a harder break (to change to listing exits for instance).
Reply with quote

Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Jun 30, 2008 3:46 pm   
For your first question, no, I don't think you can save the layout of the mapper window. Hopefully that will happen with the map rewrite.

For your second question, you obviously have figured out that you can make a door with the #door command. As far as I know, there is no way to make it a locked door in zscript. That sounds like a good idea, though.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by