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
Mumra
Wanderer


Joined: 12 Feb 2003
Posts: 93
Location: USA

PostPosted: Tue May 10, 2005 11:19 am   

Capture windows..
 
First I'd like to start of by saying I use one settings file for all of my characters. Note, this does not mean one per character, but one global settings file. My problem being this:

1 ) Log on character Mumra. opens up a capture window named
"channels"
No problem, just the way i love it.

2) Log on second character. opens up the character window, and unfortunately it opens up a second capture window named "channels".

Is there a way I can have zMUD avoid opening another new child window
when one exists with that name already?
_________________
Mumra the Everliving, Realms of Despair
216.251.47.10 Port 4000
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Tue May 10, 2005 8:34 pm   
 
Try

#if (%window(Channels) != 1) {#WINDOW Channels}
In other words, if the Channels window doesn't exist, make it.

Guinn
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Mumra
Wanderer


Joined: 12 Feb 2003
Posts: 93
Location: USA

PostPosted: Wed May 11, 2005 6:10 pm   
 
You don't get it. it isn't based on a trigger. it is based on saved windows.. if i was to use that trigger, and save my settings with the window open, it would also just do exactly what it is now..
_________________
Mumra the Everliving, Realms of Despair
216.251.47.10 Port 4000
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu May 12, 2005 3:22 am   
 
Quote:

Is there a way I can have zMUD avoid opening another new child window
when one exists with that name already?


Set up your layout to look exactly like you want it (Mumra's game window, Character2's game window, the various child windows). Save layout. Unlike with a single character, instead of just popping up a message box saying something like "Layout saved.", a textbox will appear asking for the name of the file icon. Name it something (ie, "Mumra and Character2"), click OK. Forever after, when you want to connect these two characters together, lick the "Mumra and Character2" icon in the Character Selection window. Two character icons, one layout, zero problems.

Now, I didn't fully test this feature so I dunno if you can still keep the layout for Character2 as per your settings for the Character2 icon. If not, you will have to uncheck the Use Layout box in the Files tab of that character.
_________________
EDIT: I didn't like my old signature
Reply with quote
DeathDealer
Adept


Joined: 20 Jul 2004
Posts: 268

PostPosted: Thu May 12, 2005 2:44 pm   
 
I think he means like when he plays the 2 cahractes seperate he has #cap scripts for both.
But when he plays then together, if for Char1 there is a window called TELLS & for Char2 there's a window called TELLS, how can he have them merged so that there is just ONE window called TELLS.
At least that is my guess.
I have the same prob.
Had to actually turn off my #caps for the 2nd char cause the extra chat windows ticked me off, and everything was going into just one of the 2 chat windows any way
_________________
Reply with quote
Mumra
Wanderer


Joined: 12 Feb 2003
Posts: 93
Location: USA

PostPosted: Fri May 13, 2005 5:50 am   
 
that's basically it, DeathDealer. I can do it with triggers, and have it work fine. my main problem is when i load a character, if it has a
'child' window saved in it settings, then when i open it it automatically opens the window, regardless of a trigger. sure, i could make a
trigger to close the extra window.. but i'm more curious if there is a way to just stop it from popping up in the first place.
_________________
Mumra the Everliving, Realms of Despair
216.251.47.10 Port 4000
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri May 13, 2005 10:17 pm   
 
DeathDealer, your problem is solely a layout file problem. You are connecting two characters in succession. If both characters are set to use a layout file, that means both characters will load up their assigned layout files and apparently the layout module doesn't check for the existence of common windows (this last part is probably a bug and should be reported if it hasn't already).

What you need to do is create a multi-character layout. An MCL will allow you to combine two layouts into one file, moreorless, and handles the connection of ALL the characters contained therein. See my previous post about how to create an MCL. As I said in that post, I dunno if it will change the layout behavior so if it does not you will have to stop using a layout for one character.
_________________
EDIT: I didn't like my old signature
Reply with quote
Mumra
Wanderer


Joined: 12 Feb 2003
Posts: 93
Location: USA

PostPosted: Mon Jul 23, 2012 1:11 am   
 
Talk about a necro thread! But it is my own thread. Anyway. The problem still persists.. and while MattLofton's solution would work if I was constantly logging the same two characters.. my experience is fluid. I have upwards of 40 different characters at max level. I use simple aliases to log them, it opens them up, etc. but the multiple child window thing is still an issue. Is there a way to make it so the default layout is NO child windows.. and no matter what.. that setting never changes? This would pretty much solve my issue I guess. Since one would only be opened on an actual captured trigger. The window just wouldn't open till then.
_________________
Mumra the Everliving, Realms of Despair
216.251.47.10 Port 4000
Reply with quote
Petrograd
Novice


Joined: 08 Dec 2005
Posts: 35
Location: Sweden

PostPosted: Tue Aug 21, 2012 7:16 am   
 
Make separate "sessions" for each window? That never get connected, but that you open a session on? Could have an alias to open it up, but you'd use #ses instead of #window.

Could also make a trigger on logging on to open up those sessions if they aren't already opened.
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