Page 30 of 32

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 8:37 am
by phkb
Cholmondely wrote: Tue Mar 19, 2024 10:13 pm
Could I be going so fast I miss it
You shouldn't be able to. Once it turns on, it's on until you reach the actual spot. I'll debug this one later.

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 9:04 am
by MrFlibble
I'm just banging my head against various Long range scanner versions and revisiting 'investigate beacon'. I'm guessing the F6F6F5 key-combo for LRS might not work in 1.91.

However, I noticed this in the log, which may be relevant.

Code: Select all

08:56:48.668 [script.javaScript.exception.notDefined]: ***** JavaScript exception (GalCopBB_Investigations 0.8.1): ReferenceError: xrangeMax is not defined

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 9:06 am
by phkb
MrFlibble wrote: Wed Mar 20, 2024 9:04 am
However, I noticed this in the log, which may be relevant.
Yeah, I literally *just* found that error! And yes, that will prevent any of the investigation missions from running properly until a bug fix.

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 9:23 am
by MrFlibble
MrFlibble wrote: Wed Mar 20, 2024 9:04 am
I'm just banging my head against various Long range scanner versions and revisiting 'investigate beacon'. I'm guessing the F6F6F5 key-combo for LRS might not work in 1.91.
So's not to leave that danglilng... I'd hacked up a manifest.plist to stop the log whingeing, but as it's a cheat, I didn't realise I had to buy it :)
LRS seems to work just fine in 1.91.

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 9:45 am
by phkb
Coyote's Run update should be in the manager shortly. I've got a few more checks and updates before a new GalCop Missions update will be ready.

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 9:54 am
by phkb
MrFlibble wrote: Tue Mar 19, 2024 1:15 am
Doing a defend satellites, when I have the towbar laser reductor set on I notice that unusually, all the target ships are going derelict when shot, and of course also chuck out escape pods.

Is this by design?
Well, not by design, per se. When I'm spawning ships, I'm essentially creating "assassin" type ships, and I'm giving them an escape pod. That's pretty much all that Towbar needs, I believe! I haven't played around very much with Towbar yet (I know I probably should at some point), so I'm not sure what's "normal".

Re: [WIP] GalCop Missions

Posted: Wed Mar 20, 2024 10:14 am
by MrFlibble
phkb wrote: Wed Mar 20, 2024 9:45 am
Coyote's Run update should be in the manager shortly. I've got a few more checks and updates before a new GalCop Missions update will be ready.
Got it. Progress at last. There's a Katik Python being torn apart on my towbar right now.
Many thanks!

Re: [WIP] GalCop Missions

Posted: Mon Apr 15, 2024 6:13 pm
by MrFlibble
Typos or logic error in GalCop email mission.
Our of our courier ships had to be abandoned in the Berien system when the pilot came under fire [position], but we are certain the special cargo is still intact inside the hulk.
Extract from Latest.log.

Code: Select all

