Page 18 of 32

Re: [WIP] GalCop Missions

Posted: Wed Jul 08, 2020 2:45 am
by Milo
Mission briefing for a "Destroy satellites" mission type:

... The lives of some of our undefined hang in the balance, because some operational material has been captured by surveillance and communication satellites ...

Re: [WIP] GalCop Missions

Posted: Wed Jul 08, 2020 4:38 am
by phkb
Milo wrote: Tue Jul 07, 2020 8:27 am
is that specifically the thargoid type named warship?
Yes, as distinct from any other OXP-added Thargoid ship (although, so long as the OXP-added Thargoid vessel returns true for the "isThargoid" property and doesn't have the roles "tharglet", "thargon" or "EQ_THARGON" then it should still count)

Re: [WIP] GalCop Missions

Posted: Wed Jul 08, 2020 4:44 am
by phkb
Milo wrote: Tue Jul 07, 2020 8:49 am
After completing a slave repatriation mission that required purchasing slaves from the market and turning them in through the bulletin board interface, the Market Observer OXP did not detect the removal of the slaves so it still shows ##x (the purchase price) on the F8 screen.
This one is true for any OXP that fiddles with the manifest. I've got some code from another OXP I can apply here - I'll try to get it into the next release.

Re: [WIP] GalCop Missions

Posted: Fri Feb 05, 2021 12:53 pm
by Cholmondely
phkb wrote: Wed Jul 08, 2020 4:44 am
Milo wrote: Tue Jul 07, 2020 8:49 am
After completing a slave repatriation mission that required purchasing slaves from the market and turning them in through the bulletin board interface, the Market Observer OXP did not detect the removal of the slaves so it still shows ##x (the purchase price) on the F8 screen.
This one is true for any OXP that fiddles with the manifest. I've got some code from another OXP I can apply here - I'll try to get it into the next release.
Thank you so much for taking the time and care to put this together! It does help make one feel that there is life going on elsewhere in the Galaxy!

1) I've found that when I ransom slaves, so to speak, the mission never completes, no matter what I do. Am I missing something obvious?

2) the continual amnesty offers for joining the Galactic Navy's behemoth several systems away - is this .oxp the source?

Re: [WIP] GalCop Missions

Posted: Sat Feb 06, 2021 7:18 am
by phkb
Re point 2: no, not this OXP. Might be Anarchies or Illegal Goods Tweak.

Re point 1: hmm that seems odd. I’ll do some tests and report back.

Re: [WIP] GalCop Missions

Posted: Sat Feb 06, 2021 10:30 pm
by Cholmondely
phkb wrote: Sat Feb 06, 2021 7:18 am
Re point 2: no, not this OXP. Might be Anarchies or Illegal Goods Tweak.

Re point 1: hmm that seems odd. I’ll do some tests and report back.
Might it be an apple syntax issue?

Re: [WIP] GalCop Missions

Posted: Sun Feb 07, 2021 2:07 am
by phkb
Cholmondely wrote: Sat Feb 06, 2021 10:30 pm
Might it be an apple syntax issue?
No, it was a pure bug, which I've now fixed. Although, as I can't upload it to the wiki, you'll have to manually install it from my Box account.

v0.6.2 available here in two formats:
GalCopMissions.oxz (which can be dropped directly into your AddOns folder)
GalCopMissions.zip (which will need the "GalCopMissions.oxp" folder to be extracted from the zip to the AddOns folder)

Once the wiki allows for >2mb uploads, I'll publish the changes to the download manager.

Re: [WIP] GalCop Missions

Posted: Sun Feb 07, 2021 8:10 am
by Cholmondely
phkb wrote: Sun Feb 07, 2021 2:07 am
Cholmondely wrote: Sat Feb 06, 2021 10:30 pm
Might it be an apple syntax issue?
No, it was a pure bug, which I've now fixed. Although, as I can't upload it to the wiki, you'll have to manually install it from my Box account.

v0.6.2 available here in two formats:
GalCopMissions.oxz (which can be dropped directly into your AddOns folder)
GalCopMissions.zip (which will need the "GalCopMissions.oxp" folder to be extracted from the zip to the AddOns folder)

Once the wiki allows for >2mb uploads, I'll publish the changes to the download manager.
Thank you, Sir!

Re: [WIP] GalCop Missions

Posted: Fri Feb 12, 2021 12:12 am
by phkb
Version 0.6.3 has been released. In this version, [EliteWiki] GNN has been made a requirement for the OXP, to reduce code duplication and OXP size.

Re: [WIP] GalCop Missions

Posted: Fri May 07, 2021 8:44 pm
by applicant_255
Any way to get the previous version? I hit the button to update packages, and I'm running on a Raspberry PI, and the latest version available is only 1.84, and GNN requires 1.86, so Galcop Missions updated, then wouldn't load and gives a rather cryptic error "needed for the randomisation of text" that I found wants me to install GNN, but doesn't let met because of the version, so performs a noop and requests I install the needed again.

