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
NowhereMan
Beginner


Joined: 09 Dec 2004
Posts: 10

PostPosted: Thu Dec 09, 2004 9:42 pm   

#ShowDB not working (no output)
 
i have 7.05 on windows xp (no sp2)

#showdb has no output

e.g.

#VAR Tmp %addkey(%addkey("",one,1),two,2)
#showdb @Tmp

nothing happens!

is this something i messed up by fiddling with preferences, etc?

anybody know how to fix it?
Reply with quote
Vorax
Apprentice


Joined: 29 Jun 2001
Posts: 198
Location: USA

PostPosted: Fri Dec 10, 2004 12:22 am   
 
I've had that kind of problem myself. Using %expanddb usually produced some output even though #SHOWDB didn't.
_________________
Implementor at House of Ghouls
Telnet to House of Ghouls
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Fri Dec 10, 2004 3:41 pm   
 
I can't see a problem. #showdb works perfectly fine for me on 7.05, using that example you provided. Quite probably, when you are using the line:

#VAR Tmp %addkey(%addkey("",one,1),two,2)

It is putting the Tmp variable into a class folder, so when you use #showdb @Tmp it can't find the @Tmp variable outside of the folder, so it shows nothing.

Try it this way:

#VAR Tmp {%addkey(%addkey("",one,1),two,2)} "" ""
#showdb @Tmp

And it'll probably work.
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Mon Dec 13, 2004 4:11 pm   
 
If you disable "Echo messages" in your Script Parser preferences, the #SHOWDB command has no output. To get around this, you can use #LOOPDB and provide your own formatted output commands with #SHOW or some similar command.
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