It is currently 19 Apr 2024, 13:10
   
Text Size

[confirm]General bug - AI doesn't play lands from beginning

Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[confirm]General bug - AI doesn't play lands from beginning

Postby Blyfycyfyfyf » 12 Jan 2022, 10:47

Describe the Bug:
In some games AI doesn't play lands from the beginning of the game. And since the AI's hand gets bigger than 7, at the end of the turn AI actually discards those lands... I didn't identify the pattern yet. It happens every, I don't know, 15-20 games.


Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Holidays, 2021.

What exactly should be the correct behavior/interaction?
AI should play lands ;)

Are any other cards possibly affected by this bug?
No.
Attachments
Discard.zip
(3.43 KiB) Downloaded 118 times
Last edited by Aswan jaguar on 12 Jan 2022, 22:09, edited 1 time in total.
Reason: confirm
Blyfycyfyfyf
 
Posts: 36
Joined: 12 Nov 2021, 12:10
Has thanked: 0 time
Been thanked: 0 time

Re: General bug - AI doesn't play lands from beginning

Postby Aswan jaguar » 12 Jan 2022, 13:53

AI has issues with some lands. It prioritizes to play them first as they have more value then runs the logic to see if that is beneficial to play them and if it isn't AI gets to the point not to play any land. In this case it is Gruul Turf in AI's hand AI wants to play that land as it has more value than the others then sees the code that it is not good to play that land as AI doesn't have a land in play to return to hand and so finally plays no land. The same would be true with a land that requires to pay one mana when it enters the battlefield and AI has no mana available.
I don't know if Korath has managed to fix these in shandalar.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times

Re: General bug - AI doesn't play lands from beginning

Postby Korath » 12 Jan 2022, 21:04

The key commit is c89e424d4. 8a1e8ca53 is also relevant.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Postby Konatsu » 20 Nov 2022, 05:39

When the AI has certain land cards in its hand, the AI will not place any land at all.
-The AI of course has other lands; the AI just keeps throwing them away.
-Sometimes the AI plays normally in that situation, but very often it goes haywire.

As far as I have been able to ascertain, the land cards in question are the following
-With cycling (Fetid Pools, Triome, etc)
-Requiring sacrifice (Lake of the Dead, etc)
-Requiring bounce (Azorius Chancery, etc)

I have attached the save file. Please check it.
Attachments
20221120.zip
(7.36 KiB) Downloaded 82 times
Last edited by Aswan jaguar on 20 Nov 2022, 07:28, edited 2 times in total.
Reason: moved here just in case it adds info
Konatsu
 
Posts: 92
Joined: 14 Feb 2022, 18:39
Has thanked: 0 time
Been thanked: 1 time

Re: Requests for AI improvements

Postby Aswan jaguar » 20 Nov 2022, 07:24

Konatsu wrote:When the AI has certain land cards in its hand, the AI will not place any land at all.
Duplicate of this bug:
viewtopic.php?f=86&t=31065&hilit=doesn%27t+play
Moved both posts here.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 41 guests


Who is online

In total there are 41 users online :: 0 registered, 0 hidden and 41 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 41 guests

Login Form