I did try to compile the latest version of oolite from source, but got stuck as a lot of people seem to on compiling the Firefox 4 derived spidermonkey dependancy. There was a gentoo patch that might fix the issue, but that's been removed from their site, and a different required patch to replace the ASM code I had to comment out to get the CPU string is also gone.

I also tried getting the previous version from history in the wiki, but it seems both downloads to the zip and oxp file just point to the most recent version.

Re: [WIP] GalCop Missions

Posted: Fri May 07, 2021 9:56 pm
by Cody
applicant_255 wrote: Fri May 07, 2021 8:44 pm
I'm running on a Raspberry PI, and the latest version available is only 1.84, and GNN requires 1.86
If I understand you right, you can get the latest version of Oolite here. It's a self-contained package, but whether it works on a Raspberry Pi, I know not.

And welcome aboard!

Re: [WIP] GalCop Missions

Posted: Fri May 07, 2021 11:26 pm
by applicant_255
Cody wrote: Fri May 07, 2021 9:56 pm
applicant_255 wrote: Fri May 07, 2021 8:44 pm
I'm running on a Raspberry PI, and the latest version available is only 1.84, and GNN requires 1.86
If I understand you right, you can get the latest version of Oolite here. It's a self-contained package, but whether it works on a Raspberry Pi, I know not.

And welcome aboard!
Thanks, but sadly no, those are for x86 systems, I'm using a Raspberry Pi 4 4GB, which uses an ARMv7 processor, the builds there are for linux x86 and x86_64. I did try to compile from source, but to get it to build a the package there are two rather complex problems that need to be solved for ARM to get the javascript engine to compile and link so that I can start to actually try debugging the finished program - even if I got that problem solved, it's unlikely the finished binary would run and work the way you'd expect it to on an x86 system.

The repos for Raspberry PI OS have a working copy of oolite, but only 1.84b2 from 2017:
  • Maintainer: Nicolas Boulenguez <[email protected]>
    Architecture: armhf
    Source: oolite (1.84-2)
    Version: 1.84-2+b2
I've spent about ten or fifteen hours these past few days working on getting it to compile, but come to the conclusion that it'd be easier just to fix the OXPs instead to work with 1.84, maybe strip out the requirements for GNN so that it enough runs under 1.84 to satisfy the requirement to generate text for this OXP, but then looking at the version history the only thing that has changed with GalCop Missions is the refactor to use GNN instead of the old code that worked with 1.84.

Honestly if I put a price on my own time invested I'd probably be better off just buying a state of the bottom of the barrel art x86 machine just to run oolite, but I'm a weird intersection of lazy, curious and stubborn that often prevents me from doing a practical thing when a highly impractical alternative is difficult but not impossible.

Re: [WIP] GalCop Missions

Posted: Sat May 08, 2021 12:25 am
by Cody
Aye well... I kinda thought that'd be the way of it. It's good to know there's an Oolite for Arm/Pi though.

Re: [WIP] GalCop Missions

Posted: Sat May 08, 2021 9:42 pm
by Cholmondely
applicant_255 wrote: Fri May 07, 2021 11:26 pm
... sadly no, those are for x86 systems, I'm using a Raspberry Pi 4 4GB, which uses an ARMv7 processor, the builds there are for linux x86 and x86_64. I did try to compile from source, but to get it to build a the package there are two rather complex problems that need to be solved for ARM to get the javascript engine to compile and link so that I can start to actually try debugging the finished program - even if I got that problem solved, it's unlikely the finished binary would run and work the way you'd expect it to on an x86 system.

The repos for Raspberry PI OS have a working copy of oolite, but only 1.84b2 from 2017:
  • Maintainer: Nicolas Boulenguez <[email protected]>
    Architecture: armhf
    Source: oolite (1.84-2)
    Version: 1.84-2+b2
I've spent about ten or fifteen hours these past few days working on getting it to compile, but come to the conclusion that it'd be easier just to fix the OXPs instead to work with 1.84, maybe strip out the requirements for GNN so that it enough runs under 1.84 to satisfy the requirement to generate text for this OXP, but then looking at the version history the only thing that has changed with GalCop Missions is the refactor to use GNN instead of the old code that worked with 1.84.
Gosh! Impressed!

Links to older versions are here: http://wiki.alioth.net/index.php/Oolite - see bottom of the page (also has links to some older OXPs).

And welcome to the motley crew! Enjoy!
... but I'm a weird intersection of lazy, curious and stubborn that often prevents me from doing a practical thing when a highly impractical alternative is difficult but not impossible.
Huumph! Join the club!

Re: [WIP] GalCop Missions

Posted: Sat May 08, 2021 10:29 pm
by another_commander
applicant_255 wrote: Fri May 07, 2021 8:44 pm
I did try to compile the latest version of oolite from source, but got stuck as a lot of people seem to on compiling the Firefox 4 derived spidermonkey dependancy. There was a gentoo patch that might fix the issue, but that's been removed from their site, and a different required patch to replace the ASM code I had to comment out to get the CPU string is also gone.
The Spidermonkey currently in use in Oolite v1.90 is the same as that of v1.84. If there is already an libjs import library for ARM from the version of the game in the repository, you should in theory be able to use it verbatim for v1.90.