problems in AI

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

Moderators: another_commander, winston, Getafix

Post Reply
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 294
Joined: Mon Feb 10, 2020 12:47 pm
Location: São Paulo, Brasil

problems in AI

Post by dybal »

Got this yesterday:

Code: Select all

21:57:37.149 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (Oolite Pirate Fighter AI 1.91): Unknown expansion key [commsPackA_pronoun] in string.
21:57:37.149 [script.javaScript.warning.ooliteDefined]:       /home/dybal/oolite/GNUstep/Applications/Oolite-trunk/oolite.app/Resources/Scripts/oolite-priorityai.js, line 388.
21:57:37.149 [script.javaScript.stackTrace]:  0 (oolite-priorityai.js:388) <anonymous function>
21:57:37.149 [script.javaScript.stackTrace]:     this: {...}
21:57:37.149 [script.javaScript.stackTrace]:     priority: 4
21:57:37.149 [script.javaScript.stackTrace]:     params: {...}
21:57:37.149 [script.javaScript.stackTrace]:     key: "oolite_startHelping"
21:57:37.149 [script.javaScript.stackTrace]:     message: undefined
21:57:37.149 [script.javaScript.stackTrace]:     template: "[commsPackA_rebel_startHelping]"
21:57:37.149 [script.javaScript.stackTrace]:     recv: 67.35195922851562
21:57:37.149 [script.javaScript.stackTrace]:     send: 308.5120849609375
21:57:37.149 [script.javaScript.stackTrace]:  1 (oolite-priorityai.js:5107) <anonymous function>
21:57:37.149 [script.javaScript.stackTrace]:     this: {...}
21:57:37.149 [script.javaScript.stackTrace]:     enemy: [Ship "Salamander" position: (34383, 4221.31, 394007) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.149 [script.javaScript.stackTrace]:     ally: [Ship "Barracuda" position: (35429, 3902.27, 393850) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.149 [script.javaScript.stackTrace]:  2 (oolite-priorityai.js:5486) <anonymous function>
21:57:37.149 [script.javaScript.stackTrace]:     this: {...}
21:57:37.149 [script.javaScript.stackTrace]:     whom: [Ship "Salamander" position: (34383, 4221.31, 394007) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.150 [script.javaScript.stackTrace]:     i: undefined
21:57:37.150 [script.javaScript.stackTrace]:     found: undefined
21:57:37.150 [script.javaScript.stackTrace]:     pws: undefined
21:57:37.154 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (Oolite Pirate Fighter AI 1.91): Unbalanced ] in string.
21:57:37.154 [script.javaScript.warning.ooliteDefined]:       /home/dybal/oolite/GNUstep/Applications/Oolite-trunk/oolite.app/Resources/Scripts/oolite-priorityai.js, line 388.
21:57:37.154 [script.javaScript.stackTrace]:  0 (oolite-priorityai.js:388) <anonymous function>
21:57:37.154 [script.javaScript.stackTrace]:     this: {...}
21:57:37.154 [script.javaScript.stackTrace]:     priority: 4
21:57:37.154 [script.javaScript.stackTrace]:     params: {...}
21:57:37.154 [script.javaScript.stackTrace]:     key: "oolite_startHelping"
21:57:37.154 [script.javaScript.stackTrace]:     message: undefined
21:57:37.154 [script.javaScript.stackTrace]:     template: "[commsPackA_rebel_startHelping]"
21:57:37.154 [script.javaScript.stackTrace]:     recv: 67.35195922851562
21:57:37.154 [script.javaScript.stackTrace]:     send: 308.5120849609375
21:57:37.154 [script.javaScript.stackTrace]:  1 (oolite-priorityai.js:5107) <anonymous function>
21:57:37.154 [script.javaScript.stackTrace]:     this: {...}
21:57:37.154 [script.javaScript.stackTrace]:     enemy: [Ship "Salamander" position: (34383, 4221.31, 394007) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.154 [script.javaScript.stackTrace]:     ally: [Ship "Barracuda" position: (35429, 3902.27, 393850) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.154 [script.javaScript.stackTrace]:  2 (oolite-priorityai.js:5486) <anonymous function>
21:57:37.154 [script.javaScript.stackTrace]:     this: {...}
21:57:37.154 [script.javaScript.stackTrace]:     whom: [Ship "Salamander" position: (34383, 4221.31, 394007) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:57:37.154 [script.javaScript.stackTrace]:     i: undefined
21:57:37.154 [script.javaScript.stackTrace]:     found: undefined
21:57:37.154 [script.javaScript.stackTrace]:     pws: undefined
21:57:37.158 [strings.expand.warning.unknownExpansion]: ----- WARNING: Unknown expansion key [commsPackA_pronoun] in string.
21:57:37.158 [strings.expand.warning.unbalancedClosingBracket]: ----- WARNING: Unbalanced ] in string.

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

Re: problems in AI

Post by another_commander »

commsPackA is not a core package. This is almost certainly OXP induced.

dybal
---- E L I T E ----
---- E L I T E ----
Posts: 294
Joined: Mon Feb 10, 2020 12:47 pm
Location: São Paulo, Brasil

Re: problems in AI

Post by dybal »

another_commander wrote:
Tue Sep 08, 2020 8:17 pm
commsPackA is not a core package. This is almost certainly OXP induced.
Right, oolite.oxp.cim.comms-pack-a.oxz, Config.descritions.plist, line 358:

Code: Select all

	"commsPackA_rebel_startHelping" = ("I hear you. Targeting the [oolite_entityClass] now!","Surrender, [oolite_entityName]. You're outgunned!","I'm on [commsPackA_pronoun]!","Target acquired!","[commsPackA_rebel_beginningAttack]","Flee, [commsPackA_rebelinsult]!");
perhaps should be:

Code: Select all

	"commsPackA_rebel_startHelping" = ("I hear you. Targeting the [oolite_entityClass] now!","Surrender, [oolite_entityName]. You're outgunned!","I'm on [commsPackA_pronoun2]!","Target acquired!","[commsPackA_rebel_beginningAttack]","Flee, [commsPackA_rebelinsult]!");
Is it maintained?

User avatar
phkb
Commodore
Commodore
Posts: 2675
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: problems in AI

Post by phkb »

cim is occasionally around, but I don't believe he is actively supporting his OXP's at the moment. He's been quite willing to pass maintenance over to those willing to take it on.

Post Reply