Open damag opened 14 years ago
Also, map98.txt does the same thing but with an empty enemy_planets instead:
2010-09-14 01:26:31,054 INFO: ----------- GAME START -----------
2010-09-14 01:26:31,056 INFO: === TURN START === (Turn no: 1)
2010-09-14 01:26:31,056 DEBUG: Planets([<P(18)@(5.46x2.87) #38 +4>, <P(19)@(1.99x0.10) #42 +5>, <P(21)@(7.52x6.96) #41 +3>, <P(17)@(18.12x20.05) #38 +4>, <P(0)@(11.79x11.46) #65 +1>, <P(1)@(0.01x0.00) #100 +5>, <P(2)@(23.57x22.92) #42 +5>, <P(20)@(16.06x15.96) #41 +3>, <P(3)@(3.66x8.08) #85 +4>, <P(4)@(19.93x14.84) #85 +4>, <P(5)@(0.00x8.90) #19 +4>, <P(6)@(23.59x14.02) #19 +4>, <P(7)@(13.91x11.17) #70 +5>, <P(8)@(9.68x11.76) #70 +5>, <P(9)@(16.23x12.83) #63 +1>, <P(10)@(7.36x10.10) #63 +1>, <P(11)@(16.97x3.21) #64 +1>, <P(12)@(6.61x19.71) #64 +1>, <P(13)@(21.36x13.38) #54 +4>, <P(14)@(2.23x9.55) #54 +4>, <P(15)@(6.43x4.09) #69 +2>, <P(16)@(17.15x18.83) #69 +2>])
2010-09-14 01:26:31,056 DEBUG: Planets([<P(1)@(0.01x0.00) #100 +5>])
2010-09-14 01:26:31,056 DEBUG: Planets([])
2010-09-14 01:26:31,057 INFO: ### TURN END ### (time taken: 0.0009 s)
Maybe it's a problem with line endings... I'll check that tomorrow.
Hi, when testing with map57.txt, this framework is starting me with no planets in universe.my_planets, even though the map obviously starts me with one when I look at the text file.
I created a bot that just logs the planets:
And the log file shows that my home planet is missing from the start:
Any idea why this is happening? When I look at the full list of planets and their locations, it seems that P(1) should be mine, but it is starting it with 10 ships instead of 100? Is the line being parsed wrong?