View Full Version : AI declaring war on me with no apparent reason.


Morfanos
Aug 13, 2007, 10:50 PM
Like the title say, the AI keep declaring war on me with no apparent reason. :mad: .

I have the Civ4 since its launch and bought Warlords a couple of months ago and the AI always declared war on me for something, i.e.: refusing to give him tech or resources, not the same fates or any other reason that gives you negatives relations points with them.

With BtS installed, AI with Pleased or Friendly keep attacking me for no reason (one turn every thing is normal, the next, I get a "X nation is now at war with you" message). Even stranger, AI with less than half of my score declare war on me even if there's no way for them to win. Sometimes it happen even when I have no contact, well just the initial contact but I don't see them on the map nor are they anywhere close to me.

I've tried a couple of game and it keeps happening. I play on Pangea-Standard map size, noble difficulty.

I'm reporting this because I've not changed anything in my gameplay style for now(not even using spies) and I don't understand why I would get half the nations at war with me on all my games with BtS and not with Warlords or Civ4. I've read the manual and the civilopedia and haven't found anything explaining this.

HolyHandGrenade
Aug 14, 2007, 02:43 AM
Like the title say, the AI keep declaring war on me with no apparent reason. :mad: .

I have the Civ4 since its launch and bought Warlords a couple of months ago and the AI always declared war on me for something, i.e.: refusing to give him tech or resources, not the same fates or any other reason that gives you negatives relations points with them.

With BtS installed, AI with Pleased or Friendly keep attacking me for no reason (one turn every thing is normal, the next, I get a "X nation is now at war with you" message). Even stranger, AI with less than half of my score declare war on me even if there's no way for them to win. Sometimes it happen even when I have no contact, well just the initial contact but I don't see them on the map nor are they anywhere close to me.

I've tried a couple of game and it keeps happening. I play on Pangea-Standard map size, noble difficulty.

I'm reporting this because I've not changed anything in my gameplay style for now(not even using spies) and I don't understand why I would get half the nations at war with me on all my games with BtS and not with Warlords or Civ4. I've read the manual and the civilopedia and haven't found anything explaining this.

Hey there is one big reason! --- You are playing ...

each time you refuse anything your relation to this AI drops - and if you play against a very aggressive AI (like Tokugawa) you start with a very high chance being attacked.

So don't forget: "If you want peace - prepare for war"

Morfanos
Aug 14, 2007, 03:41 AM
Thank you for almost saying that I play like an idiot...

The problem being here that I'm not refusing anything. They just declare war on me with no reason, when I'm in a friendly or pleased position with them AND when I didn't even speak to them for a couple of turns.

If it was a multi players game I would say another player convinced them to attack me in some way but every times it happen, the first to declare war on me is always in a "pleased" relation with me. It makes no sense and never happened to me before BtS.

Ankh
Aug 14, 2007, 03:47 AM
Here's why: Apostolic Palace Resolution:"Declare war on the infidels"

:)

Morfanos
Aug 14, 2007, 03:56 AM
Thanks, that could be it but there's only two problems with that. I'm always the one building the Apostolic Palace and also normally the one with the most vote and I certainly don't remember anything about...declaring a war on myself.

The other problem being that the two last game when it did happen (the "no reason" war), the Apostolic Palace was never built. It was too early in the game to have one.

Thanks for the head up anyways, i'll try to look for it next time it happens...which will probably be my next game since it happens all the times...

Gabsau
Aug 14, 2007, 04:03 AM
I'm having the same problem.

I was just playing an epic game, I'm on my 378th turn and suddenly, without provocation, ALL eight AI players declared war on me. Every single one!

Granted, there is one which doesn't like me, but all other AI players are 'Pleased' or 'friendly' towards me, and that does not seem realistic. For a realistic comparison, it's as if every single nation declared war on America for no reason whatsoever :eek:

I've also had a similar bug, where for no reason, the AI players all renounced their trade agreements and Open borders. Again, many of which I was good friends with. And all on the same turn.

I've tried loading my auto-save with the same problem - always occurring on my 378th turn. I have uploaded my save game if any devs are watching or any of you would know a workaround.

I also recently patched my game (BtS) to the latest version.

Morfanos
Aug 14, 2007, 04:09 AM
Good to see it's not an isolate case.

That, or we are both stupid.

Either ways, I'm not alone anymore...

Gabsau
Aug 14, 2007, 04:13 AM
Yeah, well I certainly hope I'm not stupid... :mischief: lol (It is a possibility, however... :lol: )

In regards to the Apostolic resolution, I checked my 'resolutions' screen and no such resolution was ever passed. (You can access it by pressing F8).

PieceOfMind
Aug 14, 2007, 04:35 AM
Do either of you play with Aggressive AI? If you do then you'd realise the AI in that mode is far more opportunistic and will be even more likely to declare at unexpected times.

