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
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sun Sep 02, 2007 2:51 am   

[2.02] Can't duplicate or import scripts with &text; in it (+ other entity prob)
 
I started off with a trigger and script with a sub in it (see #SUB / Ansi thread), and realised that I couldn't copy and paste the setting, or import it via XML if I exported it first (even if I changed the pattern in the XML to avoid a duplicate). So I have finally nailed the issue and it is with &text;

If you have a trigger or alias or probably anything with even just this:
#SHOW &text;
in it, you will be unable to copy and paste the setting (to make a duplicate). If you take out the semicolon, you suddenly can.

This bug does not exist in 1.34, and looks to be as a result of the XML changes, as I have also noticed this problem:-

If you have a trigger or alias with this in it:
#SHOW <

When you copy and paste it, the new copy gets:
#SHOW <

So, it looks like all entities try to get reconverted when pasting or importing a setting, and obviously &text; cannot be, since there is no other symbol for this, and therefore the paste or import fails.

Also, even entities that can be reconverted should not be reconverted *unless* it was the export that caused them to be converted into entities in the first place. It will be very annoying for people who like to code entities in their code if CMUD converts these all back to the symbols.
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sun Sep 02, 2007 1:39 pm   
 
Nice catch, though there are other issues also going on with XML importing/exporting/editing that are on Zugg's list too :)
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Sep 03, 2007 5:19 pm   
 
Thanks for the report. Added to bug list.
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