IFF add on OXP.. Bounty Information

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

caracal wrote:
Frame wrote:
updated to 1.07 to show

cargo , asteroids and bouy bounty correctly..
Very nice, have been loving 1.061. However, the switch to RAR didn't do me any favors. Using Debian's unrar-free:

Any chance of getting a zipped version?
If you are using Windows, do a Google search for 7-Zip.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

If he was using Windows, he wouldn’t be using Debian’s unrar-free. :-)
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

Ahruman wrote:
If he was using Windows, he wouldn’t be using Debian’s unrar-free. :-)
Yes, silly me! :lol:

However 7-Zip is available for Linux (& Mac also). See here: http://www.7-zip.org/download.html
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
caracal
Deadly
Deadly
Posts: 205
Joined: Wed Jun 25, 2008 11:31 am
Location: The Desert, USA
Contact:

Post by caracal »

JazHaz wrote:
However 7-Zip is available for Linux (& Mac also).
Indeed it is, and it's a standard Debian package. And I even had it installed already. I just don't run across many RAR files, so it didn't immediately spring to mind. The RAR plugin for 7-Zip is classified as "non-free" by Debian, which doesn't stop me from using it, but I always seek a free alternative when one is available.

Anyway, it worked a treat, thanks for the tip JazHaz!
User avatar
Zieman
---- E L I T E ----
---- E L I T E ----
Posts: 680
Joined: Tue Sep 01, 2009 11:55 pm
Location: in maZe

Post by Zieman »

I thought that unpacking RAR files is a free feature, but you need to buy a licence to use the packing algorithm...
...and keep it under lightspeed!

Friendliest Meteor Police that side of Riedquat

[EliteWiki] Far Arm ships
[EliteWiki] Z-ships
[EliteWiki] Baakili Far Trader
[EliteWiki] Tin of SPAM
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

There are unrar tools which are free (as in beer), but I dont think its free as in speech.
User avatar
Zieman
---- E L I T E ----
---- E L I T E ----
Posts: 680
Joined: Tue Sep 01, 2009 11:55 pm
Location: in maZe

Post by Zieman »

I checked it, and looks like I remembered the thing right:
http://www.7-zip.org/license.txt

UNRAR is ok without charge, reverse-engineering it & making a RAR archiver isn't allowed.
...and keep it under lightspeed!

Friendliest Meteor Police that side of Riedquat

[EliteWiki] Far Arm ships
[EliteWiki] Z-ships
[EliteWiki] Baakili Far Trader
[EliteWiki] Tin of SPAM
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

I'm getting a lot of depreciation errors with Bounty Scanner v1.07 on 1.74+.

Any chance of an update? Frame?
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

JazHaz wrote:
I'm getting a lot of depreciation errors with Bounty Scanner v1.07 on 1.74+.

Any chance of an update? Frame?
As it's only deprecation errors you could easily crawl through the script and replace the deprecated methods yourself, until Frame manages to release a new version. At least that's what I did on my machine (and same goes for fuel collector, which was responsible for the greater part of the remaining deprecation warnings. Both scripts are executed again and again, which means that it is always the same few lines creating the same warnings time and again.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

Did as you suggested, wasn't totally sure what I was doing, but managed it and it works! Phew! :wink:
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Post by Switeck »

Got a link to your fix? :lol:
User avatar
caracal
Deadly
Deadly
Posts: 205
Joined: Wed Jun 25, 2008 11:31 am
Location: The Desert, USA
Contact:

Post by caracal »

Switeck wrote:
Got a link to your fix? :lol:
I wouldn't post somebody else's OXP, but I'm happy to post a patch, for those using trunk, or who wish to reduce the number of deprecation messages in their log, until the author has a chance to create and publish an update.

So here goes, and to any admin/moderator who doesn't approve, by all means delete this post! I won't mind. (Not that it would matter whether I minded or not, of course. Your worship, sir.)

Code: Select all

In file AddOns/BountyScannerv1.07.oxp/Scripts/BountyScanner.js:
29c29
< 	if(this.Theplayership.hasEquipment("EQ_FRAME_BOUNTY_SCANNER"))
---
> 	if(this.Theplayership.equipmentStatus("EQ_FRAME_BOUNTY_SCANNER") == "EQUIPMENT_OK")
42c42
< 	if(this.Theplayership.hasEquipment("EQ_FRAME_BOUNTY_SCANNER"))
---
> 	if(this.Theplayership.equipmentStatus("EQ_FRAME_BOUNTY_SCANNER") == "EQUIPMENT_OK")
59c59
< 	if(!this.Theplayership.hasEquipment("EQ_FRAME_BOUNTY_SCANNER")) // Equipment might be damaged
---
> 	if(this.Theplayership.equipmentStatus("EQ_FRAME_BOUNTY_SCANNER") != "EQUIPMENT_OK") // Equipment might be damaged
(For those unfamiliar with diff's output, the above means "old line 29 changed to become new line 29; old line is marked with '<', new line with '>'", and so on for lines 42 and 59. This worked for me, anyway.)
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

Version 2.0

This large increment in version numbers is due to the fact that Bounty hunter 2.0 is not backward compatible with pre 1.74 Oolite releases, but has been primed more towards performance and therefore needless checks ensuring pre 1.74 compatibility was scrapped..

Download 2.0 here

http://www.box.net/shared/ls3e6ba79y
Bounty Scanner
Number 935
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

Frame wrote:
Thanks for making this new version! Have updated the wiki with this link.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post by Svengali »

Muchas gracias, Frame.
Post Reply