Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Trunk nightly

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

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Trunk nightly

Post by Norby »

When I award my newest equipment (EQ_WEAPON_LASER_COOLER) in script, the context variable in condition script contain "purchase" and not "scripted" so I can not use the preferred way to deny the appearance in the shop. The same happen if I award it in debug console.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Trunk nightly

Post by Lone_Wolf »

Norby,

your lasercooler-conditions.js is used for BOTH EQ_LASER_COOLER and EQ_WEAPON_LASER_COOLER .

Maybe that's what causes the unexpected context ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Trunk nightly

Post by Norby »

Lone_Wolf wrote:
your lasercooler-conditions.js is used for BOTH EQ_LASER_COOLER and EQ_WEAPON_LASER_COOLER .
Maybe that's what causes the unexpected context ?
No, I use the same js for more equipments many times without problems. Now I put a log line into the conditions js which print the context variable and show "purchase".
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Trunk nightly

Post by cim »

Norby wrote:
When I award my newest equipment (EQ_WEAPON_LASER_COOLER) in script, the context variable in condition script contain "purchase" and not "scripted" so I can not use the preferred way to deny the appearance in the shop. The same happen if I award it in debug console.
Thanks. Should be fixed in tonight's build.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk nightly 1.83.0.6583-150810-80c31a3

Post by Cody »

I have a problem with parcel contracts (and the others, I think) - they ain't showing the shortest route, only the quickest.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Trunk nightly 1.83.0.6583-150810-80c31a3

Post by cim »

Cody wrote:
I have a problem with parcel contracts (and the others, I think) - they ain't showing the shortest route, only the quickest.
Thanks. Should be fixed in tonight's build.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Trunk nightly

Post by Norby »

The spinModel:false setting is ingored in mission screens, I guess since the new demoship rotation. This break the adjustable rotation function of [wiki]Gallery[/wiki] OXP.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Trunk nightly

Post by kanthoney »

That probably needs an "if (spinning)" around line 5237 of Universe.m. I'll put that in later. Thanks!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk nightly 1.83.0.6613-150829-e12a9ab

Post by Cody »

Not quite the latest nightly (and may belong in the Comms Pack thread):

Code: Select all

00:47:20.098 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (Oolite Pirate AI 1.83): Unknown expansion key [commsPackA_generic_continuingAttackThargoid] in string.
00:47:20.098 [script.javaScript.warning.ooliteDefined]:       Resources/Scripts/oolite-priorityai.js, line 388.
00:47:20.098 [script.javaScript.stackTrace]:  0 (oolite-priorityai.js:388) <anonymous function>
00:47:20.098 [script.javaScript.stackTrace]:     this: {...}
00:47:20.098 [script.javaScript.stackTrace]:     priority: 4
00:47:20.098 [script.javaScript.stackTrace]:     params: {...}
00:47:20.098 [script.javaScript.stackTrace]:     key: "oolite_continuingAttackThargoid"
00:47:20.098 [script.javaScript.stackTrace]:     message: undefined
00:47:20.098 [script.javaScript.stackTrace]:     template: "[commsPackA_rebel_continuingAttackThargoid]"
00:47:20.098 [script.javaScript.stackTrace]:     recv: 647.8340148925781
00:47:20.098 [script.javaScript.stackTrace]:     send: 180647937987.99274
00:47:20.098 [script.javaScript.stackTrace]:  1 (oolite-priorityai.js:670) <anonymous function>
00:47:20.098 [script.javaScript.stackTrace]:     this: {...}
00:47:20.098 [script.javaScript.stackTrace]:     priority: 4
00:47:20.098 [script.javaScript.stackTrace]:     code: "continuing"
00:47:20.098 [script.javaScript.stackTrace]:     target: [Ship "Thargoid Warship" position: (-8613.9, -33140.4, 171718) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
00:47:20.098 [script.javaScript.stackTrace]:     scan: "CLASS_THARGOID"
00:47:20.098 [script.javaScript.stackTrace]:     msgcode: "oolite_continuingAttackThargoid"
00:47:20.098 [script.javaScript.stackTrace]:  2 (oolite-priorityai.js:2937) <anonymous function>
00:47:20.098 [script.javaScript.stackTrace]:     this: {...}
00:47:20.098 [script.javaScript.stackTrace]:     handlers: {...}
00:47:20.098 [script.javaScript.stackTrace]:  3 (oolite-priorityai.js:224) _reconsider()
00:47:20.098 [script.javaScript.stackTrace]:     this: {...}
00:47:20.098 [script.javaScript.stackTrace]:     newBehaviour: function
00:47:20.098 [script.javaScript.stackTrace]:  4 (oolite-priorityai.js:75) _handlerAIAwoken()
00:47:20.098 [script.javaScript.stackTrace]:     this: {...}
00:47:20.099 [strings.expand.warning.unknownExpansion]: ----- WARNING: Unknown expansion key [commsPackA_generic_continuingAttackThargoid] in string.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Trunk nightly

Post by cim »

Comms Pack A, that one. I've made a note of it.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk nightly

Post by Cody »

Been meaning to mention this: occasionly, comms messages get stuck on screen if a message is broadcast whilst docking.
No way to clear them - have to wait 'til you've launched before they disappear.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk nightly 1.83.0.6621-150908-49f8265

Post by Cody »

Code: Select all

20:46:34.976 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (Oolite Escort AI 1.83): TypeError: this.ship.dockingInstructions is null
20:46:34.976 [script.javaScript.exception.unexpectedType]:       Resources/Scripts/oolite-priorityai.js, line 6014.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Trunk nightly

Post by Norby »

Norby wrote:
The spinModel:false setting is ingored in mission screens, I guess since the new demoship rotation. This break the adjustable rotation function of [wiki]Gallery[/wiki] OXP.
The applied solution in the current trunk is too strong: my rotation attempts in FCB is cancelled also, always return to the start position after every frame.
User avatar
kanthoney
Commodore
Commodore
Posts: 281
Joined: Thu Nov 07, 2013 10:21 pm

Re: Trunk nightly

Post by kanthoney »

Norby wrote:
Norby wrote:
The spinModel:false setting is ingored in mission screens, I guess since the new demoship rotation. This break the adjustable rotation function of [wiki]Gallery[/wiki] OXP.
The applied solution in the current trunk is too strong: my rotation attempts in FCB is cancelled also, always return to the start position after every frame.
Should be fixed in tonights build. Let me know if there are any more problems.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk nightly 1.83.0.6627-151002-60a89f9

Post by Cody »

When docking with the hud disabled, all my kit now displays in one long list instead of the usual two pages - unintended, I presume?

Ahh - does it in-flight too!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply