Conquer Club

[Online] Map XML Wizard

How to make a map. Official Handbook, Guides, Tutorials and more...

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.

Re: UPDATED Map XML Wizard

Postby ender516 on Fri May 20, 2011 11:22 pm

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.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: UPDATED Map XML Wizard

Postby cairnswk on Sat Jun 18, 2011 7:05 pm

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.
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: [Online] Map XML Wizard

Postby ender516 on Sun Aug 14, 2011 10:46 pm

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.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: [Online] Map XML Wizard

Postby Victor Sullivan on Sun Aug 14, 2011 10:55 pm

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
User avatar
Corporal Victor Sullivan
 
Posts: 6010
Joined: Mon Feb 08, 2010 8:17 pm
Location: Columbus, OH

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 1:09 am

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:
Image
User avatar
Lieutenant koontz1973
 
Posts: 6960
Joined: Thu Jan 01, 2009 10:57 am

Re: [Online] Map XML Wizard

Postby natty dread on Thu Aug 25, 2011 1:39 am

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.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:21 am

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.
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:24 am

Mmmm, for some reason there is problem with accessing that wizard page.
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 2:26 am

Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.
Image
User avatar
Lieutenant koontz1973
 
Posts: 6960
Joined: Thu Jan 01, 2009 10:57 am

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 2:27 am

Tried accessing it myself to redo and cannot get in. Will have to try later.
Image
User avatar
Lieutenant koontz1973
 
Posts: 6960
Joined: Thu Jan 01, 2009 10:57 am

Re: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:51 am

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:)
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: [Online] Map XML Wizard

Postby Victor Sullivan on Thu Aug 25, 2011 4:55 am

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
User avatar
Corporal Victor Sullivan
 
Posts: 6010
Joined: Mon Feb 08, 2010 8:17 pm
Location: Columbus, OH

Re: [Online] Map XML Wizard

Postby chipv on Sat Sep 03, 2011 7:02 am

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.
User avatar
Captain chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Previous

Return to Tools & Guides

Who is online

Users browsing this forum: No registered users