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
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Wed Dec 24, 2008 5:22 pm   

[2.37] Bad XML export
 
When I try to export these settings:

http://www.mediafire.com/?jbxjk9fglhl

The xml exports badly, the problem arises in the xpstats trigger
Reply with quote
calesta
Apprentice


Joined: 07 Dec 2008
Posts: 102
Location: New Hampshire, USA

PostPosted: Wed Dec 24, 2008 6:20 pm   
 
I tried downloading the package and loading it. Somehow all of the classes in the package aren't contained in a module or window at all. Is it like that for you too? I didn't think it was valid to have classes and other settings outside of a module or window, so maybe this is what is causing the other problems?

If I use the File/Export XML (All) menu to do the export, I get a valid XML file, but none of the settings are in it. Is that what you mean by bad XML? If I copy all of your class folders and other settings and paste them into a new package that I created so they are now inside a module, the File/Export XML (All) menu option correctly gives me an XML file with all of the settings in it.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Jan 05, 2009 2:19 pm   
 
I haven't taken a look at the package, but Calesta is correct. All settings must be within a module or window. Bad things can happen if that isn't true. Some old versions of cmud had a bug which allowed classes to be formed directly under the package, but that bug has been fixed. It should not be possible to create new classes outside of a module or window under the current version, but perhaps your package got messed up under an old version? Send a bug report if it has happened under v2.37.
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