Hadn't seen that one before. What is it and how can I repair it?[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0xe512468>{"Griffin Two"} from <no AI>:(nil) to "traderAI.plist" - could not load file.
Cheers
L
Moderators: winston, another_commander, Getafix
Hadn't seen that one before. What is it and how can I repair it?[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0xe512468>{"Griffin Two"} from <no AI>:(nil) to "traderAI.plist" - could not load file.
Quite easy: just make sure your oxp contains that file. Because that is what it says: he can't find it.Lestradae wrote:Would be happy for hints!
Hadn't seen that one before. What is it and how can I repair it?[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0xe512468>{"Griffin Two"} from <no AI>:(nil) to "traderAI.plist" - could not load file.
Cheers
L
Yeah sure, but the "D'uh" moment wasn't that - that I got. It was that I thought "but the game has a traderAI" and so assumed it had to be something much more complicated ... and while the back of my head was shouting at me, I was walking away whistlingKaks wrote:'could not load file.' is one of the generally accepted clues that the specified file isn't there...
Is that the fix then?Commander McLane wrote:I would rather guess that it's a misnomer for route1traderAI, especially as there is no AI included in griffin2.oxp.Lestradae wrote:Hadn't seen that one before. What is it and how can I repair it?[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0xe512468>{"Griffin Two"} from <no AI>:(nil) to "traderAI.plist" - could not load file.
So is this the fix? To changeLatest.log wrote:[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0x7f9bb939d1a0>{"Griffin Two"} to "traderAI.plist" - could not load file.
[size=120]AddOns/griffin2.oxp/Config/shipdata.plist[/size]
to say:Code: Select all
<key>ai_type</key>
<string>route1traderAI.plist</string>
Not the best fix as the Griffin2 also has pirate and hunter in it's role list and they'd get the wrong AI.SandJ wrote:Is that the fix then?
The problem is still there:So is this the fix? To changeLatest.log wrote:[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0x7f9bb939d1a0>{"Griffin Two"} to "traderAI.plist" - could not load file.[size=120]AddOns/griffin2.oxp/Config/shipdata.plist[/size]
to say:Code: Select all
<key>ai_type</key> <string>route1traderAI.plist</string>
ai_type
key entirely and add an auto_ai
key, which I think in XML looks like this.
Code: Select all
<key>auto_ai</key>
<true/>