Page 8 of 8

Re: UPDATED Map XML Wizard

PostPosted: Fri May 20, 2011 11:22 pm
by ender516
chipv wrote:
ender516 wrote:Well, it's loading and parsing now, but I'm getting errors that I wouldn't expect, since I don't think I edited the file after the Wizard generated it. It seems like empty <bonus></bonus> pairs are being generated, but these cause errors like:

Error: Line 154 - Type short doesn't allow value ''
Error: Line 154 - Error validating datatype short
Error: Line 154 - Element bonus failed to validate content

By the way, any idea why the loading went bad?


I haven't changed anything in months so looks like a temporary glitch on that server. Can I see your XML?

I am just creating a new file for the Colonial Africa map and have encountered this problem again. Any thoughts?

Also, it would be nice if the Show XML feature could retain the character references (for accented characters). As it is, a reference like &#xe9 gets translated to the actual character é. If I copy out that text to a file, then reload it later, the tool rejects the character.

Re: UPDATED Map XML Wizard

PostPosted: Sat Jun 18, 2011 7:05 pm
by cairnswk
chipv, hi.
I'm working on the Trafalgar xml...
I had originally placed the ordinary ship names in as territories. No prob.
But then i decided to change their names and placed an indicator for which country they belonged to in front of their names.
Am I missing something or other....does the program automatically change names throughout the virtual xml that it generates when you change the name of the a territory.
sorry also if this has been asked previously.

Re: [Online] Map XML Wizard

PostPosted: Sun Aug 14, 2011 10:46 pm
by ender516
In my experience, the Wizard does not reflect name changes throughout the XML. You would likely be better off using a text editor with a global search and replace feature. If you don't have access to such a thing, you could send me your XML and some instructions on the changes you are attempting and I could whip it up in XEmacs and send it back.

Re: [Online] Map XML Wizard

PostPosted: Sun Aug 14, 2011 10:55 pm
by Victor Sullivan
It should be noted that new XML features like max starting positions and losing conditions are not recognized by the Wizard, and will be erased if loaded back into the Wizard. That caused me some trouble with the 2011 World Cup map. It would be neat if chipv would update this...

-Sully

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 1:09 am
by koontz1973
I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 1:39 am
by natty dread
koontz1973 wrote:I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:


Click show xml, copy and paste it to notepad and save on your hard drive. Remember to set encoding to utf8.

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 2:21 am
by cairnswk
koontz1973 wrote:I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:

Koontz1973...
1. Open your text editor and have it ready.
2. When you have entered what you wish in the wizard, hit the Show XML button and a screen will appear with all xml in it. The screen will have a little X on it to close it. Do not close it.
3. Click on that xml screen and it should highlight all the xml in blue.
4. Use Ctl + C to copy it into your computer memory.
5. Then go into your text editor and place the cursor on the blank page
6. Then use Ctl + V to copy it to the page.
7. Then save the page as a file name.
That's the basic of how to copy and save the xml.

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 2:24 am
by cairnswk
Mmmm, for some reason there is problem with accessing that wizard page.

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 2:26 am
by koontz1973
Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 2:27 am
by koontz1973
Tried accessing it myself to redo and cannot get in. Will have to try later.

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 2:51 am
by cairnswk
koontz1973 wrote:Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.

koontz1973...always think of it as practise, then you won't have a mind blowout O:)

Re: [Online] Map XML Wizard

PostPosted: Thu Aug 25, 2011 4:55 am
by Victor Sullivan
koontz1973 wrote:Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.

As my stepmom always says, "Practice makes permanent!" ;)


koontz1973 wrote:Tried accessing it myself to redo and cannot get in. Will have to try later.

It's working for me :?

-Sully

Re: [Online] Map XML Wizard

PostPosted: Sat Sep 03, 2011 7:02 am
by chipv
Apologies but this tool will be discontinued unless the Tech Team wishes to appoint a new keeper, I will not be doing any more work on tools.