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: Sat Jun 12, 2010 4:06 am   

[3.19c] BUG: Corrupted Variable (Again)
 
Edit: Simplified the procedure and script.

It looks like the variable corruption issue wasn't quite fixed. This should reproduce the issue:

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <class name="Test" copy="yes">
    <trigger priority="26130" copy="yes">
      <pattern>Fire Trigger</pattern>
      <value>#PRINT {Trigger Fired!}
#ADDKEY food dinner cheese
#ADDKEY food entree 1
#DELKEY food dinner
#PRINT {Food: %expanddb( @food, ", ")}</value>
    </trigger>
    <alias name="test" copy="yes">
      <value>#echo {Fire Trigger}</value>
    </alias>
    <var name="food" copy="yes"/>
  </class>
</cmud>


Import and use the 'test' alias.

Edit: When I imported this into my session and tried it, the variable was obviously not working correctly, but I didn't receive an error message. To receive the error message I had to delete the variable, then run the script again. Upon doing this, looking at the variable in the package editor, receiving another error, and closing the package editor, cmud froze. Additionally, after reopening cmud, I had settings outside of any module/window setting in the package editor. So, very nasty stuff.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jun 14, 2010 4:45 pm   
 
Confirmed. Definitely still something wrong with #DELKEY messing up the variable.
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