Morfanos can you tell us which leaders were declaring war at Friendly? Some leaders are of course more likely to attack no matter what relations you have with them. Montezuma and Tokugawa for example, and the French leaders.

I agree that AIs should not be attacking you when they are clearly going to lose. As for the problem of AIs all declaring on you simultaneoulsy, this is called dogpiling and it's my understanding that the new AI for BtS allows for this (dogpiling) more than it did in Warlords or Civ4. Even still, I would not expect friendly leaders to declare war on you.

I believe this "dogpiling" is an intended feature but I can understand if you don't like it.

Gabsau
Aug 14, 2007, 04:52 AM
I don't play with aggressive AI, in fact - I always play on Noble.

I've never heard of this 'dogpiling'. But then again, I'm a newcomer to the Civ series.

HolyHandGrenade
Aug 14, 2007, 04:56 AM
Thank you for almost saying that I play like an idiot...

The problem being here that I'm not refusing anything. They just declare war on me with no reason, when I'm in a friendly or pleased position with them AND when I didn't even speak to them for a couple of turns.

If it was a multi players game I would say another player convinced them to attack me in some way but every times it happen, the first to declare war on me is always in a "pleased" relation with me. It makes no sense and never happened to me before BtS.

Sorry that you feel kicked - seemed I haven't got the real problem. But with only 3 posts I assumed you are a newbie. In the meantime you got some more explanations of your real problem.

H&K
Aug 14, 2007, 05:29 AM
The world is full, war is comming, and you are the easist Target.

The big guys declare war. The little minnows go ho ho, they see you are more likly to have the redused military, they declare war.

Solution: Dont have a smaller army than you neighbour. (Which is like nearly impossible, as you will probably have an "Optimal" army". Thats just the way it is, you look like you going to loose, so the "Friendly to both Nations", all attack you.

I Also think, that one of the AI Nations has just discovered the Teck to ask ppl to declare war, and they are using it on everyone to attack you

IronCrown
Aug 14, 2007, 05:57 AM
Morfanos, what game speed are you playing?

Flak
Aug 14, 2007, 08:37 AM
This is a known issue. It seems they've programmed in a small percentage of possibility that any given civ, irrespective of relationship or game settings, will attack you. If you play long enough, eventually it's just going to happen. It won't be difficult to mod this out. I am thinking of changing this to something like:

if (No Aggressive AI AND Peace AND (Friendly > 100 turns)) then
{
possibility of attackForNoReason == 0;
}
//Note this will not touch or affect any modifiers


They also have something like this programmed for Nuclear Plants to meltdown. The first time I played a game past the time limit, inevitably, every single one my plants melted down. It was very stupid, and to say it's unrealistic would be an under statement. I modded that silliness out.

Anyway, I think it's obvious that in modern society, most nations are moving towards closer relationships (EU, NAFTA, WTO, NATO, etc....). And this isn't irrespective of whose 'winning'. One could argue that currently the U.S. is winning the culture war and far ahead in military strength. Yet you won't see Mexico or Canada suddenly declaring a hopeless war on them out of nowhere.

After the first real patch is released, I will mod this and make the coding available in the Mods forum.

Morfanos
Aug 14, 2007, 12:06 PM
Here's more detail on what kind of games I played. The difficulty is at Noble, I normally play on pangea or continental maps, standard size and normal speed.

I don't have any save because well, I never save unless I need to close the game, which never happened to me with BtS since games don't last long enough because of this issue. As for auto save, I had already begun a new game when I found out about this part of the forum so it has been erase by a new game since.

The last game, if I remember correctly, the first one to declare war on me was Shaka-Zulu with whom I just had contacted by way of his scout on my territory, he was nowhere close to me on the map, our relations were only at +1 for "years of peace" and while I did create 2 religions, he didn't have one. Like I said in another post, he attacked me with prior message that would have made our relation go south and I was superior to him in both tech and army.

The second to attack me was Zara Yaqob-Ethiopian with whom my relations were at +1 "years of peace" +1 "open borders". Except from that his situation was similar to Shaka (no religion, etc...)

The third one to attack me was Alexander-Greek with whom my relations were at "pleased" for trading, same civic, open borders and years of peace. The only - 1 I had with him was because he just changed religion (he used the same as I did before that, which did put us on "friendly" terms).

Before I left the game because I was at war with 4 nations(out of 7 including me), the 4th being Sitting Bull-Native American, the only one I had real reason to be at war with, I did go check to see if any of them had alliance or good relation with Sitting Bull or any of the other ones attacking me and no, in fact most of them where "annoyed" or "cautious" with each others with the exception of Alexander already being at war with Sitting Bull.

Forgot the say that the whole game I was the first in score and that the only one beside Sitting Sull that didn't like me, Saladin-Arabs, the second in the score, was the only one close to my borders besides Sitting Bull and never declared war on me while being the one who hated me the most and had the only real army to take me down by himself.
I hope this can shed some light on the bug, if it's one.

flamingzaroc121
Aug 14, 2007, 05:26 PM
it i because you have the lowest power rating. you need to build more military so that the AI's will be scared to attack

vra379971
Aug 14, 2007, 05:36 PM
Here's the deal.

Shaka, Zara and Alex are the most annoying bastards in the game. They will backstab, they will try and kill you if they sense ANY weakness.

So, one decided it could beat you...and the others took it to mean that you were now in trouble...smelled blood in the water as it were.

kazapp
Aug 14, 2007, 06:00 PM
In Warlords and even more in BtS, you need to build a military just to not get attacked.

The pacifist strategy won't cut it any longer - you simply must have a decent military strength or you will face endless wars (not that they will be without end considering you're about to lose them, and quickly).