19:02:01.957 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (BulletinBoardSystem 2.6.2): Unknown expansion key [position] in string.
19:02:01.957 [script.javaScript.warning.ooliteDefined]:       /home/user/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.phkb.GalCopMissions.oxz/Scripts/galcopbb_missions.js, line 2285.
19:02:01.958 [script.javaScript.stackTrace]:  0 (galcopbb_missions.js:2285) $addLocalMissions()
19:02:01.958 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.958 [script.javaScript.stackTrace]:     postMission: true
19:02:01.958 [script.javaScript.stackTrace]:     missChain: "22"
19:02:01.958 [script.javaScript.stackTrace]:     originalSource: 122
19:02:01.958 [script.javaScript.stackTrace]:     originalMissionType: 6
19:02:01.958 [script.javaScript.stackTrace]:     overrideMissionTypes: [23, 20, 5, 2, ... <22 items total>]
19:02:01.958 [script.javaScript.stackTrace]:     addMarkers: undefined
19:02:01.958 [script.javaScript.stackTrace]:     noEmail: undefined
19:02:01.958 [script.javaScript.stackTrace]:     itms: undefined
19:02:01.958 [script.javaScript.stackTrace]:     mnu: undefined
19:02:01.958 [script.javaScript.stackTrace]:     custMenu: undefined
19:02:01.958 [script.javaScript.stackTrace]:     cmdty_unit: undefined
19:02:01.958 [script.javaScript.stackTrace]:     missText: undefined
19:02:01.958 [script.javaScript.stackTrace]:     linkedtype: undefined
19:02:01.958 [script.javaScript.stackTrace]:     pmItem: undefined
19:02:01.958 [script.javaScript.stackTrace]:     k: undefined
19:02:01.958 [script.javaScript.stackTrace]:     mds: undefined
19:02:01.958 [script.javaScript.stackTrace]:     mdp: undefined
19:02:01.958 [script.javaScript.stackTrace]:     md: undefined
19:02:01.958 [script.javaScript.stackTrace]:     ov: undefined
19:02:01.958 [script.javaScript.stackTrace]:     bk: undefined
19:02:01.958 [script.javaScript.stackTrace]:     rt: undefined
19:02:01.958 [script.javaScript.stackTrace]:     txt: undefined
19:02:01.958 [script.javaScript.stackTrace]:     brk: undefined
19:02:01.958 [script.javaScript.stackTrace]:     extract: undefined
19:02:01.958 [script.javaScript.stackTrace]:     m: undefined
19:02:01.958 [script.javaScript.stackTrace]:     postMsg: undefined
19:02:01.958 [script.javaScript.stackTrace]:     lastMissionTxt: "You did exceptional work in  collecting and returning that dumped cargo. An excellent piece of work."
19:02:01.958 [script.javaScript.stackTrace]:     emailSubject: "Recover cargo from derelict ship"
19:02:01.958 [script.javaScript.stackTrace]:     expiry: ""
19:02:01.958 [script.javaScript.stackTrace]:     reject: "Reject|Commander Dragomir Igniela,\n\nThank you for contacting me, but I\'m afraid I am unable to take on your request at this time.\n\nCommander Flibble"
19:02:01.958 [script.javaScript.stackTrace]:     accept: "Accept|Commander Dragomir Igniela,\n\nThanks for contacting me. Yes, I can perform this mission to recover the special cargo.\n\nRegards,\n\nCommander Flibble"
19:02:01.958 [script.javaScript.stackTrace]:     email: [Script "EmailSystem" version 1.7.9]
19:02:01.958 [script.javaScript.stackTrace]:     payload: {...}
19:02:01.958 [script.javaScript.stackTrace]:     w: undefined
19:02:01.958 [script.javaScript.stackTrace]:     fn: undefined
19:02:01.958 [script.javaScript.stackTrace]:     id: -2
19:02:01.958 [script.javaScript.stackTrace]:     secondCheck: true
19:02:01.958 [script.javaScript.stackTrace]:     rep: [Script "GalCopBB_Reputation" version 0.8.1]
19:02:01.958 [script.javaScript.stackTrace]:     shipspec: undefined
19:02:01.958 [script.javaScript.stackTrace]:     type53Menu: null
19:02:01.958 [script.javaScript.stackTrace]:     eqItem: [EquipmentInfo EQ_FUEL_SCOOPS "Fuel Scoops"]
19:02:01.958 [script.javaScript.stackTrace]:     ref: "EQ_FUEL_SCOOPS"
19:02:01.958 [script.javaScript.stackTrace]:     j: 1
19:02:01.959 [script.javaScript.stackTrace]:     eqText: "Fuel Scoops"
19:02:01.959 [script.javaScript.stackTrace]:     eqList: ["EQ_CARGO_SCOOPS"]
19:02:01.959 [script.javaScript.stackTrace]:     condList: ["chance:40", "min_government:2", "include_equipment:EQ_CARGO_SCOOPS", "min_score:16", ... <7 items total>]
19:02:01.959 [script.javaScript.stackTrace]:     risk: "Low"
19:02:01.959 [script.javaScript.stackTrace]:     assassins: 0.3
19:02:01.959 [script.javaScript.stackTrace]:     autoAccept: false
19:02:01.959 [script.javaScript.stackTrace]:     rep_factor: 1
19:02:01.959 [script.javaScript.stackTrace]:     ws: [Script "GalCopBB_Derelict" version 0.8.1]
19:02:01.959 [script.javaScript.stackTrace]:     interstellarWarning: ""
19:02:01.959 [script.javaScript.stackTrace]:     ingr: []
19:02:01.959 [script.javaScript.stackTrace]:     clientName: "Dragomir Igniela"
19:02:01.959 [script.javaScript.stackTrace]:     values: {...}
19:02:01.959 [script.javaScript.stackTrace]:     satType: 0
19:02:01.959 [script.javaScript.stackTrace]:     destA: -1
19:02:01.959 [script.javaScript.stackTrace]:     dpst: 0
19:02:01.959 [script.javaScript.stackTrace]:     expire: 180304777562.23303
19:02:01.959 [script.javaScript.stackTrace]:     amt: 1450
19:02:01.959 [script.javaScript.stackTrace]:     qty: 1
19:02:01.959 [script.javaScript.stackTrace]:     pen: 290
19:02:01.959 [script.javaScript.stackTrace]:     selectedCmdty: ""
19:02:01.959 [script.javaScript.stackTrace]:     locType: 0
19:02:01.959 [script.javaScript.stackTrace]:     repSel: "Local Government"
19:02:01.959 [script.javaScript.stackTrace]:     repEntity: "Local Government"
19:02:01.959 [script.javaScript.stackTrace]:     stnKey: "galcop"
19:02:01.959 [script.javaScript.stackTrace]:     sys2: undefined
19:02:01.959 [script.javaScript.stackTrace]:     compTypeItems: undefined
19:02:01.959 [script.javaScript.stackTrace]:     completeType: "AT_SOURCE"
19:02:01.959 [script.javaScript.stackTrace]:     s_type: "0"
19:02:01.959 [script.javaScript.stackTrace]:     rdist: 22.400000000000002
19:02:01.959 [script.javaScript.stackTrace]:     rtime: 446048.00000000006
19:02:01.959 [script.javaScript.stackTrace]:     cust: [{...}, {...}, {...}, {...}]
19:02:01.959 [script.javaScript.stackTrace]:     methodItems: undefined
19:02:01.959 [script.javaScript.stackTrace]:     method: "email"
19:02:01.959 [script.javaScript.stackTrace]:     route: {...}
19:02:01.959 [script.javaScript.stackTrace]:     dest: [SystemInfo galaxy 1, system 25]
19:02:01.959 [script.javaScript.stackTrace]:     route2: undefined
19:02:01.959 [script.javaScript.stackTrace]:     route1: undefined
19:02:01.959 [script.javaScript.stackTrace]:     choice: 3
19:02:01.959 [script.javaScript.stackTrace]:     l_end: 17
19:02:01.959 [script.javaScript.stackTrace]:     l_start: 0
19:02:01.959 [script.javaScript.stackTrace]:     sysSelectType: "sequential"
19:02:01.959 [script.javaScript.stackTrace]:     chkRt: {...}
19:02:01.959 [script.javaScript.stackTrace]:     i: 3
19:02:01.959 [script.javaScript.stackTrace]:     sys: [[SystemInfo galaxy 1, system 29], [SystemInfo galaxy 1, system 252], [SystemInfo galaxy 1, system 45], [SystemInfo galaxy 1, system 25], ... <17 items total>]
19:02:01.959 [script.javaScript.stackTrace]:     rng: 15
19:02:01.959 [script.javaScript.stackTrace]:     checkAvailability: ""
19:02:01.959 [script.javaScript.stackTrace]:     testResult: true
19:02:01.959 [script.javaScript.stackTrace]:     conditions: "chance:40,min_government:2,include_equipment:EQ_CARGO_SCOOPS,min_score:16,max_mission_count:0,mission_gap_days:5,has_outbreak:0"
19:02:01.959 [script.javaScript.stackTrace]:     mainWS: "GalCopBB_Derelict"
19:02:01.959 [script.javaScript.stackTrace]:     selectedMissionType: 24
19:02:01.959 [script.javaScript.stackTrace]:     mt: 5
19:02:01.960 [script.javaScript.stackTrace]:     bb: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.960 [script.javaScript.stackTrace]:     endPoint: 22
19:02:01.960 [script.javaScript.stackTrace]:     missTypes: [23, 20, 5, 2, ... <22 items total>]
19:02:01.960 [script.javaScript.stackTrace]:     srcSystem: [SystemInfo galaxy 1, system 122]
19:02:01.960 [script.javaScript.stackTrace]:     src: 122
19:02:01.960 [script.javaScript.stackTrace]:     sliceAmt: 15
19:02:01.960 [script.javaScript.stackTrace]:     compareDist: function compareDist
19:02:01.960 [script.javaScript.stackTrace]:  1 (galcopbb_missions.js:1428) $checkForFollowupMission()
19:02:01.960 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.960 [script.javaScript.stackTrace]:     item: {...}
19:02:01.960 [script.javaScript.stackTrace]:     id: undefined
19:02:01.960 [script.javaScript.stackTrace]:     i: 23
19:02:01.960 [script.javaScript.stackTrace]:     getList: ["2", "3", "5", "8", ... <23 items total>]
19:02:01.960 [script.javaScript.stackTrace]:     missionList: [23, 20, 5, 2, ... <22 items total>]
19:02:01.960 [script.javaScript.stackTrace]:     chainData: ["22"]
19:02:01.960 [script.javaScript.stackTrace]:     chain: "22"
19:02:01.960 [script.javaScript.stackTrace]:     chance: 0.2
19:02:01.960 [script.javaScript.stackTrace]:     check: "2,3,5,8,10,12,13,14,20,21,22,23,24,25,31,32,33,40,41,42,43,44,46"
19:02:01.960 [script.javaScript.stackTrace]:  2 (galcopbb_missions.js:4214) $updateSuccessHistoryReputation()
19:02:01.960 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.960 [script.javaScript.stackTrace]:     item: {...}
19:02:01.960 [script.javaScript.stackTrace]:     rep: undefined
19:02:01.960 [script.javaScript.stackTrace]:  3 (galcopbb_missions.js:1446) $completedMission()
19:02:01.960 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.960 [script.javaScript.stackTrace]:     missID: 11361
19:02:01.960 [script.javaScript.stackTrace]:     cargo: undefined
19:02:01.960 [script.javaScript.stackTrace]:     i: undefined
19:02:01.960 [script.javaScript.stackTrace]:     amt: undefined
19:02:01.960 [script.javaScript.stackTrace]:     item: {...}
19:02:01.960 [script.javaScript.stackTrace]:     cm: [Script "GalCopBB_CargoMonitor" version 0.8.1]
19:02:01.960 [script.javaScript.stackTrace]:     bb: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.960 [script.javaScript.stackTrace]:     p: [PlayerShip "D.T.T. War Lance" position: (-1685.84, 123844, 739565) scanClass: CLASS_PLAYER status: STATUS_DOCKED]
19:02:01.960 [script.javaScript.stackTrace]:  4 (bb_system.js:867) $completeBBMission()
19:02:01.960 [script.javaScript.stackTrace]:     this: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.960 [script.javaScript.stackTrace]:     bbID: 11361
19:02:01.960 [script.javaScript.stackTrace]:     msg: undefined
19:02:01.960 [script.javaScript.stackTrace]:     bonus: undefined
19:02:01.960 [script.javaScript.stackTrace]:     total: undefined
19:02:01.960 [script.javaScript.stackTrace]:     item: {...}
19:02:01.960 [script.javaScript.stackTrace]:  5 (bb_system.js:2575) $bbHandler()
19:02:01.960 [script.javaScript.stackTrace]:     this: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.960 [script.javaScript.stackTrace]:     choice: "32_COMPLETE"
19:02:01.960 [script.javaScript.stackTrace]:     result: ""
19:02:01.960 [script.javaScript.stackTrace]:     target: undefined
19:02:01.960 [script.javaScript.stackTrace]:     i: undefined
19:02:01.960 [script.javaScript.stackTrace]:     mnu: undefined
19:02:01.960 [script.javaScript.stackTrace]:     item: {...}
19:02:01.960 [script.javaScript.stackTrace]:     dest: undefined
19:02:01.960 [script.javaScript.stackTrace]:     idx: undefined
19:02:01.961 [script.javaScript.stackTrace]:     newChoice: ""
19:02:01.961 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (BulletinBoardSystem 2.6.2): Unbalanced ] in string.
19:02:01.961 [script.javaScript.warning.ooliteDefined]:       /home/user/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.phkb.GalCopMissions.oxz/Scripts/galcopbb_missions.js, line 2285.
19:02:01.961 [script.javaScript.stackTrace]:  0 (galcopbb_missions.js:2285) $addLocalMissions()
19:02:01.961 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.961 [script.javaScript.stackTrace]:     postMission: true
19:02:01.961 [script.javaScript.stackTrace]:     missChain: "22"
19:02:01.961 [script.javaScript.stackTrace]:     originalSource: 122
19:02:01.961 [script.javaScript.stackTrace]:     originalMissionType: 6
19:02:01.961 [script.javaScript.stackTrace]:     overrideMissionTypes: [23, 20, 5, 2, ... <22 items total>]
19:02:01.961 [script.javaScript.stackTrace]:     addMarkers: undefined
19:02:01.961 [script.javaScript.stackTrace]:     noEmail: undefined
19:02:01.961 [script.javaScript.stackTrace]:     itms: undefined
19:02:01.961 [script.javaScript.stackTrace]:     mnu: undefined
19:02:01.961 [script.javaScript.stackTrace]:     custMenu: undefined
19:02:01.961 [script.javaScript.stackTrace]:     cmdty_unit: undefined
19:02:01.961 [script.javaScript.stackTrace]:     missText: undefined
19:02:01.961 [script.javaScript.stackTrace]:     linkedtype: undefined
19:02:01.961 [script.javaScript.stackTrace]:     pmItem: undefined
19:02:01.961 [script.javaScript.stackTrace]:     k: undefined
19:02:01.961 [script.javaScript.stackTrace]:     mds: undefined
19:02:01.961 [script.javaScript.stackTrace]:     mdp: undefined
19:02:01.961 [script.javaScript.stackTrace]:     md: undefined
19:02:01.961 [script.javaScript.stackTrace]:     ov: undefined
19:02:01.961 [script.javaScript.stackTrace]:     bk: undefined
19:02:01.961 [script.javaScript.stackTrace]:     rt: undefined
19:02:01.961 [script.javaScript.stackTrace]:     txt: undefined
19:02:01.961 [script.javaScript.stackTrace]:     brk: undefined
19:02:01.961 [script.javaScript.stackTrace]:     extract: undefined
19:02:01.961 [script.javaScript.stackTrace]:     m: undefined
19:02:01.961 [script.javaScript.stackTrace]:     postMsg: undefined
19:02:01.961 [script.javaScript.stackTrace]:     lastMissionTxt: "You did exceptional work in  collecting and returning that dumped cargo. An excellent piece of work."
19:02:01.961 [script.javaScript.stackTrace]:     emailSubject: "Recover cargo from derelict ship"
19:02:01.961 [script.javaScript.stackTrace]:     expiry: ""
19:02:01.961 [script.javaScript.stackTrace]:     reject: "Reject|Commander Dragomir Igniela,\n\nThank you for contacting me, but I\'m afraid I am unable to take on your request at this time.\n\nCommander Flibble"
19:02:01.962 [script.javaScript.stackTrace]:     accept: "Accept|Commander Dragomir Igniela,\n\nThanks for contacting me. Yes, I can perform this mission to recover the special cargo.\n\nRegards,\n\nCommander Flibble"
19:02:01.962 [script.javaScript.stackTrace]:     email: [Script "EmailSystem" version 1.7.9]
19:02:01.962 [script.javaScript.stackTrace]:     payload: {...}
19:02:01.962 [script.javaScript.stackTrace]:     w: undefined
19:02:01.962 [script.javaScript.stackTrace]:     fn: undefined
19:02:01.962 [script.javaScript.stackTrace]:     id: -2
19:02:01.962 [script.javaScript.stackTrace]:     secondCheck: true
19:02:01.962 [script.javaScript.stackTrace]:     rep: [Script "GalCopBB_Reputation" version 0.8.1]
19:02:01.962 [script.javaScript.stackTrace]:     shipspec: undefined
19:02:01.962 [script.javaScript.stackTrace]:     type53Menu: null
19:02:01.962 [script.javaScript.stackTrace]:     eqItem: [EquipmentInfo EQ_FUEL_SCOOPS "Fuel Scoops"]
19:02:01.962 [script.javaScript.stackTrace]:     ref: "EQ_FUEL_SCOOPS"
19:02:01.962 [script.javaScript.stackTrace]:     j: 1
19:02:01.962 [script.javaScript.stackTrace]:     eqText: "Fuel Scoops"
19:02:01.962 [script.javaScript.stackTrace]:     eqList: ["EQ_CARGO_SCOOPS"]
19:02:01.962 [script.javaScript.stackTrace]:     condList: ["chance:40", "min_government:2", "include_equipment:EQ_CARGO_SCOOPS", "min_score:16", ... <7 items total>]
19:02:01.962 [script.javaScript.stackTrace]:     risk: "Low"
19:02:01.962 [script.javaScript.stackTrace]:     assassins: 0.3
19:02:01.962 [script.javaScript.stackTrace]:     autoAccept: false
19:02:01.962 [script.javaScript.stackTrace]:     rep_factor: 1
19:02:01.962 [script.javaScript.stackTrace]:     ws: [Script "GalCopBB_Derelict" version 0.8.1]
19:02:01.962 [script.javaScript.stackTrace]:     interstellarWarning: ""
19:02:01.962 [script.javaScript.stackTrace]:     ingr: []
19:02:01.962 [script.javaScript.stackTrace]:     clientName: "Dragomir Igniela"
19:02:01.962 [script.javaScript.stackTrace]:     values: {...}
19:02:01.962 [script.javaScript.stackTrace]:     satType: 0
19:02:01.962 [script.javaScript.stackTrace]:     destA: -1
19:02:01.962 [script.javaScript.stackTrace]:     dpst: 0
19:02:01.962 [script.javaScript.stackTrace]:     expire: 180304777562.23303
19:02:01.962 [script.javaScript.stackTrace]:     amt: 1450
19:02:01.962 [script.javaScript.stackTrace]:     qty: 1
19:02:01.962 [script.javaScript.stackTrace]:     pen: 290
19:02:01.962 [script.javaScript.stackTrace]:     selectedCmdty: ""
19:02:01.962 [script.javaScript.stackTrace]:     locType: 0
19:02:01.962 [script.javaScript.stackTrace]:     repSel: "Local Government"
19:02:01.962 [script.javaScript.stackTrace]:     repEntity: "Local Government"
19:02:01.962 [script.javaScript.stackTrace]:     stnKey: "galcop"
19:02:01.962 [script.javaScript.stackTrace]:     sys2: undefined
19:02:01.962 [script.javaScript.stackTrace]:     compTypeItems: undefined
19:02:01.962 [script.javaScript.stackTrace]:     completeType: "AT_SOURCE"
19:02:01.962 [script.javaScript.stackTrace]:     s_type: "0"
19:02:01.962 [script.javaScript.stackTrace]:     rdist: 22.400000000000002
19:02:01.962 [script.javaScript.stackTrace]:     rtime: 446048.00000000006
19:02:01.962 [script.javaScript.stackTrace]:     cust: [{...}, {...}, {...}, {...}]
19:02:01.962 [script.javaScript.stackTrace]:     methodItems: undefined
19:02:01.962 [script.javaScript.stackTrace]:     method: "email"
19:02:01.962 [script.javaScript.stackTrace]:     route: {...}
19:02:01.962 [script.javaScript.stackTrace]:     dest: [SystemInfo galaxy 1, system 25]
19:02:01.962 [script.javaScript.stackTrace]:     route2: undefined
19:02:01.962 [script.javaScript.stackTrace]:     route1: undefined
19:02:01.963 [script.javaScript.stackTrace]:     choice: 3
19:02:01.963 [script.javaScript.stackTrace]:     l_end: 17
19:02:01.963 [script.javaScript.stackTrace]:     l_start: 0
19:02:01.963 [script.javaScript.stackTrace]:     sysSelectType: "sequential"
19:02:01.963 [script.javaScript.stackTrace]:     chkRt: {...}
19:02:01.963 [script.javaScript.stackTrace]:     i: 3
19:02:01.963 [script.javaScript.stackTrace]:     sys: [[SystemInfo galaxy 1, system 29], [SystemInfo galaxy 1, system 252], [SystemInfo galaxy 1, system 45], [SystemInfo galaxy 1, system 25], ... <17 items total>]
19:02:01.963 [script.javaScript.stackTrace]:     rng: 15
19:02:01.963 [script.javaScript.stackTrace]:     checkAvailability: ""
19:02:01.963 [script.javaScript.stackTrace]:     testResult: true
19:02:01.963 [script.javaScript.stackTrace]:     conditions: "chance:40,min_government:2,include_equipment:EQ_CARGO_SCOOPS,min_score:16,max_mission_count:0,mission_gap_days:5,has_outbreak:0"
19:02:01.963 [script.javaScript.stackTrace]:     mainWS: "GalCopBB_Derelict"
19:02:01.963 [script.javaScript.stackTrace]:     selectedMissionType: 24
19:02:01.963 [script.javaScript.stackTrace]:     mt: 5
19:02:01.963 [script.javaScript.stackTrace]:     bb: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.963 [script.javaScript.stackTrace]:     endPoint: 22
19:02:01.963 [script.javaScript.stackTrace]:     missTypes: [23, 20, 5, 2, ... <22 items total>]
19:02:01.963 [script.javaScript.stackTrace]:     srcSystem: [SystemInfo galaxy 1, system 122]
19:02:01.963 [script.javaScript.stackTrace]:     src: 122
19:02:01.963 [script.javaScript.stackTrace]:     sliceAmt: 15
19:02:01.963 [script.javaScript.stackTrace]:     compareDist: function compareDist
19:02:01.963 [script.javaScript.stackTrace]:  1 (galcopbb_missions.js:1428) $checkForFollowupMission()
19:02:01.963 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.963 [script.javaScript.stackTrace]:     item: {...}
19:02:01.963 [script.javaScript.stackTrace]:     id: undefined
19:02:01.963 [script.javaScript.stackTrace]:     i: 23
19:02:01.963 [script.javaScript.stackTrace]:     getList: ["2", "3", "5", "8", ... <23 items total>]
19:02:01.963 [script.javaScript.stackTrace]:     missionList: [23, 20, 5, 2, ... <22 items total>]
19:02:01.963 [script.javaScript.stackTrace]:     chainData: ["22"]
19:02:01.963 [script.javaScript.stackTrace]:     chain: "22"
19:02:01.963 [script.javaScript.stackTrace]:     chance: 0.2
19:02:01.963 [script.javaScript.stackTrace]:     check: "2,3,5,8,10,12,13,14,20,21,22,23,24,25,31,32,33,40,41,42,43,44,46"
19:02:01.963 [script.javaScript.stackTrace]:  2 (galcopbb_missions.js:4214) $updateSuccessHistoryReputation()
19:02:01.963 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.963 [script.javaScript.stackTrace]:     item: {...}
19:02:01.963 [script.javaScript.stackTrace]:     rep: undefined
19:02:01.963 [script.javaScript.stackTrace]:  3 (galcopbb_missions.js:1446) $completedMission()
19:02:01.963 [script.javaScript.stackTrace]:     this: [Script "GalCopBB_Missions" version 0.8.1]
19:02:01.963 [script.javaScript.stackTrace]:     missID: 11361
19:02:01.963 [script.javaScript.stackTrace]:     cargo: undefined
19:02:01.963 [script.javaScript.stackTrace]:     i: undefined
19:02:01.963 [script.javaScript.stackTrace]:     amt: undefined
19:02:01.963 [script.javaScript.stackTrace]:     item: {...}
19:02:01.963 [script.javaScript.stackTrace]:     cm: [Script "GalCopBB_CargoMonitor" version 0.8.1]
19:02:01.963 [script.javaScript.stackTrace]:     bb: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.963 [script.javaScript.stackTrace]:     p: [PlayerShip "D.T.T. War Lance" position: (-1685.84, 123844, 739565) scanClass: CLASS_PLAYER status: STATUS_DOCKED]
19:02:01.964 [script.javaScript.stackTrace]:  4 (bb_system.js:867) $completeBBMission()
19:02:01.964 [script.javaScript.stackTrace]:     this: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.964 [script.javaScript.stackTrace]:     bbID: 11361
19:02:01.964 [script.javaScript.stackTrace]:     msg: undefined
19:02:01.964 [script.javaScript.stackTrace]:     bonus: undefined
19:02:01.964 [script.javaScript.stackTrace]:     total: undefined
19:02:01.964 [script.javaScript.stackTrace]:     item: {...}
19:02:01.964 [script.javaScript.stackTrace]:  5 (bb_system.js:2575) $bbHandler()
19:02:01.964 [script.javaScript.stackTrace]:     this: [Script "BulletinBoardSystem" version 2.6.2]
19:02:01.964 [script.javaScript.stackTrace]:     choice: "32_COMPLETE"
19:02:01.964 [script.javaScript.stackTrace]:     result: ""
19:02:01.964 [script.javaScript.stackTrace]:     target: undefined
19:02:01.964 [script.javaScript.stackTrace]:     i: undefined
19:02:01.964 [script.javaScript.stackTrace]:     mnu: undefined
19:02:01.964 [script.javaScript.stackTrace]:     item: {...}
19:02:01.964 [script.javaScript.stackTrace]:     dest: undefined
19:02:01.964 [script.javaScript.stackTrace]:     idx: undefined
19:02:01.964 [script.javaScript.stackTrace]:     newChoice: ""
19:02:01.971 [ConsoleLogMFD]: text = 'Cargo recovery' mission completed. You have been awarded 2040.0 ₢.
19:02:11.907 [ConsoleLogMFD]: text = You have new mail.
19:06:30.099 [RockHermitBeacons]: Asteroid population around Rock Hermit decreased, there should be 20, creating 9 new asteroids

