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
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Wed May 05, 2010 12:42 am   

[3.16b] Bug: #update locks up multistate buttons.
 
#update appears to lock up multistate buttons, preventing them from changing states. This can cause a multistate button to become useless if you're constantly using #update. Here's an example:

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger type="Alarm" priority="40" copy="yes">
    <pattern>*0.1</pattern>
    <value>#update Test1
#update Test2
#update Test3</value>
  </trigger>
  <button type="Multistate" priority="160" copy="yes">
    <caption>Multi</caption>
    <button>
      <caption>one</caption>
    </button>
    <button>
      <caption>two</caption>
    </button>
  </button>
  <button name="Test1" priority="13" copy="yes">
    <caption>1</caption>
  </button>
  <button name="Test2" priority="12" copy="yes">
    <caption>2</caption>
  </button>
  <button name="Test3" priority="10" copy="yes">
    <caption>3</caption>
  </button>
</cmud>



Edit: It appears something is causing the multistate button to get exported wrong. The button states of are being copied twice; The second time as separate buttons.

Edit2: Ah, it's because I was exporting by selection and I had the multistate button expanded.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed May 05, 2010 4:47 pm   
 
Confirmed and added to bug list. Thanks for posting the detailed script.
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