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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Nov 06, 2007 8:55 am   

[2.10] Buttons and Expression triggers with global variables
 
Right now if a global variable is changed in one window other windows only seem to partially know about it. I checked a button caption, an expression trigger, and a status bar. Only the status bar updated, when all 3 should have worked.

Procedure
1. Launch CMud
2. Close Sessions window (ESC)
3. Enter at the command line
Code:
#MODULE pub;#VAR a 0;#CLASS 0;#WINDOW test;:test:#TRIGGER (@a) {#SHOW fired};:test:#BUTTON 1 {@a} {};:test:#STATUS {@a}

4. Turn on the status bar for the test window (sorry couldn't do that in the single paste)
5. Enter at the command line
Code:
a=1


You will see the status bar updates, although nothing else does. I really don't want to use the status bar to build expression triggers...it could be fun though and would be next to impossible to debug. Twisted Evil
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Tech
GURU


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

PostPosted: Tue Nov 06, 2007 2:52 pm   
 
Confirmed. The button updates when you click it.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Nov 06, 2007 5:41 pm   
 
Confirmed and added to bug list. I think this is related to that other post about the button update messages going to the wrong window.
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