Re: [WIP] GalCop Missions

Posted: Mon Apr 29, 2024 4:50 pm
by MrFlibble
Took a pirates for hire mission. The mathematics in f5f5 appears sketchy in a familiar way.
Steal 7 cargo canisters from traders in Lerela (9 units in cargo hold)
On returning to the originating station I handed in the cargo and this was taken:

1 Food
1 Radioactives
2 Luxuries
1 Machinery
1 Alloys
10Kg Gold
25Kg Platinum

Which is seven types of thing, but I'm pretty sure was nine scoops.

Re: [WIP] GalCop Missions

Posted: Thu May 16, 2024 2:48 pm
by MrFlibble
One more on a similar theme. Variables leaking into email?

Image

On accepting the mission, just like the last one of these, no "special computers" were put in my hold. I have zero tons.

Of course, when I find the ship, they expect computers I don't have, so I nip to the nearest station to buy some. Despite having no computers in cargo that I could have ejected, I get the message.
The presence of specialised computers are detected by port authorities as soon as you dock. The computers are removed from your ship for analysis.
So... Reverting to previous save, I blasted a passing miscreant and sucked 2 tons of computers out of his ship with my towbar.

Delivery done. One was enough.

Re: [WIP] GalCop Missions

Posted: Fri May 17, 2024 6:21 am
by phkb
MrFlibble wrote: Thu May 16, 2024 2:48 pm
One more on a similar theme. Variables leaking into email?
Looks like some issues. I've found and fixed one (invalid lookup key), but I think the Computer Delivery mission is missing a key step of actually giving the player the computers. Still researching/testing. Thanks for the report, though!

