I keep trying to upload an XML document to a board, and the designer keeps stopping at the same line of code, but I've rewritten it as a copy of the above line multiple times and still can't find why it won't read past this one line.
<continent continentid="10597007" boardid="6429" name="P1F3 Large Bomb C3" bonus="-2" members="262,323,324,325" factory="25" factory_type="AutoCapture" factory_cap="0" />
<continent continentid="10597008" boardid="6429" name="P1F3 Large Bomb I3" bonus="-2" members="262,323,324,325" factory="94" factory_type="AutoCapture" factory_cap="0" />
It loads the first continent, then doesn't load the second, and won't load any after "P1F3 Large Bomb C3" is loaded.
Thoughts?
Follow up... If I switch the lines, it reads "P1F3 Large Bomb I3" and not "...C3"
Does the player just stop reading continents after a certain number of lines?
I've Had troubles before with:
the " character not being the right kind
Repeats. But those look unique - if the xml comes across something thats the same as before it gets confused
The obvious but critical - close your tags
Might be the -2 bonus - check for em dash
and I have had problems with larger files before. But Ozyman, or Korrun will be able to speak to specifics better I think.
If I move the continent up, as is, it comes out right, but the next one gets booted, and all the rest. I'm thinking it cut me off.
Did you try moving a different continent up? Maybe something with those two specifically?
I deleted both lines, and it added the next continent, and stopped there.
How many continents do you have?
It cuts off around 1480, which can't be the limit, right?
I think the limit is more related to the file size than the number of continents or factories.
This one has 2958 continents:
This one has a 2.5 mb xml currently, but had up to 3.9 mb during development:
Tom is looking into it, I honestly I can't figure it out. It's stopping like there's a typo, but there isn't one.
Don't know how... but it seems to be working now. Which is super exciting!
Seeing a new board of yours is super exciting also!
:D