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.Trunk nightly
Moderators: winston, another_commander, Getafix
- Norby
- ---- 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
When I award my newest equipment (EQ_WEAPON_LASER_COOLER) in script, the
Re: Trunk nightly
Norby,
your lasercooler-conditions.js is used for BOTH
Maybe that's what causes the unexpected context ?
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]
OXPs : My user page
Retired, reachable at [email protected]
- Norby
- ---- 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
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".Lone_Wolf wrote:your lasercooler-conditions.js is used for BOTHEQ_LASER_COOLER
andEQ_WEAPON_LASER_COOLER
.
Maybe that's what causes the unexpected context ?
Re: Trunk nightly
Thanks. Should be fixed in tonight's build.Norby wrote:When I award my newest equipment (EQ_WEAPON_LASER_COOLER) in script, thecontext
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.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly 1.83.0.6583-150810-80c31a3
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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Trunk nightly 1.83.0.6583-150810-80c31a3
Thanks. Should be fixed in tonight's build.Cody wrote:I have a problem with parcel contracts (and the others, I think) - they ain't showing the shortest route, only the quickest.
- Norby
- ---- 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
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.
Re: Trunk nightly
That probably needs an "if (spinning)" around line 5237 of Universe.m. I'll put that in later. Thanks!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly 1.83.0.6613-150829-e12a9ab
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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Trunk nightly
Comms Pack A, that one. I've made a note of it.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
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.
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly 1.83.0.6621-150908-49f8265
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Norby
- ---- 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
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.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.
Re: Trunk nightly
Should be fixed in tonights build. Let me know if there are any more problems.Norby wrote: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.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.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly 1.83.0.6627-151002-60a89f9
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!
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!
And any survivors, their debts I will certainly pay. There's always a way!