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
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Mon Jul 25, 2005 11:44 pm   

#cap question, and window saving problem
 
Aiight... A two problem thread! Woot!

1. My window positions aren't gettng saved when I close zmud. The size is and everything, and their positions, but I have dual monitors, and I have many output/capture screens that I place on my 2nd monitor. Is there anyway, or am I missing something to get those window positions saved on my second monitor? =D

2. #capture (blah) is awsome. Love that... But, is there a way to #cap more then one line? Like... #cap on .... #cap off. At certain triggers? IE this happens <Initiated combat!> --start the #cap-- fight fight fight fight fight fight <You won!> --end the #cap-- That make sense? ^^

Thankx again ahead of time for any help! *cheers*
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Jul 26, 2005 12:06 am   
 
1. Search the Forums, I believe this has been asked and answered but I don't remember what the answer was

2. Take a look at #C+, #C-
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jul 26, 2005 12:18 am   
 
oh... my belly just flip'd... thats awsome!!! =D Thankx again! ^^
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jul 26, 2005 3:36 pm   
 
Is there something that I'm missing for #C-/+...

<Start Trigger> #C+ windowname --sending lines | sending lines | sending lines-- <End Trigger> #C-

Thats all, right? =[ Its not working for some reason....
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 26, 2005 8:16 pm   
 
It's not working because you did not in any way create a recognizable trigger. Check out the helpfile for the #TRIGGER command (and other related topics) for details, but a proper trigger that zmud can work with looks like this:

#trigger {pattern} {code}

Pattern = plain text and wildcards (see Pattern Matching in the helpfile, it lists them all)
Code = zmud commands (#C+), zmud functions (%ansi() or @MyUserFunction()), variables (@user or %ctime), and anything else you can send to the mud with ZMud.

A more specific example would be something like this:

#trigger {pattern} {#C+ windowname}

As to your dual-monitor related question, are you saving the layout? Once positioned as desired, click on the Layout|Save Layout menu and it should be obvious from there.
_________________
EDIT: I didn't like my old signature
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Tue Jul 26, 2005 9:13 pm   
 
MattLofton-I know that #C+/- have to be the code for a trigger. I was using <start trigger> as a generalization to get my point/question across without having to bring in all the specifics. I guess I was looking for more a general answer. If there was something missing, 'specially with the #C-... Not sure if you just do a #C- or a #C- (windowname).

As far as my layout, yes. I save it everytime. It saves the positions of all the windows, but when I load it up, it puts ALL the windows on the default monitor. The positions are correct (size wise and what not) but not on the correct monitor. Also it always loads each window with the command line, status bar, and the caption on top. When I always turn them off for all windows but the main mud window. I've searched for a little while at lunch today, but I couldn't come up with anything. And then something happened to the database, and I couldn't search anymore... =[

Thankx again all! ^^
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Wed Jul 27, 2005 1:19 am   
 
Update: I found out what I was doing wrong with #C... The trigger that I was looking for to end the capture, had one that I missed right at the beginning that was the EXACT same phrase... So I just set an #IF in there, and it fixed it. So... Basically, it was turning off before it even started... ^^ If that makes any sense... LoL! Its late.

But yeah, windows still not saving correctly... *cries*
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Jul 27, 2005 2:07 am   
 
From Using something to turn captures on and off I would use a Multistate trigger instead of a bunch of IF statements

#TR "captrig" {Pattern to start} {#C+ window}
#COND {Pattern that ends it} {Do nothing here cause we dont want it to end here!}
#COND {Pattern that ends it} {#C-}
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jul 27, 2005 2:10 am   
 
I assume your are talking about secondary "child" windows. Each of those windows needs to have its own seperate settings file saved. Whenever I do this I create the child window offline, postion it and adjust the caption, command-line and status bar as needed. Then while that child window has focus press CTRL-G to open the Settings Editor to work on that child. I will then create any needful triggers or other settings. Then select, from the Settings Editor menu, File|Save. You have to use a file name identical to what you want your window called for it to automatically be loaded, and it must be placed in either the mud specific or the zMud.exe directory.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Wed Jul 27, 2005 3:45 pm   
 
Nexela... I'll look into that later tonight when I have more time, as opposed to my lunch break. ^^ Thanks tho! You've been a GREAT pool of information for me to drain!! LoL!

Vijilante... I did what you suggested, and I'll test that again when I get home tonight to see if the settings did save. Thankx again! =D

-------------------------------------------

Ok... Caputred text, doesn't seem to be formated the same way that its coming from the mud. The reason I'm asking, is for the botchecks that we get periodically. I'm not trying to find a way to answer the botchecks, because thats highly illegal on the mud that I play. However, I would like it to be display'd on my 'info' screen so that I don't have to scroll back, or have it repeat the botcheck. I can see it right there, no worries. But... Like I said, the text that gets captured seems to be formated a different way. Is that supposed to happen? Or am I missing something. The link below is a screen shot of what I'm referring to. On the left, you can see the botcheck as it is shown from the mud, and on the right side, you can see the captured text in the 'info' window.

http://members.cox.net/shaun.murray/ss.JPG

Again, thankx for all your help guys!! ^^ (Now you can see why I want the windows saved? LoL!)
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Wed Jul 27, 2005 6:28 pm   
 
It appears to me that your capture window simply has a different font selected in it's settings file.

If you followed Vijilante's instructions and saved the the settings to a file, then click on that window to give it focus. Then View|Preferences|Fonts... and make sure that the child window's font is identical to the main window.

Finally, with the child window still having focus, File|Save.

Hope that helps.
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Wed Jul 27, 2005 8:32 pm   
 
Hrmmm... I thought would be it too, but when I checked it. All the different settings where all Courier, regular, size 10. However... On the child window, the box marked 'Use Output font from Inherited settings file' was checked. I'm assuming that whatever information that it gets, its going to be exactly like the parent window. I'm going to uncheck that to see if that might help... Any other thoughts?
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Wed Jul 27, 2005 9:00 pm   
 
Aiight... I figured out WHY it looks so messed up. for every line of ####'s it puts in another one... If that makes sense? Now I need to figure out WHATS causing that. Any idea as to why a straight #C+ would be doubling each line? =[
Reply with quote
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Wed Jul 27, 2005 10:47 pm   
 
Oye... Ok, I know what it is now... It was a different trigger I was using for something else. Gonna hafta rework a few triggers... Blah. Anyways, got it all worked out. LoL! Thankx guys!
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Jul 27, 2005 11:12 pm   
 
It is possible (I say possible cause I don't use #C+ and havnt tested it) that you have 2 Triggers capturing it, 2 sets of #C+ and #C-, or even some older capture trigger capturing it.
_________________
Zmud Support Library
Zmud Knowledge Base
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