Hello! I'm trying to make a very big map. More than 217 countries.
I managed to create the .map and everything loads fine in map editor, but when testing in the map editor the map never loads, and if I test with the game I get the error: java.lang.OutOfMemoryError: Java heap space.
I didn't finish at all setting up the map in the editor, most countries are in same continent and just linked one to the next. I don't think that could be the error, and don't wanna take the hours of work that represent if the game won't ever load the map. But if you guys think it's the cause of error I sure can try!
A previous test with the same image map but far less countries worked fine.
Thank you for the game and the work it represent!
Anonymous
Starting the game with "java -Xmx2048m -jar Domination.jar" didn't fix the problem
Starting the game with "java -Xmx4096m -jar Domination.jar" didn't fix the problem
Starting with "java -Xss2m -Xms512m -Xmx4096m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m -XX:+UseG1GC -jar Domination.jar" didn't fix the problem
hi, there is an error in this map that you need to fix to be able to play it
if you
- open it in the map editor
- move the image/map fade all the way to the right
- in the list of countries click on each one by one
you will see that the green rectangle that should show you the bounding box of each country will instead be showing a massive area. the the countries are not defined correctly.
luckily this is quite easy to fix, just select ALL the countries in the list, i think you can click on the top and and hold down shift and click on the bottom one to select all of them
then click the button "del islands" at the bottom of the main MapEditor UI
then wait a while, this takes a while for the app to scan the full map.
the tick all the boxes in the table for all the small numbers
as the numbers start to get big, you can look at the map to see if its a real island or just interference
if its a real island, then do not tick the box, an island is defined as any area Other then the main area of a country, so most countries should have no islands, and its usually safe to delete all of them.
then click ok and save the map and it should fix the map
ive attached a screenshot of what it looks like when you are deleting islands