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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Oct 13, 2007 9:44 pm   

[2.06] Record Variable Import problems
 
I had numerous record variables that were in the form of

key1 value|is|a|nice
key2 list|of|things
key3 that|I|wanted|organized|in
key4 this
key5
key6 fashion

Now when examining the results from the import all such variables that a list in the values are destroyed. This seems to have been caused by the change in record storage to use | and = as seperators. The conversion process though does not make the change and leaves the old non-printable characters in. This causes complete confusion in the variables and sometimes throws off the autotype as well.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Oct 20, 2007 4:18 pm   
 
I am still seeing this problem in 2.07
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sat Oct 20, 2007 4:52 pm   
 
This is reimporting the *.MUD file into 2.07?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Oct 20, 2007 5:05 pm   
 
This was taken from a fresh import of the .mud with 2.07.

Examining exiting packages from 2.06 yield pretty much the same results.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Oct 22, 2007 7:35 pm   
 
Can you post the *.MUD file that you are importing? I didn't see these variables in the current files that you have posted.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Oct 23, 2007 4:44 pm   
 
This is the CMud 2.08 display of the variable. It is the exact same value zMud 7.21 had.
Code:
Variable: + FullAfflictions     (Auto)        stupidity<30>touch tree|focus|eat goldenseal<29>broken leg<30>touch tree|apply mending to legs<29>ablaze<30>touch tree|apply mending to body<29>asthma<30>touch tree|fitness|eat kelp<29>dizziness<30>touch tree|focus|eat goldenseal<29>shyness<30>touch tree|focus|eat goldenseal<29>dissonance<30>touch tree|eat goldenseal<29>cold<30>touch tree|apply caloric to body<29>recklessness<30>touch tree|focus|eat lobelia<29>confusion<30>touch tree|focus|eat ash<29>clumsiness<30>touch tree|eat kelp<29>haemophilia<30>touch tree|eat ginseng<29>darkshade<30>touch tree|eat ginseng<29>manaleech<30>touch tree|smoke valerian<29>epilepsy<30>touch tree|focus|eat goldenseal<29>anorexia<30>touch tree|focus|apply epidermal to body<29>relapsing<30>touch tree|eat ginseng<29>vomiting<30>touch tree|eat ginseng<29>disloyalty<30>touch tree|smoke valerian<29>slickness<30>touch tree|smoke valerian|eat bloodroot<29>weakness<30>touch tree|focus|eat kelp<29>sensitivity<30>touch tree|eat kelp<29>stuttering<30>touch tree|apply epidermal to head<29>lethargy<30>touch tree|eat ginseng<29>vertigo<30>touch tree|eat lobelia<29>loneliness<30>touch tree|focus|eat lobelia<29>masochism<30>touch tree|focus|eat lobelia<29>hellsight<30>touch tree|smoke elm<29>aeon<30>touch tree|smoke elm<29>claustrophobia<30>focus|eat lobelia<29>agoraphobia<30>focus<29>pacifism<30>focus|eat bellwort<29>deadening<30>smoke elm<29>hypochondria<30>eat kelp<29>paralysis<30>eat bloodroot<29>addiction<30>eat ginseng<29>unblind<30>eat bayberry<29>undeaf<30>eat hawthorn<29>dementia<30>eat ash<29>generosity<30>eat bellwort<29>hallucinations<30>eat ash<29>healthleech<30>eat kelp<29>hypersomnia<30>eat ash<29>impatience<30>eat goldenseal<29>justice<30>eat bellwort<29>lovers curse<30>eat bellwort<29>paranoia<30>eat ash<29>peace<30>eat bellwort<29>concussion<30>apply restoration to head<29>mangled left leg<30>apply restoration to legs<29>mangled right leg<30>apply restoration to legs<29>damaged left leg<30>apply restoration to legs<29>damaged right leg<30>apply restoration to legs<29>mangled torso<30>apply restoration to torso<29>damaged head<30>apply restoration to head<29>damaged torso<30>apply restoration to torso<29>mangled left arm<30>apply restoration to arms<29>mangled right arm<30>apply restoration to arms<29>damaged left arm<30>apply restoration to arms<29>damaged right arm<30>apply restoration to arms<29>broken arm<30>apply mending to arms<29>itching<30>apply epidermal to body


This results in the screen shots above, giving bad return values both in scripts and in the PE
#SHOW %db(@FullAfflictions,"stupidity")
Displays with 2.08
touch tree
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Oct 23, 2007 5:27 pm   
 
Is there any way for you to upload your *.MUD file to the Guru area? The bug is in the conversion process (it is supposed to convert from the old format that had the <29> and <30> control characters into the newer format that uses | and =) so I really need the original MUD file to test this. Otherwise I'll just need to try and create my own and see what I can find. But it would be better if I had a "real" MUD file to work with.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Oct 23, 2007 6:51 pm   
 
Files all uploaded in one zip. The variable used for that screen shot can be found in the achaea_def.mud. I would suggest that an easier one to get at is found in the Room.mud. The name is ZoneBorders, and it is in the AutoWalker class.

There is one odd record variable in the achaea_def.mud that imports correctly. For whatever reason zMud had stored it using the parenthesis around key/value pairs. The import shows CMud maintains that original value, but is able to properly display and work with it. That variable is PQueueData.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Oct 23, 2007 9:40 pm   
 
OK, got the files and will take a look at it. I'll let you know what I learn.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Oct 26, 2007 2:42 am   
 
Fixed for v2.09
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