Re: [WIP] GalCop Missions

Posted: Mon Jul 22, 2024 10:03 pm
by MrFlibble
Runaway escape capsule mission glitch.

I go close to the intermittent waypoint while it's visible, close enough that the waypoint nearly fills the screen, but there's nothing in the middle of it and nothing on the scanner.

The pod exists, just not at the waypoint. If I hop to the pod with LRS, it's on the scanner and can be seen. If I use a mix of range finder and ASC I can find it, just not quite where the waypoint is. If it goes a beyond 30k, and off scanner, then its position seems to jump quite a bit, meaning it's about 60-80k away when I think it should be closer.

Have flown it a couple of times with the same result.

Running this mission on my 4G RAM laptop with 2G zswap (LinuxMint 21.3, 6.8.0-38-generic kernel), if I get near the pod and have a web browser open at the same time, with just the tab used to write this report, we seem to run out of memory and Oolite (eventually) crashes. Could it be that this 'issue' is leaking memory?

I paused the game on the last load, just after starting to chase the pod. Here's the edited debug console highlights of the waypoint and pod having different locations.

Code: Select all

> S.waypoints
{
    GalCopBB_Missions_runaway_13754: [Waypoint position: (164076, 477923, 1.06567e+06) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT]
}

> S.allShips 
[Ship "Escape Capsule" position: (164222, 478344, 1.06627e+06) scanClass: CLASS_CARGO status: STATUS_IN_FLIGHT],
And here's 'free' and the top of 'top' showing the same paused Oolite (at a distance from the pod as shown above) being jolly greedy.

