1.04 editor problems
Posted: Fri Aug 29, 2008 1:29 pm
made a new ww2.map. Loads fine with standard 1939 scen and the game works. I modded some cities for production. I did not change the map itself.
I then modded the 1939.scn file simply to add more units to the game.
It loads but when I click the check mark to run the game it locks up.
In the error.log I get this.
---------
Exception in thread "Thread-8" java.lang.ArrayIndexOutOfBoundsException: -1
at game.Game.getHex(Game.java:8041)
at game.Country.allGroundUnitsOnTarget(Country.java:412)
at game.Game.setUpGame(Game.java:9788)
at game.Game.run(Game.java:10238)
---------
Did yall set a limit on # of units per country and the array went beyond its limits?
Or is this a map position error?
I then modded the 1939.scn file simply to add more units to the game.
It loads but when I click the check mark to run the game it locks up.
In the error.log I get this.
---------
Exception in thread "Thread-8" java.lang.ArrayIndexOutOfBoundsException: -1
at game.Game.getHex(Game.java:8041)
at game.Country.allGroundUnitsOnTarget(Country.java:412)
at game.Game.setUpGame(Game.java:9788)
at game.Game.run(Game.java:10238)
---------
Did yall set a limit on # of units per country and the array went beyond its limits?
Or is this a map position error?