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
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon May 16, 2011 3:13 am   

[3.34pro]#SHOWDB broke somewhere along the way
 
It appears that at some point #SHOWDB stopped working. #PRINTing the db variable works just fine (albeit in stringlist form, so not as pretty), but #SHOWDB just returns nothing. Possibly related to JSON addition?
_________________
EDIT: I didn't like my old signature
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon May 16, 2011 8:13 am   
 
Don't have pro to test it out, but it works in standard (as far as I can tell).
Reply with quote
Zugg
MASTER


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

PostPosted: Mon May 16, 2011 1:52 pm   
 
I'm not seeing any problem here. Can you post the XML contents of the variable you are trying to display?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon May 16, 2011 11:36 pm   
 
Code:

<var name="resists" type="Record" id="99">
  <value>Air=47|Electric=203|Pierce=261|Magic=203|Shadow=475|Energy=203|Light=-205|Mental=203|Negative=311|Water=210|Poison=203|Earth=203|Holy=203|Fire=203|Cold=203|Bash=257|Acid=203|Disease=203|Sonic=203|Slash=228</value>
  <json>{"Air":47,"Electric":203,"Pierce":261,"Magic":203,"Shadow":475,"Energy":203,"Light":-205,"Mental":203,"Negative":311,"Water":210,"Poison":203,"Earth":203,"Holy":203,"Fire":203,"Cold":203,"Bash":257,"Acid":203,"Disease":203,"Sonic":203,"Slash":228}</json>
</var>


That's the variable. The variable is located in a module in another package. #PRINTing this variable shows the results just fine, but #SHOWDB doesn't print anything. Guess I'll play around with stuff to see what happened (maybe it's just a commandline thing).
_________________
EDIT: I didn't like my old signature
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