189 Open Daily games
2 Open Realtime games
    Pages:   1   (1 in total)
  1. #1 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    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?


  2. #2 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    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?


  3. #3 / 15
    Standard Member ratsy
    Rank
    Brigadier General
    Rank Posn
    #64
    Join Date
    Jul 10
    Location
    Posts
    1274

    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.

    "I shall pass this way but once, any good I can do, or kindness I can show; let me do it now. Let me not defer nor neglect it, for I shall not pass this way again." -Stephen Grellet

  4. #4 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    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.


  5. #5 / 15
    Standard Member ratsy
    Rank
    Brigadier General
    Rank Posn
    #64
    Join Date
    Jul 10
    Location
    Posts
    1274

    Did you try moving a different continent up? Maybe something with those two specifically?

    "I shall pass this way but once, any good I can do, or kindness I can show; let me do it now. Let me not defer nor neglect it, for I shall not pass this way again." -Stephen Grellet

  6. #6 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    I deleted both lines, and it added the next continent, and stopped there.


  7. #7 / 15
    Standard Member Korrun
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Nov 12
    Location
    Posts
    842

    How many continents do you have?


  8. #8 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    It cuts off around 1480, which can't be the limit, right?


  9. #9 / 15
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #72
    Join Date
    Apr 10
    Location
    Posts
    5083

    I think the limit is more related to the file size than the number of continents or factories.

    Card Membership - putting the power of factories in your hand.

  10. #10 / 15
    Standard Member Korrun
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Nov 12
    Location
    Posts
    842

    This one has 2958 continents:

    http://www.wargear.net/boards/view/6319

    Edited Sat 14th Nov 13:43 [history]

  11. #11 / 15
    Standard Member Korrun
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Nov 12
    Location
    Posts
    842

    This one has a 2.5 mb xml currently, but had up to 3.9 mb during development:

    http://www.wargear.net/boards/view/Battle+of+Bladensburg


  12. #12 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    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.


  13. #13 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    Don't know how... but it seems to be working now.  Which is super exciting!


  14. #14 / 15
    Prime Amidon37
    Rank
    General
    Rank Posn
    #3
    Join Date
    Feb 10
    Location
    Posts
    1871

    Seeing a new board of yours is super exciting also!


  15. #15 / 15
    Factory Worker Edward Nygma
    Rank
    Major
    Rank Posn
    #127
    Join Date
    Nov 09
    Location
    Posts
    1066

    :D


You need to log in to reply to this thread   Login | Join
 
Pages:   1   (1 in total)