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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Tue Nov 20, 2007 9:07 am   

[2.12] Help regarding capturing MXP output to child window
 
Code:
[Map Size: Big]
/--Ashtan.-----------------------------------------------------------------------------v2366--\
                                                                                                                                         
                                                                                             

                                                  [ ]-[ ]                                     
                                                 /                                           
                                              [*]                                             
                                             /                                               
                                          [ ]                                                 
                                         / |                                                 
                                       /   |                                                 
                                     /                                                       
                  [ ]             [ ]      |                                                 
                 / | \           / | \     |                                                 
                   |   \       /   |  [ ]-[ ]                                                 
                 \ |     \   /     | /   \ | \                                               
                  [ ]- - -[ ]- - -[ ]     [ ]                                                 
                     \   /           \   /   \       \                                       
                      [ ]- -   -   - -[ ]     [ ]- - -[ ]                                     
                     /   \           / |     / |       |                                     
                 -[ ]      \       /   |   /           |                                     
                   |         \   /     | /                                                   
                              [ ]- - -[ ]              |                                     
                         \ | / | \   /   \ |           |                                     
                          [ ]  |  [ ]     [^]- -   - -[ ]                                     
                         / | \ | /   \   /   \         | \                                   
                           |  [ ]- - -[ ]      \       |                                     
                           | / | \     |                                                     
                          [ ]  |   \   |           \   |                                     
                             \                                                               
\--Time: 352 usec-----------------------------------------------------------------------------/

This map is generated in colour, and utilises mxp for several functions. I can hover over any of the 'rooms' with the cursor, and the room name is displayed. I can also click on a room and "map path <vnum>" is sent.

I use a couple of triggers and #CAP to display this in a child window, but none of the mxp is preserved when I do this. I would particularly like to have the room names displayed when I pass over with the cursor.

Can I achieve this?
_________________
Athlon 64 3200+
Win XP Pro x64

Last edited by Caled on Tue Nov 20, 2007 1:21 pm; edited 1 time in total
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Tue Nov 20, 2007 9:37 am   
 
I have been wanting to #CAPTURE MXP from the mud (if only color) since the days of zMUD.

Currently I dont think its possible, as only ansi codes codes are transferred by #CAP right now.
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 20, 2007 5:23 pm   
 
Unfortunately MXP is not transferred via the #capture command. That is planned for the future, but probably not for the next public version.
Reply with quote
Iceclaw
Apprentice


Joined: 11 Sep 2005
Posts: 124

PostPosted: Sat Nov 24, 2007 3:39 pm   
 
Can you use some other series of commands to capture the information and recreate the MXP in the other window in a roundabout fashion?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Nov 24, 2007 4:24 pm   
 
It sounds like there's a ton of MXP in the map and that there might not be places where there's no MXP at all. If that's the case, you might be able to trigger on the MXP tags. With so many, though, I'm not sure if you can just directly send it to the other window as opposed to building a stringlist or datarecord first.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 26, 2007 5:01 pm   
 
From the Version History for v2.13:
Quote:
Added option in MXP preferences to control whether text captured to a window will capture MXP tags

So, just click on your capture window, then click Prefs and go to the MXP page. Turn on the "Capture MXP" option. Then you should be able to capture MXP tags to your child window.

Multiline MXP tags cannot be captured. But I have tested it with COLOR tags and SEND tags (with menus). If your child window has a network connection (or uses the main session connection), then the SEND menus should work fine. I haven't tested images.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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 Wolfpaw.net