Page 1 of 1

[Solved] Odd error.

Posted: Fri Sep 13, 2013 3:06 pm
by Esoteric Rogue
I've done as much trouble shooting as I can for now.

With my list of cities, I get this error:

Image

Using the cities from another thread, everything works fine (partial clip):
City=London
City=Rio De Janeiro
City=New York
City=Tokyo
City=Shanghai
City=Moscow
City=Buenos Aires
City=Berlin
City=Sydney
City=Paris

But my code does not work (full code):

Code: Select all

[HEADER]
Title=City Test 1
Description=This is a city test script.

[ENVIRONMENT]
Number of Cities=10

[CITIES]
City=New York City
City=Shanghai
City=Mumbai
City=Tokyo
City=Berlin
City=Moscow
City=Sao Paulo
City=London
City=Paris
City=Rome
I will try one at a time when I get time.

_____Edit
It was because I didn't have coordinates defined. Sorry for the touble.

Re: [Solved] Odd error.

Posted: Sun Sep 15, 2013 9:48 pm
by carpii
Just a stab int he dark, but try renaming "City=New York City" to "City=New York"

Maybe the script parser is seeing City and assuming you are starting a new entry.
Granted that would not be a very smart parser, but worth a try...