I play on a 350x350 map, 18 players (17 AI). It's already 270 turn. The calculation of the turn takes several minutes (about 10). How to speed up the game?
Intel Pentium Core i5 6600, RAM 8 Gb, Freeciv 2.6.3 (GTK+3 client).
Very long calculation of the turn
- Kas Narayda
- Posts: 4
- Joined: Mon Jan 18, 2021 3:45 pm
- Location: Russian Federation
Re: Very long calculation of the turn
I don't know how to do benchmarks but it's spoken that most of server's tc calculation is distributing workers by tiles and finding unit shortest paths. Maybe your server prints something on stdout?
Re: Very long calculation of the turn
When there's AIs in the game, about 50% of the CPU time is spent by their cities looking for paths for their enemies to attack -> to see which units can arrive in a couple of turns, and thus are a threat.Ignatus wrote:I don't know how to do benchmarks but it's spoken that most of server's tc calculation is distributing workers by tiles and finding unit shortest paths.
- Kas Narayda
- Posts: 4
- Joined: Mon Jan 18, 2021 3:45 pm
- Location: Russian Federation
Re: Very long calculation of the turn
I won this game. The last 285th turn lasted 15 minutes! Some AI players had 100-300 cities each. Tell me how to play on large maps with a large number of AI players? The computer does not develop its cities, but breeds them in large numbers and takes them. How to prevent spam of cities by AI player?
I apologize for my English - I use a translator.
I apologize for my English - I use a translator.
- Kas Narayda
- Posts: 4
- Joined: Mon Jan 18, 2021 3:45 pm
- Location: Russian Federation
Re: Very long calculation of the turn
The final autosave.
- Attachments
-
- freeciv-T0286-Y01794-final.rar
- (689.39 KiB) Downloaded 277 times
Re: Very long calculation of the turn
Good question... I have set minimal size for trade 4 and full trade size 8, and some AIs still tried "smallpox" strategy. Well, maybe they do it because it's usually the best they can do?Kas Narayda wrote:How to prevent spam of cities by AI player?
- Kas Narayda
- Posts: 4
- Joined: Mon Jan 18, 2021 3:45 pm
- Location: Russian Federation
Re: Very long calculation of the turn
A mediocre game. It makes sense to play only with a person. The AI cheaters are full and miserable.
Re: Very long calculation of the turn
I couldn't agree more, my friendKas Narayda wrote:A mediocre game. It makes sense to play only with a person. The AI cheaters are full and miserable.
This is why Longturn exists.
https://longturn21.blogspot.com/p/intro ... gturn.html
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...