Code: Select all

               total        used        free      shared  buff/cache   available
Mem:         3875996     2059120      275688     1220908     1541188      328064
Swap:        2097144     2094752        2392

top - 22:54:04 up 2 days, 26 min,  2 users,  load average: 2.55, 2.32, 2.71
Tasks: 255 total,   2 running, 252 sleeping,   0 stopped,   1 zombie
%Cpu0  : 90.6 us,  0.7 sy,  0.0 ni,  8.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  6.4 us,  3.2 sy,  0.0 ni, 90.1 id,  0.0 wa,  0.0 hi,  0.4 si,  0.0 st
%Cpu2  : 14.3 us,  3.4 sy,  0.0 ni, 81.9 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
%Cpu3  :  5.1 us,  3.1 sy,  0.0 ni, 90.8 id,  0.7 wa,  0.0 hi,  0.3 si,  0.0 st
MiB Mem :   3785.2 total,    277.5 free,   2021.7 used,   1486.0 buff/cache
MiB Swap:   2048.0 total,      2.0 free,   2046.0 used.    327.9 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                
  85781 flibble   20   0 5236544 856104  14732 R 106.0  22.1  23:29.42 oolite                                                                                                                                                                 
   1025 root      20   0 1227424  22096  10200 S   7.0   0.6  26:06.41 Xorg                                                                                                                                                                   
  84373 flibble   20   0   11.2g 208428  97688 S   4.3   5.4   4:39.18 firefox-bin                                                                                                                                                            
   1494 flibble   20   0 1689304   6848   4160 S   3.7   0.2   8:53.31 pulseaudio                                                                                                                                                             
   1860 flibble   20   0  868864  18436  11360 S   2.7   0.5   8:56.04 xfwm4                                                                                                                                                                  
  84592 flibble   20   0 2541388 117876  73280 S   1.3   3.0   1:44.24 Isolated Web Co                                                                                                                                                        
The same about a minute after killing Oolite

Code: Select all

               total        used        free      shared  buff/cache   available
Mem:         3875996      790592     2470052      268784      615352     2548692
Swap:        2097144      569628     1527516

top - 22:57:46 up 2 days, 30 min,  2 users,  load average: 1.53, 2.15, 2.57
Tasks: 252 total,   1 running, 250 sleeping,   0 stopped,   1 zombie
%Cpu0  :  2.4 us,  1.6 sy,  0.0 ni, 96.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  2.4 us,  2.4 sy,  0.0 ni, 94.4 id,  0.8 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  1.6 us,  1.6 sy,  0.0 ni, 96.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  6.4 us,  3.2 sy,  0.0 ni, 90.4 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3785.2 total,   2410.3 free,    777.1 used,    597.8 buff/cache
MiB Swap:   2048.0 total,   1491.8 free,    556.2 used.   2487.3 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                
  84373 flibble   20   0   11.2g 227112  97944 S   8.7   5.9   5:03.87 firefox-bin                                                                                                                                                            
  84541 flibble   20   0 2541780  97260  44160 S   3.9   2.5   0:20.89 WebExtensions                                                                                                                                                          
   1025 root      20   0 1214232  22404  10380 S   1.6   0.6  26:21.76 Xorg                                                                                                                                                                   
   1494 flibble   20   0 1427160   6700   4012 S   1.6   0.2   8:59.51 pulseaudio                                                                                                                                                             
  84592 flibble   20   0 2538940 116860  69912 S   1.6   3.0   1:55.59 Isolated Web Co                                                                  
P.S. I'm still not JS savvy... How could I have pulled just the Escape Pod (or any other single ship) from S.allShips directly rather than copy/paste/search etc.?

Re: [WIP] GalCop Missions

Posted: Mon Jul 22, 2024 10:30 pm
by MrFlibble
Is the escape pod speed linked to the PS max-speed?

Are the waypoints 'dropped' by the pod rather than behaving like a beacon aboard the pod? Their position updated to a static point when made visible.

My ship is has 'fruity' engines. I was chasing the bloomin' thing at near 3000k and barely catching up!

If I do catch up, it's near impossible to keep centred at close range, and at that speed, it'll not stay in the scoop. Odds of catching it are very low. I used LRS to get to it on this attempt, and still ran out of time.

Here's a shot of the waypoint on ASC behind me, and me barely keeping up with the pod in front of me.

Image

Re: [WIP] GalCop Missions

Posted: Mon Jul 22, 2024 11:21 pm
by Cholmondely
MrFlibble wrote: Mon Jul 22, 2024 10:30 pm
Is the escape pod speed linked to the PS max-speed?

Are the waypoints 'dropped' by the pod rather than behaving like a beacon aboard the pod? Their position updated to a static point when made visible.

My ship is has 'fruity' engines. I was chasing the bloomin' thing at near 3000k and barely catching up!

