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
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4805
Location: Pensacola, FL, USA

PostPosted: Wed Mar 12, 2008 12:48 am   

[2.18] %names
 
Does not contain the names of player made child windows as the predefined variables definitions page would suggest

the pipe '|' symbol is still added, but it appears to add a null value instead of the name
_________________
Discord server
Reply with quote
JQuilici
Adept


Joined: 21 Sep 2005
Posts: 250
Location: Austin, TX

PostPosted: Wed Mar 12, 2008 2:48 am   
 
Confirmed. The following code at the command line (in an empty session):
Code:
#show %names
#win foo
#show %names
#win bar
#show %names

produces
Code:
untitled
untitled|
untitled||

in addition to creating the two child windows.
_________________
Come visit Mozart Mud...and tell an imm that Aerith sent you!
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Mar 12, 2008 3:05 am   
 
I think this one is somewhere on Zugg's list since I remember reporting it. Similarly when you open a session with multiple windows they do not get added to %names. If I remember right %names will contain 'mainWindow|' no matter how many windows get opened during the intial session load.

It is possible that I saw it, crashed CMud, and reported the crash. Then imagined I reported %names as well. I know I noticed it being wrong quite a few versions ago (like 2.13 or so).
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
JQuilici
Adept


Joined: 21 Sep 2005
Posts: 250
Location: Austin, TX

PostPosted: Wed Mar 12, 2008 3:56 am   
 
There's also something weird with windows in other packages. I haven't built a test case yet, but I tried opening a package containing two windows into my untitled session (immediately after my post above), and the %names variable then held 'untitled|||Info|Dbg'. However, I later opened my regular session (which contained the same package), and %names held 'Ichiro' - not even the '|'s. Question
_________________
Come visit Mozart Mud...and tell an imm that Aerith sent you!

Last edited by JQuilici on Wed Mar 12, 2008 5:24 pm; edited 1 time in total
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Mar 12, 2008 6:04 am   
 
I recall it as well. I just figured it was on Zugg hydra-like list of bugs and feature requests. He smashes an obscure bug, we find an even more obscure one. He smashes that one, we put in a feature request. He gives us the feature request, we find an obscure.

Thanks Zugg for being a glutton for punishment. Very Happy
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Mar 12, 2008 5:14 pm   
 
I'll put this back on my long, "hydra-like" bug list ;)
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