New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TripleA 2.6.33.8af5587ac3 crashes some maps with centers.txt error #10417
Comments
I cant test with pre release. Does it do it with other maps ? revised or global being two of the more popular ones |
I dont play on many ww2 maps, I did test the Napoleonic map and it does not crash it. The crash happens within seconds of launching an all AI game on Strangely the crash does not occur on the published The Shogun map, which shares lots of code/text with The Shogun Advanced map. |
Hmm ... seems as if it doesn't like something with the way the map is set up. With the centers that is. I think that means where stuff is located on the map ? Not real knowledgeable about the graphics part of triplea. @WCSumpton you run into this before ? |
To be clearer this crash error effects all versions after 2.6.33.8af5587ac3 The map Im currently working on/building also crashes with the same error, so I cannot test the latest version of TripleA. |
I just tried ww2 oil and snow on current 2.6 HEAD and I'm not seeing a centers.txt error. I do get a different error in an all-AI game (during British purchase phase): |
Im not sure which version 2.6 HEAD is, but downloaded 2.6.791 and still has the same error centers.txt error Here is a link to Shogun Advanced, its not published or complete, it has the same error Attached triplea.log deleted it, then running both ww2 oil and snow & Shogun Advanced to get the error. This might be unrelated but in TripleA-2.5.22294 these game notes load correctly but in 2.6 they are; . It does not use the conventional game notes method, it has; In 2.5.22294 these games both display as intended. |
I tried on Windows and am seeing the error, so I can debug. Interesting that it doesn't happen on Mac. |
OK, I think the problem is that there is a polygons.txt file in the 'baseTiles' folder for the ww2 oil map. So the game decides that's the right place to look for all the other files. I think if that file is removed, it will work correctly. I can see if I can change it to first consider files that are closer to the root dir, since there is a polygons.txt file in the root dir too. |
As Winnie-the-Pooh would say " Oh Bother", I would say something stronger. :-P I can confirm by removing the incorrect polygons.txt in both O&S and The Shogun Advanced, they both work as intended. Please dont change anything on account of our school boy error, the polygons.txt is not supposed to be in baseTiles Thanks for getting to the 'root' of the problem. :-) I am going to close this thread. |
I'm still going to improve things here because at the very least the inconsistent behavior between Mac and Windows can create confusion and waste people's time. |
Fair enough. 👍 |
https://github.com/triplea-game/triplea/releases/tag/2.6.33.8af5587ac3
The above version causes this error before the 1st turn completes
On this map and crashes TripleA
https://triplea-game.org/map/ww2-oil-and-snow-2nd-edition/
It also causes the same error on this unpublishing map
The Shogun Advanced
All versions after the above version cause the same error
This version and before
https://github.com/triplea-game/triplea/releases/tag/2.6.13%4057528d46ee
do not have this error.
see TripleA forum for other posts
https://forums.triplea-game.org/topic/2998/2-6-testing-report-2-6-problems-here/48?page=3
The text was updated successfully, but these errors were encountered: