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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
machinepig
Newbie


Joined: 20 Jan 2002
Posts: 5
Location: USA

PostPosted: Tue Mar 12, 2002 8:51 am   

please help me with text capture problem
 
the mud i'm playing use graphic arrow to point out direction. And i failed to capture the text of the arrow.
It seem's the origin data send to zmud contains control code, and thus become hard to be understand. When i turn off VT102 option, the arrow turn out to be unreadble. And the same happens when i use a trigger to capture the text or when i use #log to capture the text.

the arrow show in zmud windown



/**\
*****
** ** \
*/ ** \
*/ **
**
* *** *
* ***



The arrow when i turn off vt102 or use trigger to capture or use #log to capture




*****
** ** \

*/ **

*** * *
**

* ***
/**\


*/ ** \









Can anybody help me ..
thanks in advance.
Reply with quote
dracx
Beginner


Joined: 14 Oct 2000
Posts: 26
Location: USA

PostPosted: Wed Mar 13, 2002 4:48 am   
 
You can try this... but jeeze, what a dumb thing to do for an exit.

#TR {%s~$%s~/~*~*~~} {whatever code goes here to make this north}

This matches the first two lines and makes that north... you can try that. You'll need to isolate a line or two of output for each direction that is unique to that arrow... each one almost certainly has a pattern in it that the others do not. I gotta tell ya, that is a retarded exit if I've ever seen one. I hope that mud is worth it. Also, you may need to make it an ansi trigger. There's a checkbox for that.

The reason for the second arrow being so screwed-up looking is that you are viewing it with a variable-width font, where 'M' takes up more space than 'i'.

Good luck.

Dracx
Reply with quote
machinepig
Newbie


Joined: 20 Jan 2002
Posts: 5
Location: USA

PostPosted: Wed Mar 13, 2002 12:12 pm   
 
thanks for your advice :)
but it'seems you did not catch what realy puzzles me.

I have no problem to recognize the arrow.
bug I can not CAPTURE the text .

the two arrows you saw are exactly one.
the first is what i copied from the zmud window.
the second is what i captured using a trigger.
the trigger is as simply as #tr {^(*)$} {#window arrow %1}

I guess the mud developer have added vt102 control code or somethine like that into the text to prevent Robot .
I'm not fimiliar with vt102 and hope somebody can help me.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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