Bug report: AI cheating (save attached)

Hi everyone. I've always been convinced that the AI was cheating with regards to diplomacy pacts, now i have proof. See this save file: http://www.mediafire.com/download.php?oe3775gma5cwm3l

The file was saved in FE: LH v0.51 so it will probably require the same to open it

As can be seen from the diplomatic information, i have a non-agression pact with magnar, which is fairly new (turn 8 of 50)

 

But if you end turn, magnar will declare war on the player, despite the fact that this should be impossible. the NA pact prevents me from declaring war, and i paid for that damn thing.

24,142 views 13 replies
Reply #1 Top

did someone else pay him to declare the war on you?

Reply #2 Top

Looks like a bug with the bribe function. thanks!

Reply #3 Top

Quoting thadianaphena, reply 1

did someone else pay him to declare the war on you?

 

That's actually irrelevant since AI should not be able to declare war while treaty is in effect. It's bug either way.

 

Edit: ups, seems I have gone ahead of myself here. Sorry.

Reply #4 Top

Fixed!  Problem was if an AI bribed another AI to declare war, it wasn't looking at treaties.

Reply #5 Top

^ That still shouldn't be possible. THe AI shouldn't be able to pay another AI to forgo an existing treaty... that's just blatantly unrealistic.

Thanks for fixing.

Reply #6 Top

Bam! Instant AI awesomeness. Good find and fix.

Reply #8 Top

yay i got a response from posting a repro.

 

now i just need to make save files for the other bugs i'm reporting =)

Reply #9 Top

I'm guessing AI's can bribe other AIs that are "close" to you to declare war as well. Needs to be changed IMO, getting a good standing with an AI doesn't really mean anything currently because they will declare war on you at random, which I'm assuming is due to those "bribes."

Anyway, good to see this bug finally being fixed, has made NAPs pointless for quite a while.

Reply #10 Top

I just ran into another AI cheating bug.

In tactical battle, I've seen it cast burning hands spell on my archers that were on the other side of the battlefield. Flaming tongue too (not sure about it's range though). Also, A dragon used his breath that way too, killed my archers waaaay back (at least 7-8 tiles distance). Didn't hurt any troops in between.

Since it's tactical I can't really provide save game for it. It seems that AI ignores spell ranges on spells that have a range limit.

Reply #11 Top

I had a really levelled-up Cold Ward unit that did heaps of cold and fire damage.  Then, when nowhere near a melee Ogre, the Ogre did a Crushing Blow and killed it in one shot.  It was about 4 or 5 squares away.  Also, one time I had a unit killed by a Burning Hands spell that was not cast adjacent to the caster.  There needs to be a check for AI units that the unit/s it's targetting actually obey the normal range limits.

Reply #12 Top

Quoting Daynarr, reply 10

I just ran into another AI cheating bug.

In tactical battle, I've seen it cast burning hands spell on my archers that were on the other side of the battlefield. Flaming tongue too (not sure about it's range though). Also, A dragon used his breath that way too, killed my archers waaaay back (at least 7-8 tiles distance). Didn't hurt any troops in between.

Since it's tactical I can't really provide save game for it. It seems that AI ignores spell ranges on spells that have a range limit.

Wow. Daynarr, you should create a post just on this so it's easier for the devs to track and other people to comment on. Good find!