About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Wed Jun 23, 2010 7:50 pm   

[3.20] Bug with %db and using references
 
Hello.
I noticed some errors when using %db(variableWithoutAt, "someKey").
Let's say that I have a variable named 'variableWithoutAt' that is Database Record type. After I open the cMud and open a session, all my scripts that are using %db with references, for example mentioned %db(variableWithoutAt, "someKey"), return no value. I have to open Package Editor and find those variable, simply click on them and close the Package Editor, to force the script to work.

I also noticed that when the variable doesn't have Database Record, but Autotype (for example from old script before the update), functions %db (and others) returns no value when using reference.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jun 23, 2010 7:58 pm   
 
I cannot reproduce this problem. Perhaps you can post the XML for your variables or send me your *.pkg file to sales@zuggsoft.com.

Here is a test that I just ran:
Code:
dbvar={name=zugg|level=20}
#show %db(dbvar,name)

worked fine and displayed "zugg"

For the issue with the variable that does not have a Database record, I also need to see the XML import value for this. Any autotype variable should still work properly with %db and I also cannot reproduce this problem.

Remember when making a bug report that you need to post an exact procedure for me to reproduce the bug. If I can't reproduce it, I can't fix it.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Wed Jun 23, 2010 8:17 pm   
 
I sent You an e-mail with a topic named "Bug with %db and using references"
Best regards
Yodous
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jun 23, 2010 9:53 pm   
 
Got the file and will let you know tomorrow what I find.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Wed Jun 30, 2010 9:43 pm   
 
Even after update to 3.21 I've this problem Zugg. Any ideas?
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Wed Jun 30, 2010 10:45 pm   
 
Did you happen to use any of the 3.19a-f versions? One of them might have messed up some of your variables.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jun 30, 2010 11:52 pm   
 
Yep, I got it and reproduced the error. It's on the bug list and should be fixed for the next version.
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