Statistics

Users
3505
Articles
156
Articles View Hits
1554335

Unable to read a battlescript.csv file

1 year 9 months ago - 1 year 9 months ago #1 by parmenio

  • Junior Member
  • Junior Member

  • Posts: 24
  • Thank you received: 2

  • Gender: Male
  • Birthdate: 22 Dec 1962
  • The Scenario Editor crashes with the following error:
    INF Scenario CommandTemplate calling: 14:00:00  tcommon OOB_BR_von_Sachsen
    ERR String [ToInt32] Unable to convert value "73826.69531"
    ERR CsvReader [ToInt32] Unable to convert value 73826.69531 of header "timevar" index:5 C:\Program Files (x86)\Steam\SteamApps\common\Scourge of War Waterloo\Mods\KS Napoleon Mod II 130\Scenarios\KS_QB04 - Quatre Bras (F-Corps)\battlescript.csv

    The value is actually in the ZCoord column.

    Is this a known issue?

    Note: It can't open the original QB DLC scenario either.
    Last edit: 1 year 9 months ago by parmenio.

    Please Log in or Create an account to join the conversation.

    1 year 9 months ago #2 by mitra76

  • Banned
  • Banned

  • Posts: 928
  • Thank you received: 383

  • Gender: Male
  • Birthdate: Unknown
  • I think the problem are the decimals in the coordinate number; try to delete the decimal part of numbers.

    Visit my wargames blog: warforgame.blogspot.it/

    Please Log in or Create an account to join the conversation.

    1 year 9 months ago #3 by parmenio

  • Junior Member
  • Junior Member

  • Posts: 24
  • Thank you received: 2

  • Gender: Male
  • Birthdate: 22 Dec 1962
  • mitra76 wrote: I think the problem are the decimals in the coordinate number; try to delete the decimal part of numbers.


    I'll give that a go - although as I pointed out it's complaining about a problem with the "timevar" column when the value in actually in the Z coordindate column.

    Please Log in or Create an account to join the conversation.

    1 year 9 months ago #4 by parmenio

  • Junior Member
  • Junior Member

  • Posts: 24
  • Thank you received: 2

  • Gender: Male
  • Birthdate: 22 Dec 1962
  • It turns out there was an extra comma on the end of the header row which made the editor think it was an "old" battlescript file :(

    Please Log in or Create an account to join the conversation.