Error in loading centers.txt
RogerCooper last edited by Cernel
When loading centers.txt, I receive the error "StringIndexOutOfBoundsException - being 0, end -1 length 13
Here is the map:
@RogerCooper Can you post the map zip. Most likely there is something invalid about your centers.txt.
@RogerCooper Uh. That is a very incomplete map zip. Are you getting that error in the map creator?
@redrum Yes, I am using Map Creator.
@redrum Any progress on figuring this out? Does anyone else receive this sort of error?
@RogerCooper Just tried to do it with 18.104.22.168.13066 and initially I failed, cause I got confused because of the incomplete state of the map. Anyways, what I believe you are doing wrong, I guess, is loading the "centers" (or something inappropriate anyways) when the mapmaking utility prompts you to "Select A Polygon File". Since you have none, you must simply skip that offer, and the Center Picker should function normally.
Let us know if this solves your issue, then I'll move this topic to "Mapmaking".
p.s.: (at the developers) The mapmaking utility should probably state that providing a polygon is optional, especially since you shouldn't normally have one, as you are supposed to define the centers before the polygons (but normally at this point you should not have the centers either, so no risk of loading them, instead).
@Cernel That message is marking think that I need to cleanup my territory borders before setting centers.
@RogerCooper I edited the post, forget about that. What I did wrong was loading the centers when the utility asked for the polygons (that you don't have). Did you make the same mistake?
@Cernel Yes, I did