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
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Wed Oct 10, 2007 1:55 am   

[2.05] #DELKEY not firing
 
Doesn't seem to work at all.

Started an untitled session, no settings, offline mode.

#addkey testing test1 1
#addkey testing test2 1
#addkey testing test3 1
#say @testing

Result: test1=1|test2=1|test3=1

#delkey testing test1
#delkey testing test2
#delkey testing test3
#say @testing

Result: test1=1|test2=1|test3=1
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Oct 10, 2007 2:02 am   
 
Confirmed. Wonder what happened.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Oct 10, 2007 2:06 am   
 
Hmm, not sure what happened here, but I'll add it to the bug list. Thanks for the report.

My best guess is that it's deleting the key, but now flagging the string cache as needing an update. So #say shows the same cached string value as before.
Reply with quote
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Wed Oct 10, 2007 2:11 am   
 
This is true. It deletes the key, but what's in memory is not changing, so accessing the variable at all reflects what is in memory instead of what should be the updated variable.

You can delkey and look at it in the package editor and see the key gone.
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