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
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Dec 08, 2007 3:13 pm   

[2.16] Window scoping problem?
 
I'm in the process of rewriting a package for CMUD
In my old package (ElysiumRPG) then I have a normal window and a 'Channels' window that gets sent all the various channels chat

In the new package (Elysium) I've created a Channels window within the package and created a few triggers


I've got both sessions open at the same time so I have 4 windows
Elysium, Channels
ElysiumRPG, Channels

I would expect that when I use '#WIN Channels ...' from within one package it should go to the window within that package, not to the one in another
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Dec 11, 2007 6:03 pm   
 
I'm not sure I can fix this for the public release. In general, you should avoid having multiple Windows with the same name. CMUD can get confused in several areas about this (and it can save a corrupted layout in some cases too). The #WIN command actually searches for windows in the order that they are created and doesn't look at any sort of scope. This might be improved in the future, but only if the problems with saving layouts with multiple windows of the same name can be fixed.
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