That is, make sure you build at least one military unit at all times (not necessarily in the same city all the time).

Only when you have around 4-6 units per city can you relax and start to play the way you're used to.

Did I say you need to have a large army in BtS just to avoid wars? :-)

And don't even mention the 'Aggressive' setting...

HolyHandGrenade
Aug 15, 2007, 12:39 AM
In Warlords and even more in BtS, you need to build a military just to not get attacked.

The pacifist strategy won't cut it any longer - you simply must have a decent military strength or you will face endless wars (not that they will be without end considering you're about to lose them, and quickly).

That is, make sure you build at least one military unit at all times (not necessarily in the same city all the time).

Only when you have around 4-6 units per city can you relax and start to play the way you're used to.

Did I say you need to have a large army in BtS just to avoid wars? :-)

And don't even mention the 'Aggressive' setting...

That's what I said: "If you want peace prepare for war" ;)

kazapp
Aug 15, 2007, 04:49 AM
Thus the topic of this thread can be concluded as "not a bug", "working as intended".

kazapp
Aug 15, 2007, 04:50 AM
That's what I said: "If you want peace prepare for war" ;)Sure - just wanted to elaborate on that a bit to make things absolutely crystal clear for those peaceful builders unaccustomed to having to deal with military units. :)

IronCrown
Aug 15, 2007, 05:05 AM
Why do you guys tell him it's because of his low power when he actually said that the AIs were inferior in both tech and power? :confused: I don't know about you, but I'm no magician and can't tell that the guy was lying or making things up :rolleyes:

Of course nothing can be done to investigate this 'bug' without a save. Morfanos, if it happens to you in every game, just start a new game and provide us with a save. I also suspect that there's something wrong with your play style rather than with the game itself, after all I have the same game as you ;)

DrJambo
Aug 15, 2007, 11:06 AM
Flak, would you expand upon the code elements a bit more? E.g. by providing the actual code entries which will cause the 'inevitable' declarations of war and the nuclear plant meltdowns. Is it vs human only?

I'd like to see a mod for this now, if it's true.

Morfanos
Aug 16, 2007, 09:57 PM
Why do you guys tell him it's because of his low power when he actually said that the AIs were inferior in both tech and power? :confused: I don't know about you, but I'm no magician and can't tell that the guy was lying or making things up :rolleyes:

Of course nothing can be done to investigate this 'bug' without a save. Morfanos, if it happens to you in every game, just start a new game and provide us with a save. I also suspect that there's something wrong with your play style rather than with the game itself, after all I have the same game as you ;)

Sorry, I have been away for the last couple of days, I'll try play another game tomorrow and make a save game if it does indeed happens again. Now if only they can fix that annoying combat animation problem with the 3.03 patch, that would "help" me play yet another game where I seems bound to lose...

But like you said first in your post. I had far superior army and technology when the first two decided to attack me. With Alexander it might have been because I was already at war with 3 nations, which did in fact lower my military and provided him with an opportunity, even if I was on "pleased" relation with him. But that still doesnt explain it for the first two.

Btw, in the last game I described, I was playing as the Holy Roman Empire.

Now, kazapp, about you saying it was similar in Warlords, did you even read those two things I said in my first post?

1-...and bought Warlords a couple of months ago...
2-I'm reporting this because I've not changed anything in my gameplay style for now(not even using spies) and I don't understand why I would get half the nations at war with me on all my games with BtS and not with Warlords or Civ4.

I would understand if I jumped to BtS from the original Civ4 but I did play and won with that same "style" WITH Warlords and for a couple of months...


But after all, maybe the problem IS my still since I focused more on C&C3 than anything else lately...Maybe I should lower the difficulty. But anyways, I'll at least another time and see what happens.