StringIndexOutOfBoundsException
-
I tried to load a map after having made some changes to the XML but now I am getting this error:

Anybody an idea what this error means and how to fix it?
-
It has something to do with the map dimensions. It happened to me but Idk what I did to fix it.
I think I just reloaded everything. Check your map properties and reset even though you didn't change it.
Can also read through Elk's map making guide where he talks about map width and height. Might be something in there.
-
it is discussed here as well https://forums.triplea-game.org/topic/1499/error-in-loading-centers-txt?_=1734882789048
-
@beelee I got it to work, thanks to your help!
It turned out there were two territories still included in the place.txt that I wanted to remove from the module. I thought removing their place boxes would do the job but they actually were still in the place.txt, just without any coordinates. This caused the String Index Out Of Bounds error. Lesson learned!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login