Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
wedrifid
Beginner


Joined: 10 Dec 2006
Posts: 15

PostPosted: Thu Jan 11, 2007 9:07 am   

[1.24] Recompiling and #rename Bug
 
There appears to be a minor bug with the recompilation of aliases when the #rename command is used.

Try this (copy and past):
#alias temp {#say temp;temp2}
#alias temp2 {#say temp2}
temp
#rename temp oldtemp
#alias temp {#say newtemp;temp2}
#alias temp2 {#say newtemp2}
temp

The output given is:
temp
temp2
temp renamed to: oldtemp
temp <-- Should be newtemp not temp.
newtemp2


Note that exiting CMUD then opening again alleviates this problem. running 'temp' after rebooting gives the expected output. Waiting a while also seems to fix the problem (background compilation of the new trigger occurs eventually).


Anyone using my debugging package from the library will find that if debugging an alias and one of it's called aliases at the same time then the called alias will not be debugged normally unless one of the above workarounds is used.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jan 17, 2007 10:48 pm   
 
Added to bug list
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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