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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Ins0mniak
Apprentice


Joined: 27 Apr 2001
Posts: 110

PostPosted: Tue Jun 28, 2005 5:41 pm   

[All Versions?]#VAR assignment bug...
 
If you assign a variable with a specified class that is disabled, and that variable already exists within the class, it does not change its value, but creates a new variable with the same name.

#T- TestClass
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}

This results in 5 variables named "TestVar" being located inside the "TestClass" class.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jun 29, 2005 12:26 am   
 
Add this to the Bug Tracking system so that it can get fixed in a later version. When a class is disabled, most of zMUD doesn't "see" the class as existing at all, and I can see where this might cause a new variable to get created (it's probably also trying to recreate the TestClass class, but nothing happens when it tries to add a new class with the same name).
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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