scanForHostiles(s)

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

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

scanForHostiles(s)

Post by Commander McLane »

There is a typo in some AIs. One of them is militaryFiascoCarrierAI, but I've seen it elsewhere as well, just don't remember. I guess it has spread via c&p. The final "s" has to go.

Code: Select all

[ai.unpermittedMethod]: Handler "ENTER" for state "STAY_INTERSTELLAR" in AI "militaryFiascoCarrierAI.plist" uses "scanForHostiless", which is not a permitted AI method. In a future version of Oolite, this method will be removed from the handler. If you believe the handler should be a permitted method, please report it to [email protected].

Oh, and as far as militaryFiascoCarrierAI is concerned, one suggestion:
the state names should probably be "foo_INTERSTELLAR" instead "_INTERGALACTIC"
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: scanForHostiles(s)

Post by Eric Walch »

Commander McLane wrote:
There is a typo in some AIs. One of them is militaryFiascoCarrierAI, but I've seen it elsewhere as well, just don't remember. I guess it has spread via c&p. The final "s" has to go.

Oh, and as far as militaryFiascoCarrierAI is concerned, one suggestion:
the state names should probably be "foo_INTERSTELLAR" instead "_INTERGALACTIC"
That typo was al ready removed in one of the previous versions. Its a copy based on the behemoth carrier so that will be the other you have seen.

Changed the state name now to "foo_INTERSTELLAR" for a future release.
Post Reply