Thanks! This is great, and it seems to function and play in a team game; it's especially good in Feudal to early Imperial Age just because it's harder for a human to micromanage tree cutting.
I'm running a game and everything is going smoothly. (I actually really enjoy watching the AI play forest nothing; it's surprisingly relaxing for me.) I think debug-chat is okay once in a while; however, in Imperial age (but before trading is possible), it seems to repeatedly spam "an ally has a market". It doesn't seem to affect its performance in terms of the other things it's doing, but it is spamming it a lot. Looking at the code, it seems it's only intended to be triggered once or occasionally, not repeatedly -- I'm not sure why the condition "(not (up-point-contains ally-market-point-x c: market))" is repeatedly satisfied after it already set the ally-market-point-x on an allied market.
See screenshot: https://i.imgur.com/QrDiwQH.png
After the path is cleared, it takes a while but most of the AIs eventually figure out that they can train trade carts. However, it's slow because it will only start trade if the specific player indicated by "this-any-ally" (from "(players-building-type-count any-ally market > 0)") is reachable; otherwise it will wait until a path is cleared to that specific player, even if other allies can be reachable. I don't know if there's a way to have it cycle through all the allies. I suspect the "any-ally" search always just returns the same ally if all 3 allies have markets.
Woody Woodpecker | The AI 25% BF - 25% FN - 25% Arena - 25% FORTRESS
-
- Forumer
- Posts: 3
- Joined: Sat Jan 02, 2021 5:06 pm
- Esty
- Waheguru
- Posts: 1159
- Joined: Wed Dec 30, 2015 7:37 am
Re: Woody Woodpecker | The AI 50% Forest Nothing 50% BF
I just fixed those issues with this new upload. Thx a lot for the feedback, Ante.
Author of TRiBaL_Warrior, Yggdrasil, PharaoN, WoodyWood Pecker and currently dette
-
- Forumer
- Posts: 3
- Joined: Sat Jan 02, 2021 5:06 pm
Re: Woody Woodpecker | The AI 50% Forest Nothing 50% BF
This is amazing. I'm very impressed.
- Esty
- Waheguru
- Posts: 1159
- Joined: Wed Dec 30, 2015 7:37 am
Re: Woody Woodpecker | The AI 50% Forest Nothing 50% BF
Woody WoodPecker updated :
- Fixed a bug with walling stuff on BF map (the bug appeared only on DE)
- Added supplies for FN / BF
- Fixed a bug with walling stuff on BF map (the bug appeared only on DE)
- Added supplies for FN / BF
Author of TRiBaL_Warrior, Yggdrasil, PharaoN, WoodyWood Pecker and currently dette
- Esty
- Waheguru
- Posts: 1159
- Joined: Wed Dec 30, 2015 7:37 am
Re: Woody Woodpecker | The AI 25% BF - 25% FN - 25% Arena - 25% FORTRESS
Woody Woodpecker just learnt how to play Arena and Fortress !
It plays smarter in imperial, as long as the map is full of delicious wood
It plays smarter in imperial, as long as the map is full of delicious wood
Author of TRiBaL_Warrior, Yggdrasil, PharaoN, WoodyWood Pecker and currently dette
- halcyon88
- Swami
- Posts: 194
- Joined: Mon Mar 16, 2015 2:43 pm
- Location: UK
Re: Woody Woodpecker | The AI 25% BF - 25% FN - 25% Arena - 25% FORTRESS
As per my request, of course. Thank you for the belated BDay prezzie
A.K.A. TOAO_Philosopher (formely TOAO_ReLeNtLeSsS, TOAO_Leo, TOAO_Ayubu_, TOAO_FSpirit, _TOAO_HussY_ and TOAO__HussaR_ (even before that, Deadly_Hussar— and DEADLY POISON on AOKH back when I was REALLY young)).