Mother attacking its own escort bug

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Mother attacking its own escort bug

Post by Eric Walch »

There is still a stupid bug with escorts in 1.72.2. Offender escorts can be accepted my clean mother ships when they do a request. This leads to clean ships that get involved in police action while the police is attacking its escorts.

Even worse, a mother can even attack an former escort of an other ship, and at the same time accept him as escort.!!

I saw this before, but I now followed closely the whole event that leads to this:

1) An pirate falcon with kestrel escorts was attacking a clean Josher trader.

2) Than I intercepted and killed the falcon, leaving the kestrel still fighting the Josher. (and the Josher fighting the Kestrel)

3) I fired at the kestrel that was in an intercept.plist. Ships in that plist will not switch targets on laser fire. So after some time I wanted its full attention and fired a missile. On that it reacts with a ECM and an exit, back into escortAI.

4) In escortAI it notices it has no longer a mother and starts looking for a new one. In escortAI an escort will never start an attack on its own, so it would have been an easy target, but I waited.

5) The Joshed responded to the escort request and accepted him while the AI was still in an attack mode against the same escort.

6) When I now attach the escort, the Josher even receives ATTACKED messages with me as attacker. And started to attack me after I killed the escort he also was trying to kill.

Anyhow, most of these problems can be avoided by adding a condition that clean mothers only accept clean escorts. Probably already in the "scanForFormationLeader" command.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Fixed as per Eric's suggestion. Clean mothers can only accept clean escorts now.
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

another_commander wrote:
Fixed as per Eric's suggestion. Clean mothers can only accept clean escorts now.
I think that it is still possible for criminals to accept clean escorts.

Not sure if thats ok or not, maybe the AI prevents it from happening?
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Cmdr James wrote:
another_commander wrote:
Fixed as per Eric's suggestion. Clean mothers can only accept clean escorts now.
I think that it is still possible for criminals to accept clean escorts.
That is not such a big problem, but the other way around leads to clean mother ship coming in fight with police just because they accepted an hostile escort. That just looked bad.

One clean escorts among a hostile group does not affect the groups behaviour against pirates or police, so that does not need a real change.
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

Should a ship which becomes a criminal somehow (mistakenly damaging a police ship perhaps) be evicted from escorting a clean mother?
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Cmdr James wrote:
Should a ship which becomes a criminal somehow (mistakenly damaging a police ship perhaps) be evicted from escorting a clean mother?
Good question, especially with Hatchling BoyRacers and clean pirates...however, such a ship could really be fatal for the whole group.

Maybe a different approach would help: a clean mother could accept those ships but would not help them (or in general would not help) if the escorts are attacked by other clean ships?

Screet
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Why complicate things so much? In theory, a clean ship that became offender because it took an accidental shot at a Viper should still be accepted as escort, but what does it really matter at the end? The chance of this happening is so small, and the changes in AI required to handle it properly so many, that I don't think it is worth the hassle at all.
Post Reply