Page 9 of 15
Re: (BETA) Station Dock Control OXP
Posted: Fri Dec 18, 2015 4:24 am
by phkb
OK version 0.12.1 is now available. In this version:
- Added more third party interfaces for monitoring docking ships, and validated other interfaces.
- Added "developer notes.txt" file that describes all the third party interfaces.
- Move beta notes to a separate text file to clean up main readme.txt file.
- Updated methods for attaching scripts to ships to (hopefully) make it completely compatible with all OXP's that might also set ship scripts.
- Fixed small bug when attempting to update the MFD after the player ship is destroyed.
- Added some overrides for the zoom factor when viewing docked ships, so that Anacondas, Boas, Pythons (plus a few others) look larger than an Adder.
- Report screens or mission screens that add extra time to the clock will now cause the dock list to be refreshed.
- Updated screenID's to enable BGS background sounds.
- Renamed background overlay images to prevent possibility of future duplication.
- Toned down overlay images.
- Added extra flag to allow the ship model to spin, rather than remain static. You'll need to edit "stationdockcontrol_interface.js" and change line 31 from "this._spinModel = false;" to "this._spinModel = true;"
- Code refactoring.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 5:34 pm
by Anonymissimus
It seems there is a problem if a pirate cove gets destroyed, or likely if some station gets destroyed in general; it's just that I destroy pirate coves regularly and it seems the problem happens in some system from the point on when I have destroyed the cove after jumping in but not previously. Not sure (yet) about saveloads afterwards. It didn't happen with older versions of SDC (maybe 2-3 months ago). The program freezes frequently and randomly for a moment and in my latest.log is the following:
Code: Select all
18:24:32.002 [StationDockControl]: !!NOTE: Escorts required for 'python-x' but no 'dock' version of the shipdata exists
18:24:37.597 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 5.6952 seconds and has been terminated.
18:24:37.597 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:2625) <anonymous function>
18:24:37.597 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
18:24:37.597 [script.javaScript.stackTrace]: max: 60
18:24:37.598 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:3386) <anonymous function>
18:24:37.598 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
18:24:37.598 [script.javaScript.stackTrace]: slots: 10
18:24:37.598 [script.javaScript.stackTrace]: station: [Station "Dodecahedron Station" "Dodecahedron Station" position: (-71330.6, 70040, 642444) scanClass: CLASS_STATION status: STATUS_ACTIVE]
18:24:37.598 [script.javaScript.stackTrace]: check_depart: undefined
18:24:37.598 [script.javaScript.stackTrace]: check: ""
18:24:37.598 [script.javaScript.stackTrace]: tries: 9
18:24:37.598 [script.javaScript.stackTrace]: band_num: 11
18:24:37.598 [script.javaScript.stackTrace]: free: false
18:24:37.598 [script.javaScript.stackTrace]: i: -1
18:24:37.598 [script.javaScript.stackTrace]: band: [11, 11]
18:24:37.598 [script.javaScript.stackTrace]: idx: 0
18:24:37.598 [script.javaScript.stackTrace]: depart: 1495
18:24:37.599 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:1676) <anonymous function>
18:24:37.599 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
18:24:37.599 [script.javaScript.stackTrace]: station: [Station "Dodecahedron Station" "Dodecahedron Station" position: (-71330.6, 70040, 642444) scanClass: CLASS_STATION status: STATUS_ACTIVE]
18:24:37.599 [script.javaScript.stackTrace]: esc_pilot: null
18:24:37.599 [script.javaScript.stackTrace]: esc_type: "Gecko"
18:24:37.599 [script.javaScript.stackTrace]: esc_name: "Starboat Olympic"
18:24:37.599 [script.javaScript.stackTrace]: esc_bounty: 0
18:24:37.599 [script.javaScript.stackTrace]: leader: undefined
18:24:37.599 [script.javaScript.stackTrace]: groupSize: 4
18:24:37.600 [script.javaScript.stackTrace]: destLoc: "Planet|0"
18:24:37.600 [script.javaScript.stackTrace]: j: 4
18:24:37.600 [script.javaScript.stackTrace]: ext_equip: undefined
18:24:37.600 [script.javaScript.stackTrace]: ext_pilot: undefined
18:24:37.600 [script.javaScript.stackTrace]: ext_shpName: undefined
18:24:37.600 [script.javaScript.stackTrace]: ext_shpDataKey: undefined
18:24:37.600 [script.javaScript.stackTrace]: ext_shpType: undefined
18:24:37.600 [script.javaScript.stackTrace]: ext_role: undefined
18:24:37.600 [script.javaScript.stackTrace]: numext: undefined
18:24:37.600 [script.javaScript.stackTrace]: g: undefined
18:24:37.600 [script.javaScript.stackTrace]: maxcargo: undefined
18:24:37.600 [script.javaScript.stackTrace]: escortInfo: {...}
18:24:37.600 [script.javaScript.stackTrace]: dest: {...}
18:24:37.600 [script.javaScript.stackTrace]: selHunter: 0.9193032186783157
18:24:37.600 [script.javaScript.stackTrace]: selPirate: 0.8540822247596288
18:24:37.600 [script.javaScript.stackTrace]: i: 121
18:24:37.600 [script.javaScript.stackTrace]: actualCount: 67
18:24:37.600 [script.javaScript.stackTrace]: selection: 1
18:24:37.600 [script.javaScript.stackTrace]: choose: 0.0541648972140016
18:24:37.600 [script.javaScript.stackTrace]: escorts: []
18:24:37.600 [script.javaScript.stackTrace]: isLeader: false
18:24:37.600 [script.javaScript.stackTrace]: escortGroupName: ""
18:24:37.600 [script.javaScript.stackTrace]: groupName: ""
18:24:37.600 [script.javaScript.stackTrace]: goods: "PLENTIFUL_GOODS"
18:24:37.600 [script.javaScript.stackTrace]: equip: ""
18:24:37.600 [script.javaScript.stackTrace]: heat: 0
18:24:37.600 [script.javaScript.stackTrace]: weapons: 0
18:24:37.600 [script.javaScript.stackTrace]: skill: 0
18:24:37.600 [script.javaScript.stackTrace]: aiName: "oolite-traderAI.js"
18:24:37.600 [script.javaScript.stackTrace]: shipDockTime: 180063853648.02118
18:24:37.600 [script.javaScript.stackTrace]: species: ""
18:24:37.600 [script.javaScript.stackTrace]: destHidden: true
18:24:37.600 [script.javaScript.stackTrace]: destSystem: 51
18:24:37.600 [script.javaScript.stackTrace]: home: 49
18:24:37.600 [script.javaScript.stackTrace]: insurance: 0
18:24:37.600 [script.javaScript.stackTrace]: bounty: 0
18:24:37.600 [script.javaScript.stackTrace]: pilot: null
18:24:37.600 [script.javaScript.stackTrace]: depart: 180063871468.02118
18:24:37.600 [script.javaScript.stackTrace]: role: "trader"
18:24:37.600 [script.javaScript.stackTrace]: shpName: "Protect and Survive"
18:24:37.600 [script.javaScript.stackTrace]: shpDataKey: "aquatics_mantaRay"
18:24:37.600 [script.javaScript.stackTrace]: shpType: "Manta Ray"
18:24:37.600 [script.javaScript.stackTrace]: ships: 203
18:24:37.600 [script.javaScript.stackTrace]: min: 138
18:24:37.600 [script.javaScript.stackTrace]: max: 414
18:24:37.600 [script.javaScript.stackTrace]: curr: 197
18:24:37.600 [script.javaScript.stackTrace]: factor: 69
18:24:37.600 [script.javaScript.stackTrace]: calctype: 0
18:24:37.600 [script.javaScript.stackTrace]: countGroupMembers: 0
18:24:37.600 [script.javaScript.stackTrace]: countEscorts: 0
18:24:37.600 [script.javaScript.stackTrace]: countHunterHeavy: 0
18:24:37.600 [script.javaScript.stackTrace]: countHunterMedium: 0
18:24:37.600 [script.javaScript.stackTrace]: countHunterLight: 4
18:24:37.600 [script.javaScript.stackTrace]: countPirateHeavy: 0
18:24:37.600 [script.javaScript.stackTrace]: countPirateMedium: 0
18:24:37.600 [script.javaScript.stackTrace]: countPirateLight: 0
18:24:37.600 [script.javaScript.stackTrace]: countPirateInd: 0
18:24:37.600 [script.javaScript.stackTrace]: countShuttle: 31
18:24:37.600 [script.javaScript.stackTrace]: countAssassin: 0
18:24:37.600 [script.javaScript.stackTrace]: countTraderSmuggler: 0
18:24:37.600 [script.javaScript.stackTrace]: countTraderCourier: 1
18:24:37.600 [script.javaScript.stackTrace]: countTraderFreighter: 31
18:24:37.600 [script.javaScript.stackTrace]: stnIndex: 1
18:24:37.601 [script.javaScript.stackTrace]: 3 (stationdockcontrol.js:2294) <anonymous function>
18:24:37.601 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
18:24:37.601 [script.javaScript.stackTrace]: timeRange: 0
18:24:37.601 [script.javaScript.stackTrace]: stns: [[Station "Rock Hermit" "Rock Hermit" position: (184515, -159846, 666505) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT], [Station "Deep Space Dredger" "Deep Space Dredger" position: (-13557, 14510.9, 488790) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Station "Dodecahedron Station" "Dodecahedron Station" position: (-71330.6, 70040, 642444) scanClass: CLASS_STATION status: STATUS_ACTIVE]]
18:24:37.601 [script.javaScript.stackTrace]: hunterMax: 0.38634259259259257
18:24:37.601 [script.javaScript.stackTrace]: rangeHunterHeavy: [0.007407407407407407, 0.012962962962962963]
18:24:37.601 [script.javaScript.stackTrace]: rangeHunterMedium: [0.007407407407407407, 0.007407407407407407]
18:24:37.601 [script.javaScript.stackTrace]: rangeHunterLight: [0, 0.007407407407407407]
18:24:37.601 [script.javaScript.stackTrace]: pirateMax: 0.846124402495907
18:24:37.601 [script.javaScript.stackTrace]: rangePirateHeavy: [0.057655503119883926, 0.057655503119883926]
18:24:37.601 [script.javaScript.stackTrace]: rangePirateMedium: [0.05557216978655059, 0.057655503119883926]
18:24:37.601 [script.javaScript.stackTrace]: rangePirateLight: [0.048905503119883925, 0.05557216978655059]
18:24:37.601 [script.javaScript.stackTrace]: rangePirateInd: [0, 0.048905503119883925]
18:24:37.601 [script.javaScript.stackTrace]: traderMax: 0.119222006561541
18:24:37.601 [script.javaScript.stackTrace]: rangeShuttle: [0.06422200656154099, 0.119222006561541]
18:24:37.601 [script.javaScript.stackTrace]: rangeAssassin: [0.06131353233449246, 0.06422200656154099]
18:24:37.601 [script.javaScript.stackTrace]: rangeTradeSmuggl: [0.0611581321790923, 0.06131353233449246]
18:24:37.601 [script.javaScript.stackTrace]: rangeTradeCourier: [0.056713687734647855, 0.0611581321790923]
18:24:37.601 [script.javaScript.stackTrace]: rangeTradeFreight: [0, 0.056713687734647855]
18:24:37.601 [script.javaScript.stackTrace]: base: 0.012962962962962963
18:24:37.601 [script.javaScript.stackTrace]: logging: 0
18:24:37.601 [script.javaScript.stackTrace]: slots: 10
18:24:37.601 [script.javaScript.stackTrace]: w: null
18:24:37.601 [script.javaScript.stackTrace]: compare: function compare
18:24:37.601 [script.javaScript.stackTrace]: 4 (stationdockcontrol.js:582) <anonymous function>
18:24:37.601 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
18:24:37.601 [script.javaScript.stackTrace]: i: undefined
18:24:37.601 [script.javaScript.stackTrace]: adjruns: undefined
18:24:37.601 [script.javaScript.stackTrace]: stns: null
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 7:06 pm
by phkb
Thanks for this. I'll check it out.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 9:46 pm
by phkb
One quick question for anyone really: What OXP has the ship "python-x" in it? I've gone through all Smivs' shipsets (or at least, I think I have) but I'm unable to locate this particular Python.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 9:56 pm
by Cody
I think that may be from Staer9's Shipset.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 10:03 pm
by phkb
Hmm. I've got Staer9's shipset, and there is a Python X there, but the actual identifier is "staer9_python-x". There must be another one floating around somewhere. I'll keep looking.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 10:11 pm
by Anonymissimus
phkb wrote:One quick question for anyone really: What OXP has the ship "python-x" in it? I've gone through all Smivs' shipsets (or at least, I think I have) but I'm unable to locate this particular Python.
http://wiki.alioth.net/index.php/Aegidian's_X-Ships
Got it from the Aegidian's X-Ships v1.1 OXP download link.
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 10:16 pm
by phkb
Ah! Got it. Thanks!
Re: (BETA) Station Dock Control OXP
Posted: Tue Dec 29, 2015 11:23 pm
by Smivs
As you'll have found, it's the
Python Eunectes Turbo - it is only named python-x internally within the original oxp.
It is identified by the ship key 'python-x' in the shipdata.plist but is named as the Eunectes Turbo (or ET-special) in-game and elsewhere such as the wiki, which is why it was tricky to find.
Re: (BETA) Station Dock Control OXP
Posted: Wed Dec 30, 2015 9:13 pm
by Anonymissimus
It seems there are problems with the tourist starliners and Pulsar monitoring station from
Tianve OXP too. Tianve does not currently have a pirate cove here (It was not created).
Code: Select all
21:59:02.832 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 1.02725 seconds and has been terminated.
21:59:02.832 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:4079) <anonymous function>
21:59:02.832 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.832 [script.javaScript.stackTrace]: stationIndex: 0
21:59:02.832 [script.javaScript.stackTrace]: station: [Station "Tianve Tourist StarLiner - "Seats Available, Commander!"" "Tianve Tourist StarLiner - "Seats Available, Commander!"" position: (80153.7, -23566.5, 407150) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.833 [script.javaScript.stackTrace]: baynum: 1
21:59:02.833 [script.javaScript.stackTrace]: i: 231
21:59:02.833 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:4071) <anonymous function>
21:59:02.833 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.833 [script.javaScript.stackTrace]: stationIndex: 0
21:59:02.833 [script.javaScript.stackTrace]: station: [Station "Tianve Tourist StarLiner - "Seats Available, Commander!"" "Tianve Tourist StarLiner - "Seats Available, Commander!"" position: (80153.7, -23566.5, 407150) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.833 [script.javaScript.stackTrace]: exclude: 0
21:59:02.833 [script.javaScript.stackTrace]: baynum: 1
21:59:02.833 [script.javaScript.stackTrace]: stnmax: 0
21:59:02.833 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:2332) <anonymous function>
21:59:02.833 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.833 [script.javaScript.stackTrace]: dockObj: {...}
21:59:02.833 [script.javaScript.stackTrace]: dest: undefined
21:59:02.833 [script.javaScript.stackTrace]: tradeComplete: undefined
21:59:02.833 [script.javaScript.stackTrace]: cargo: undefined
21:59:02.833 [script.javaScript.stackTrace]: lastChange: undefined
21:59:02.833 [script.javaScript.stackTrace]: fuel: undefined
21:59:02.833 [script.javaScript.stackTrace]: pers: undefined
21:59:02.833 [script.javaScript.stackTrace]: hide: undefined
21:59:02.833 [script.javaScript.stackTrace]: bay: undefined
21:59:02.833 [script.javaScript.stackTrace]: stnIndex: 0
21:59:02.833 [script.javaScript.stackTrace]: 3 (stationdockcontrol.js:1299) <anonymous function>
21:59:02.833 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.833 [script.javaScript.stackTrace]: ship: [Ship "Fugu Tanker" position: (73587.9, -27238.3, 412556) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.833 [script.javaScript.stackTrace]: station: [Station "Tianve Tourist StarLiner - "Seats Available, Commander!"" "Tianve Tourist StarLiner - "Seats Available, Commander!"" position: (80153.7, -23566.5, 407150) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.833 [script.javaScript.stackTrace]: w: undefined
21:59:02.833 [script.javaScript.stackTrace]: launchWS: ""
21:59:02.833 [script.javaScript.stackTrace]: launchCB: ""
21:59:02.833 [script.javaScript.stackTrace]: shipname: "The Superior"
21:59:02.834 [script.javaScript.stackTrace]: equip: "EQ_ESCAPE_POD,FORE:EQ_WEAPON_BEAM_LASER,AFT:EQ_WEAPON_BEAM_LASER,PORT:EQ_WEAPON_NONE,STARBOARD:EQ_WEAPON_NONE,"
21:59:02.834 [script.javaScript.stackTrace]: pilot: {...}
21:59:02.834 [script.javaScript.stackTrace]: chance: undefined
21:59:02.834 [script.javaScript.stackTrace]: itm: undefined
21:59:02.834 [script.javaScript.stackTrace]: i: 1
21:59:02.834 [script.javaScript.stackTrace]: bribe_attempt: undefined
21:59:02.834 [script.javaScript.stackTrace]: cargo: ""
21:59:02.834 [script.javaScript.stackTrace]: goods: ""
21:59:02.834 [script.javaScript.stackTrace]: dest: {...}
21:59:02.834 [script.javaScript.stackTrace]: isEscort: false
21:59:02.834 [script.javaScript.stackTrace]: prim_role: "trader"
21:59:02.834 [script.javaScript.stackTrace]: aiName: "oolite-traderAI.js"
21:59:02.834 [script.javaScript.stackTrace]: escortData: undefined
21:59:02.834 [script.javaScript.stackTrace]: groupData: undefined
21:59:02.834 [script.javaScript.stackTrace]: leader: null
21:59:02.834 [script.javaScript.stackTrace]: lookupgroup: ""
21:59:02.834 [script.javaScript.stackTrace]: sdc_pop: [Script "StationDockControl_Populator" version 0.12.1]
21:59:02.834 [script.javaScript.stackTrace]: fuel: 7
21:59:02.834 [script.javaScript.stackTrace]: isEscortLeader: false
21:59:02.834 [script.javaScript.stackTrace]: isGroupLeader: false
21:59:02.834 [script.javaScript.stackTrace]: destHidden: true
21:59:02.834 [script.javaScript.stackTrace]: destSystem: 114
21:59:02.834 [script.javaScript.stackTrace]: depart: 180064786841.47443
21:59:02.834 [script.javaScript.stackTrace]: stnIndex: 0
21:59:02.834 [script.javaScript.stackTrace]: 4 (stationdockcontrol.js:3988) <anonymous function>
21:59:02.834 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.834 [script.javaScript.stackTrace]: ship: [Ship "Fugu Tanker" position: (73587.9, -27238.3, 412556) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.834 [script.javaScript.stackTrace]: station: [Station "Tianve Tourist StarLiner - "Seats Available, Commander!"" "Tianve Tourist StarLiner - "Seats Available, Commander!"" position: (80153.7, -23566.5, 407150) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.834 [script.javaScript.stackTrace]: chance: undefined
21:59:02.834 [script.javaScript.stackTrace]: died: false
21:59:02.834 [script.javaScript.stackTrace]: 5 (stationdockcontrol.js:4021) <anonymous function>
21:59:02.834 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.834 [script.javaScript.stackTrace]: station: [Station "Tianve Tourist StarLiner - "Seats Available, Commander!"" "Tianve Tourist StarLiner - "Seats Available, Commander!"" position: (80153.7, -23566.5, 407150) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
21:59:02.834 [script.javaScript.stackTrace]: j: 1
21:59:02.834 [script.javaScript.stackTrace]: escort: [[Ship "Fugu Tanker" position: (73587.9, -27238.3, 412556) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]]
21:59:02.834 [script.javaScript.stackTrace]: group: []
21:59:02.834 [script.javaScript.stackTrace]: i: 0
21:59:02.835 [script.javaScript.stackTrace]: docking: [[Ship "Fugu Tanker" position: (73587.9, -27238.3, 412556) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Cobra Mark III" position: (88923.8, -24248.6, 399702) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]]
21:59:02.835 [script.javaScript.stackTrace]: 6 (stationdockcontrol.js:4043) <anonymous function>
21:59:02.835 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
21:59:02.835 [script.javaScript.stackTrace]: timeLapse: 10.116666666666667
21:59:02.835 [script.javaScript.stackTrace]: stns: [[Station "Rock Hermit" "Rock Hermit" position: (97471.6, 184530, 820876) scanClass: CLASS_ROCK
Code: Select all
22:00:00.328 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 5.43763 seconds and has been terminated.
22:00:00.328 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:3420) <anonymous function>
22:00:00.328 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:00.328 [script.javaScript.stackTrace]: departureTime: 180064702113.63358
22:00:00.328 [script.javaScript.stackTrace]: stnIndex: 1
22:00:00.328 [script.javaScript.stackTrace]: stationName: "Tianve Pulsar Monitoring Station"
22:00:00.328 [script.javaScript.stackTrace]: i: 9
22:00:00.328 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:925) <anonymous function>
22:00:00.328 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:00.328 [script.javaScript.stackTrace]: free: false
22:00:00.328 [script.javaScript.stackTrace]: tries: 378632
22:00:00.328 [script.javaScript.stackTrace]: newDepart: 180064702113.63358
22:00:00.328 [script.javaScript.stackTrace]: i: 0
22:00:00.328 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:609) <anonymous function>
22:00:00.328 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:00.328 [script.javaScript.stackTrace]: i: 2
22:00:00.328 [script.javaScript.stackTrace]: adjruns: 1
22:00:00.328 [script.javaScript.stackTrace]: stns: undefined
22:00:25.330 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 5.21641 seconds and has been terminated.
22:00:25.330 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:3425) <anonymous function>
22:00:25.330 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:25.330 [script.javaScript.stackTrace]: departureTime: 180064702133.66635
22:00:25.330 [script.javaScript.stackTrace]: stnIndex: 1
22:00:25.330 [script.javaScript.stackTrace]: stationName: "Tianve Pulsar Monitoring Station"
22:00:25.330 [script.javaScript.stackTrace]: i: 53
22:00:25.330 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:925) <anonymous function>
22:00:25.330 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:25.330 [script.javaScript.stackTrace]: free: false
22:00:25.330 [script.javaScript.stackTrace]: tries: 375731
22:00:25.330 [script.javaScript.stackTrace]: newDepart: 180064702133.66635
22:00:25.330 [script.javaScript.stackTrace]: i: 0
22:00:25.330 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:609) <anonymous function>
22:00:25.330 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:25.330 [script.javaScript.stackTrace]: i: 2
22:00:25.331 [script.javaScript.stackTrace]: adjruns: 1
22:00:25.331 [script.javaScript.stackTrace]: stns: undefined
22:00:50.333 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 5.23591 seconds and has been terminated.
22:00:50.333 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:3420) <anonymous function>
22:00:50.333 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:50.333 [script.javaScript.stackTrace]: departureTime: 180064702093.64722
22:00:50.333 [script.javaScript.stackTrace]: stnIndex: 1
22:00:50.333 [script.javaScript.stackTrace]: stationName: "Tianve Pulsar Monitoring Station"
22:00:50.333 [script.javaScript.stackTrace]: i: 31
22:00:50.333 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:925) <anonymous function>
22:00:50.333 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:50.333 [script.javaScript.stackTrace]: free: false
22:00:50.333 [script.javaScript.stackTrace]: tries: 377320
22:00:50.333 [script.javaScript.stackTrace]: newDepart: 180064702093.64722
22:00:50.333 [script.javaScript.stackTrace]: i: 0
22:00:50.333 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:609) <anonymous function>
22:00:50.333 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.1]
22:00:50.333 [script.javaScript.stackTrace]: i: 2
22:00:50.333 [script.javaScript.stackTrace]: adjruns: 1
22:00:50.333 [script.javaScript.stackTrace]: stns: undefined
Re: (BETA) Station Dock Control OXP
Posted: Wed Dec 30, 2015 9:25 pm
by phkb
Anonymissimus, I've got a potential fix - can you try the version from this link and let me know if that makes any difference?
https://app.box.com/s/95trc6tq4oltb6lxrjybgq1746e6ls62
If so I'll make it the official release.
Thanks!
Re: (BETA) Station Dock Control OXP
Posted: Sat Jan 02, 2016 5:38 pm
by Anonymissimus
Got it.
I also notice that it seems that SDC causes NPC traffic at pirate coves, albeit they are set up to not have it. At least something seems to be causing NPC traffic at them and SDC is the most likely candidate.
Re: (BETA) Station Dock Control OXP
Posted: Sat Jan 02, 2016 9:58 pm
by phkb
Hmm. I thought I'd disabled traffic at pirate coves. I'll take another look. Thanks!
Re: (BETA) Station Dock Control OXP
Posted: Mon Jan 04, 2016 2:38 am
by Anonymissimus
Sorry, I'm still getting errors.
Code: Select all
03:34:09.522 [script.javaScript.timeLimit]: ***** ERROR: Script "StationDockControl" ran for 5.01666 seconds and has been terminated.
03:34:09.522 [script.javaScript.stackTrace]: 0 (stationdockcontrol.js:3352) <anonymous function>
03:34:09.522 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.2]
03:34:09.522 [script.javaScript.stackTrace]: slots: 10
03:34:09.523 [script.javaScript.stackTrace]: station: [Station "Coriolis Station" "Coriolis Station" position: (-112907, 16539.8, 791271) scanClass: CLASS_STATION status: STATUS_ACTIVE]
03:34:09.523 [script.javaScript.stackTrace]: check_depart: undefined
03:34:09.523 [script.javaScript.stackTrace]: check: ""
03:34:09.523 [script.javaScript.stackTrace]: tries: 0
03:34:09.523 [script.javaScript.stackTrace]: band_num: 11
03:34:09.523 [script.javaScript.stackTrace]: free: false
03:34:09.523 [script.javaScript.stackTrace]: i: -1
03:34:09.523 [script.javaScript.stackTrace]: band: [11, 11]
03:34:09.523 [script.javaScript.stackTrace]: idx: 0
03:34:09.523 [script.javaScript.stackTrace]: depart: 1451
03:34:09.524 [script.javaScript.stackTrace]: 1 (stationdockcontrol.js:1676) <anonymous function>
03:34:09.524 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.2]
03:34:09.524 [script.javaScript.stackTrace]: station: [Station "Coriolis Station" "Coriolis Station" position: (-112907, 16539.8, 791271) scanClass: CLASS_STATION status: STATUS_ACTIVE]
03:34:09.524 [script.javaScript.stackTrace]: esc_pilot: null
03:34:09.524 [script.javaScript.stackTrace]: esc_type: "Krait"
03:34:09.524 [script.javaScript.stackTrace]: esc_name: "Ode of Vetitice"
03:34:09.524 [script.javaScript.stackTrace]: esc_bounty: 0
03:34:09.524 [script.javaScript.stackTrace]: leader: undefined
03:34:09.524 [script.javaScript.stackTrace]: groupSize: 3
03:34:09.524 [script.javaScript.stackTrace]: destLoc: "Planet|0"
03:34:09.524 [script.javaScript.stackTrace]: j: 3
03:34:09.525 [script.javaScript.stackTrace]: ext_equip: "FORE:EQ_WEAPON_BEAM_LASER,EQ_FUEL_INJECTION,X:EQ_ESCAPE_POD,"
03:34:09.525 [script.javaScript.stackTrace]: ext_pilot: null
03:34:09.525 [script.javaScript.stackTrace]: ext_shpName: "Prosaic, or Caustic?"
03:34:09.525 [script.javaScript.stackTrace]: ext_shpDataKey: "ferdelance"
03:34:09.525 [script.javaScript.stackTrace]: ext_shpType: "Fer-de-Lance"
03:34:09.525 [script.javaScript.stackTrace]: ext_role: "assassin-medium"
03:34:09.525 [script.javaScript.stackTrace]: numext: 2
03:34:09.525 [script.javaScript.stackTrace]: g: 3
03:34:09.525 [script.javaScript.stackTrace]: maxcargo: undefined
03:34:09.525 [script.javaScript.stackTrace]: escortInfo: {...}
03:34:09.525 [script.javaScript.stackTrace]: dest: {...}
03:34:09.525 [script.javaScript.stackTrace]: selHunter: 0.44187843260318704
03:34:09.525 [script.javaScript.stackTrace]: selPirate: 0.9699039812695197
03:34:09.525 [script.javaScript.stackTrace]: i: 121
03:34:09.525 [script.javaScript.stackTrace]: actualCount: 67
03:34:09.525 [script.javaScript.stackTrace]: selection: 2
03:34:09.525 [script.javaScript.stackTrace]: choose: 0.06131706419916467
03:34:09.525 [script.javaScript.stackTrace]: escorts: []
03:34:09.525 [script.javaScript.stackTrace]: isLeader: false
03:34:09.525 [script.javaScript.stackTrace]: escortGroupName: ""
03:34:09.525 [script.javaScript.stackTrace]: groupName: ""
03:34:09.525 [script.javaScript.stackTrace]: goods: "PLENTIFUL_GOODS"
03:34:09.525 [script.javaScript.stackTrace]: equip: ""
03:34:09.525 [script.javaScript.stackTrace]: heat: 6
03:34:09.525 [script.javaScript.stackTrace]: weapons: 0
03:34:09.525 [script.javaScript.stackTrace]: skill: 0
03:34:09.525 [script.javaScript.stackTrace]: aiName: "oolite-traderAI.js"
03:34:09.525 [script.javaScript.stackTrace]: shipDockTime: 180063060065.95294
03:34:09.525 [script.javaScript.stackTrace]: species: ""
03:34:09.525 [script.javaScript.stackTrace]: destHidden: true
03:34:09.525 [script.javaScript.stackTrace]: destSystem: 3
03:34:09.525 [script.javaScript.stackTrace]: home: 42
03:34:09.525 [script.javaScript.stackTrace]: insurance: 0
03:34:09.525 [script.javaScript.stackTrace]: bounty: 0
03:34:09.525 [script.javaScript.stackTrace]: pilot: null
03:34:09.525 [script.javaScript.stackTrace]: depart: 180063101525.95294
03:34:09.525 [script.javaScript.stackTrace]: role: "trader-courier"
03:34:09.525 [script.javaScript.stackTrace]: shpName: "The Glass Bunyip\'s Takings"
03:34:09.525 [script.javaScript.stackTrace]: shpDataKey: "aquatics_mantaRay"
03:34:09.525 [script.javaScript.stackTrace]: shpType: "Manta Ray"
03:34:09.525 [script.javaScript.stackTrace]: ships: 179
03:34:09.525 [script.javaScript.stackTrace]: min: 110
03:34:09.525 [script.javaScript.stackTrace]: max: 330
03:34:09.525 [script.javaScript.stackTrace]: curr: 97
03:34:09.525 [script.javaScript.stackTrace]: factor: 55
03:34:09.525 [script.javaScript.stackTrace]: calctype: 0
03:34:09.525 [script.javaScript.stackTrace]: countGroupMembers: 0
03:34:09.525 [script.javaScript.stackTrace]: countEscorts: 0
03:34:09.525 [script.javaScript.stackTrace]: countHunterHeavy: 0
03:34:09.525 [script.javaScript.stackTrace]: countHunterMedium: 0
03:34:09.525 [script.javaScript.stackTrace]: countHunterLight: 2
03:34:09.525 [script.javaScript.stackTrace]: countPirateHeavy: 0
03:34:09.525 [script.javaScript.stackTrace]: countPirateMedium: 0
03:34:09.525 [script.javaScript.stackTrace]: countPirateLight: 0
03:34:09.525 [script.javaScript.stackTrace]: countPirateInd: 0
03:34:09.525 [script.javaScript.stackTrace]: countShuttle: 14
03:34:09.525 [script.javaScript.stackTrace]: countAssassin: 11
03:34:09.525 [script.javaScript.stackTrace]: countTraderSmuggler: 0
03:34:09.525 [script.javaScript.stackTrace]: countTraderCourier: 1
03:34:09.525 [script.javaScript.stackTrace]: countTraderFreighter: 46
03:34:09.525 [script.javaScript.stackTrace]: stnIndex: 1
03:34:09.526 [script.javaScript.stackTrace]: 2 (stationdockcontrol.js:2294) <anonymous function>
03:34:09.526 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.2]
03:34:09.526 [script.javaScript.stackTrace]: timeRange: 0
03:34:09.526 [script.javaScript.stackTrace]: stns: [[Station "Coriolis Station" "Coriolis Station" position: (-112907, 16539.8, 791271) scanClass: CLASS_STATION status: STATUS_ACTIVE], [Station "Rock Hermit" "Rock Hermit" position: (146225, -365499, 601375) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT], [Station "Rock Hermit" "Rock Hermit" position: (20482, 8158.59, 243324) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT]]
03:34:09.526 [script.javaScript.stackTrace]: hunterMax: 0.3816666666666667
03:34:09.526 [script.javaScript.stackTrace]: rangeHunterHeavy: [0.007619047619047619, 0.007619047619047619]
03:34:09.526 [script.javaScript.stackTrace]: rangeHunterMedium: [0.007619047619047619, 0.007619047619047619]
03:34:09.526 [script.javaScript.stackTrace]: rangeHunterLight: [0, 0.007619047619047619]
03:34:09.526 [script.javaScript.stackTrace]: pirateMax: 0.8452206345775082
03:34:09.526 [script.javaScript.stackTrace]: rangePirateHeavy: [0.055831348777440726, 0.05652579322188517]
03:34:09.526 [script.javaScript.stackTrace]: rangePirateMedium: [0.05166468211077406, 0.055831348777440726]
03:34:09.526 [script.javaScript.stackTrace]: rangePirateLight: [0.03833134877744073, 0.05166468211077406]
03:34:09.526 [script.javaScript.stackTrace]: rangePirateInd: [0, 0.03833134877744073]
03:34:09.526 [script.javaScript.stackTrace]: traderMax: 0.08556869903706149
03:34:09.526 [script.javaScript.stackTrace]: rangeShuttle: [0.06556869903706149, 0.08556869903706149]
03:34:09.526 [script.javaScript.stackTrace]: rangeAssassin: [0.06276352868012446, 0.06556869903706149]
03:34:09.526 [script.javaScript.stackTrace]: rangeTradeSmuggl: [0.06239315830975409, 0.06276352868012446]
03:34:09.526 [script.javaScript.stackTrace]: rangeTradeCourier: [0.06054130645790223, 0.06239315830975409]
03:34:09.526 [script.javaScript.stackTrace]: rangeTradeFreight: [0, 0.06054130645790223]
03:34:09.526 [script.javaScript.stackTrace]: base: 0.007619047619047619
03:34:09.526 [script.javaScript.stackTrace]: logging: 0
03:34:09.526 [script.javaScript.stackTrace]: slots: 10
03:34:09.526 [script.javaScript.stackTrace]: w: [Script "oolite-populator" version 1.82.1]
03:34:09.526 [script.javaScript.stackTrace]: compare: function compare
03:34:09.526 [script.javaScript.stackTrace]: 3 (stationdockcontrol.js:581) <anonymous function>
03:34:09.526 [script.javaScript.stackTrace]: this: [Script "StationDockControl" version 0.12.2]
03:34:09.526 [script.javaScript.stackTrace]: i: undefined
03:34:09.526 [script.javaScript.stackTrace]: adjruns: undefined
03:34:09.526 [script.javaScript.stackTrace]: stns: null
I saw a *clean* ship docking with a pirate cove. I don't think that should have happened, and I suspect your OXP sent it there from another station (in system travel) ?
Re: (BETA) Station Dock Control OXP
Posted: Mon Jan 04, 2016 4:42 am
by phkb
Aw, dang.
OK, I'll try something else.