1.04 editor problems

Tech support for Commander Europe at War. Requires forum registration.

Moderators: firepowerjohan, Happycat, rkr1958, Slitherine Core

Post Reply
AlvaroSousa
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1431
Joined: Tue Jul 17, 2007 2:50 am

1.04 editor problems

Post by AlvaroSousa »

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?
firepowerjohan
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1878
Joined: Mon May 22, 2006 7:58 pm
Contact:

Post by firepowerjohan »

Did you add any ground units starting in water?
According to code they should then start in a transport. In latest patch we removed garrison ability to be transported, you sure you did not add any garrison starting on a boat?

In other cases, only was for you to track down it is to use the normal 1939.scn and run and then the new one and run. While it still crashes, try to remove say half of the new units and then half of what is left until you can trace down what unit caused the crash.
Johan Persson - Firepower Entertainment
Lead Developer of CEAW, CNAW and World Empires Live (http://www.worldempireslive.com)
Redpossum
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1814
Joined: Thu Jun 23, 2005 12:09 am
Location: Buenos Aires, Argentina
Contact:

Post by Redpossum »

Question/Suggestion -

You said you created both a scenario and new map file, a new ww2.map? Did you move that new .map file into the appropriate game directory, where the game can find it when it goes to load your new scenario?

What about the new ww2_city_eng.txt file that was auto-created to go with that new map?

Oh, and those two files go in slightly different directories...
AlvaroSousa
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1431
Joined: Tue Jul 17, 2007 2:50 am

Post by AlvaroSousa »

I put the ww2.map and the associated file in the right spot.

I looked over the map SEVERAL times yesterday. But I will look at coastal units to see if there is some impact on water.

Thanks for the help. Had to up date my 1939 historical mod to 1.06.
Post Reply

Return to “Commander - Europe at War : Tech Support”