How to Reproduce "The Battle of 100 Freeciv AIs"

Do you want to help out with Freeciv development? Then check out this forum.
pkanyuk
Posts: 2
Joined: Sun Apr 03, 2016 11:56 pm

How to Reproduce "The Battle of 100 Freeciv AIs"

Postby pkanyuk » Mon Apr 04, 2016 12:05 am

I'm interested in reproducing and potentially building upon "The Battle of 100 Freeciv AIs" (http://play.freeciv.org/blog/battle-of-100-freeciv-ais/). Does anyone know what changes were required run this? I figured out how to eliminate the human player with this forum post:

viewtopic.php?f=9&t=328

However, when observing an AI, it the camera follows each unit move and visibility is limited by fog of war. I recently got freeciv building from the source, so I'm down to do some hacking to address, but I figured creator of that blog post may be lurking on this forum and I could save some time :)

Thanks!
-- Paul

cazfi
Elite
Posts: 1484
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to Reproduce "The Battle of 100 Freeciv AIs"

Postby cazfi » Mon Apr 04, 2016 10:42 am

"The Battle of 100 Freeciv AIs" was run with freeciv-web, not regular desktop freeciv. However, it's only easier to run such games on regular freeciv (that's my standard freeciv testing procedure, my computer runs such games in a loop). If you want to see all the game and not just one player, connect as "Global Observer", not "Player (specific) observer".

pkanyuk
Posts: 2
Joined: Sun Apr 03, 2016 11:56 pm

Re: How to Reproduce "The Battle of 100 Freeciv AIs"

Postby pkanyuk » Wed Apr 06, 2016 4:33 am

Nice, that did the trick, thanks for the tip!

User avatar
AndreasR
Elite
Posts: 685
Joined: Thu May 02, 2013 10:26 pm
Location: Norway

Re: How to Reproduce "The Battle of 100 Freeciv AIs"

Postby AndreasR » Sun Apr 10, 2016 7:18 pm

Here are some files I used to create the simulation: http://play.freeciv.org/blog/battle-of-100-freeciv-ais/data/.
It was created using Freeciv from svn trunk with some minor changes and patches. I also patched the SDL client to capture a screenshot of the while map each turn.
Feel free to ask if you need more details.

Andreas