Page 4 of 5

Posted: Sat May 08, 2010 1:14 pm
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.

Posted: Sat May 08, 2010 6:31 pm
by JensAyton
If he was using Windows, he wouldn’t be using Debian’s unrar-free. :-)

Posted: Sat May 08, 2010 6:39 pm
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

Posted: Sun May 09, 2010 1:07 am
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!

Posted: Mon May 10, 2010 9:19 am
by Zieman
I thought that unpacking RAR files is a free feature, but you need to buy a licence to use the packing algorithm...

Posted: Mon May 10, 2010 9:26 am
by Cmdr James
There are unrar tools which are free (as in beer), but I dont think its free as in speech.

Posted: Mon May 10, 2010 10:23 am
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.

Posted: Mon Jun 28, 2010 9:31 pm
by JazHaz
I'm getting a lot of depreciation errors with Bounty Scanner v1.07 on 1.74+.

Any chance of an update? Frame?

Posted: Wed Jun 30, 2010 2:29 pm
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.

Posted: Wed Jun 30, 2010 3:14 pm
by JazHaz
Did as you suggested, wasn't totally sure what I was doing, but managed it and it works! Phew! :wink:

Posted: Wed Jun 30, 2010 5:30 pm
by Switeck
Got a link to your fix? :lol:

Posted: Fri Jul 02, 2010 12:21 pm
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.)

Posted: Fri Jul 02, 2010 6:08 pm
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

Posted: Fri Jul 02, 2010 7:01 pm
by JazHaz
Frame wrote:
Thanks for making this new version! Have updated the wiki with this link.

Posted: Fri Jul 02, 2010 7:09 pm
by Svengali
Muchas gracias, Frame.