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
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Mon Aug 18, 2008 1:49 pm   

#cap and MXP output - a workaround?
 
The following output is arriving from the mud (well, the output is from imapper, but in this instance that is much the same thing).
The first is as it appears on my screenn
The second is as it appears on the floating window that I #capture this to.
I understand that mxp doesn't get captured, but I really to want to get this working. The red and green bits you see are quite an important distinction (showing friendly/unfriendly shrine influence area).




So given that the command to produce this is not one I often use, is there some way of getting the mxp over to that child window? Some trick I'm unaware of? I don't even mind if its a slow-performance script that does it, as I only occasionally generate this map anyway. But I like to have it sitting there on my second monitor, not lost in my scrollback.

This isn't really necessary, I'm sure - its hardly anything complex. But here is the script that is capturing it.
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger name="mapcapture" priority="11910" copy="yes">
    <pattern>~[Map Size: Big~]$</pattern>
    <value>#CAP mapcap
#T+ mapcaptureoff
#IF (!@smap) {#gagblock}</value>
    <trigger type="Duration" param="1501">
      <pattern>*</pattern>
      <value>#CAP mapcap</value>
    </trigger>
  </trigger>
</cmud>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger name="mapcaptureoff" priority="12150" copy="yes">
    <pattern>\--Time: %d usec------</pattern>
    <value>#STATE mapcapture 0
#T- mapcaptureoff
smap=0</value>
  </trigger>
</cmud>
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Aug 18, 2008 5:28 pm   
 
Go into the Preferences for your "mapcap" capture window (click on the window in the settings editor and then click the Preferences button at the bottom of the window editor). In the MXP page, turn on "Capture MXP" option.

Hmm, you might also need to turn on Capture MXP for the main window that is receiving the text from the MUD.
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 Wolfpaw.net