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
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Tue Mar 02, 2010 12:21 am   

Channel capture question
 
I'm playing a mud right now that sends chat messages to you a little different than what i'm used to. I can get the first line to capture with no problem but if there area any additional lines they don't make it to the capture window. It's like the mud is sending a carriage return or something at the end of each line of text of that comes through on the channel. My word wrap in preferences is set to three spaces but dosen't work on the mud which is why it seems to me a carriage return is being sent. Here is an example.

Code:

send bozie This block of text when copied into notepad ++ appears just as it does on screen here, not indented even though I have my word wrap set for 3 spaces.
Comm: [Bozie] This block of text when copied into notepad ++ appears just
as it does on screen here, not indented even though I have my word wrap set
for 3 spaces.
You send to Bozie: This block of text when copied into notepad ++ appears
just as it does on screen here, not indented even though I have my word
wrap set for 3 spaces.


Here is a screenshot showing the three space indent on the command line.
http://i282.photobucket.com/albums/kk270/Fizgar/Capture2.png

The best i've been able to do is get the very first line:

Comm: [Bozie] This block of text when copied into notepad ++ appears just

to cpture to my chat window.

I ran a few rooms through the script debugger and i'm guessing the <LF><CR> i see after each line recieved is the villan.
My question is, does anyone have any tips that will help me make the whole block of text capture to my chat window?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Mar 02, 2010 1:31 am   
 
Word-wrapping preferences only apply to lines that CMud itself is wrapping. If the game is sending the information already wrapped, CMud will see each line as an individual line.

As for capture, if your game has a wrap-control command that allows you to turn it off or set it to some really large number it's better to use that. If it doesn't, then you need to be able to define exactly what comes after the last line of the channel.
_________________
EDIT: I didn't like my old signature
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Tue Mar 02, 2010 1:53 am   
 
Never thought to try and change the width of the wrap-control. Thanks for the quick reply. i disabled that and everything is working much better now.
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
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