If I do catch up, it's near impossible to keep centred at close range, and at that speed, it'll not stay in the scoop. Odds of catching it are very low. I used LRS to get to it on this attempt, and still ran out of time.

Here's a shot of the waypoint on ASC behind me, and me barely keeping up with the pod in front of me.

Image
Does the Cargo Stopper help at all?

Re: [WIP] GalCop Missions

Posted: Mon Jul 22, 2024 11:29 pm
by MrFlibble
Cholmondely wrote: Mon Jul 22, 2024 11:21 pm
MrFlibble wrote: Mon Jul 22, 2024 10:30 pm
Is the escape pod speed linked to the PS max-speed?

Are the waypoints 'dropped' by the pod rather than behaving like a beacon aboard the pod? Their position updated to a static point when made visible.

My ship is has 'fruity' engines. I was chasing the bloomin' thing at near 3000k and barely catching up!

If I do catch up, it's near impossible to keep centred at close range, and at that speed, it'll not stay in the scoop. Odds of catching it are very low. I used LRS to get to it on this attempt, and still ran out of time.

Here's a shot of the waypoint on ASC behind me, and me barely keeping up with the pod in front of me.

Image
Does the Cargo Stopper help at all?
I don't think so. According to [EliteWiki] GalCop_Missions & [EliteWiki] Tractor_Beam "When your ship is aimed at cargo cannisters that are floating away, it will automatically use the tractor beam to bring the cargo to a stop.". I don't think escape pods are 'cargo' for that, else I'd have heard it operate as it does for cargo. I've never had it help with escape pods.

Canisters should only have one 'n'.. or is that another transatlantic issue?