How to persuade AI to do some basic things in a very different ruleset?

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
cazfi
Elite
Posts: 2457
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by cazfi »

Corbeau wrote: Fri Jul 29, 2022 8:31 pm If you's like to try, this is the version of the ruleset for 2.6. The problem existed there, too.
Unrelated to the problem at hand, but with "./fcser --warnings"

Code: Select all

2: /fast/freeciv/longturn/games/LT63Sim/data/LT63Sim/terrain.ruleset: unused entry: extra_resort.gui_type
2: /fast/freeciv/longturn/games/LT63Sim/data/LT63Sim/terrain.ruleset: unused entry: extra_resort.border_sq
2: /fast/freeciv/longturn/games/LT63Sim/data/LT63Sim/terrain.ruleset: unused entry: extra_resort.vision_main_sq
cazfi
Elite
Posts: 2457
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by cazfi »

It seems it considers Tribe all right, but the value for new cities seem to be zero or even negative. So presumably the problem is not in the unit, but maybe some property of the Tribal government makes AI not to build cities.
cazfi
Elite
Posts: 2457
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by cazfi »

Can't spend more time on this now, but the logs from the autogames I run show that level hard AI does select Tribes as the build target in S2_6 HEAD, at least sometimes (hard to tell from the logs alone if that's rare in the context of the situation in the game)
Ignatus
Elite
Posts: 563
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by Ignatus »

cazfi wrote: Sat Jul 30, 2022 3:58 am It seems it considers Tribe all right, but the value for new cities seem to be zero or even negative. So presumably the problem is not in the unit, but maybe some property of the Tribal government makes AI not to build cities.
Probably having no trade at Tribal has something to do with it, but new cities evaluator should value production as well. Though likely the production alone is not enough to overvalue building other units.
cazfi
Elite
Posts: 2457
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by cazfi »

When I find time, I'll ruleup that S2_6 ruleset to S3_0 (and then maybe also to S3_1) and do some test runs to see how it behaves in newer branch(es). This would also benefit from the better AI behavior inspection tools in newer branches.
User avatar
Corbeau
Elite
Posts: 1225
Joined: Mon Jan 13, 2014 11:13 pm

Re: How to persuade AI to do some basic things in a very different ruleset?

Post by Corbeau »

cazfi wrote: Wed Aug 10, 2022 2:21 am When I find time, I'll ruleup that S2_6 ruleset to S3_0 (and then maybe also to S3_1) and do some test runs to see how it behaves in newer branch(es). This would also benefit from the better AI behavior inspection tools in newer branches.
If you are referring to SIM ruleset, there is also a 3.0 version on Github, somewhere among Longturn games.
--
* 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...
Post Reply