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
trist
Newbie


Joined: 17 Sep 2004
Posts: 5

PostPosted: Thu May 31, 2007 12:05 pm   

Import XML in CMUD
 
Has anyone else had trouble with this? I was having a problem with all my scripts seemingly wanting to reference variables in my 'Poison Cure' module, so I exported the module as XML, deleted it from my settings (which fixed the problem with everything else), and tried importing the Poison Cure module again. And it wont import!

It just seems to refresh the settings screen but ignores whats in the XML :-(

I really hope I dont have to manually enter all this in again!
Reply with quote
trist
Newbie


Joined: 17 Sep 2004
Posts: 5

PostPosted: Thu May 31, 2007 3:20 pm   
 
Ok I actually managed to get this to import, but I am still a little confused as to why it seems to think that any new alias I create is trying to reference another modules namespace...

for example, I create an alias in my 'Window', and I would have thought that if I try to access a variable just by doing @var, then it would try to pick it up from the window... But for some reason, CMud looks for it in another module (and of course it doesn't exist)...

I can get round it by writing the variable as @mywindow/var but it's just a bit inconvenient!
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu May 31, 2007 4:17 pm   
 
I'm a little confused by what you're asking. Can you post your alias your package layout please.
_________________
Asati di tempari!
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