Energy bombs and salvage yards
Moderators: winston, another_commander
Energy bombs and salvage yards
Firstly, 1.77 is fantastic! - the AI, look of the weapons and mission screens are a huge leap up and really add to the game - well done and thanks to all those involved
I've been playing the current oolite (1.77) with the excellent anarchies (version 2.8, I think).
Today I flew to a salvage gang where I was offered an energy bomb. I bought this, flew off and promptly got attacked by a gang of pirates. No one else was on the scanner so I hit <tab> but nothing happened! (I ended up having to do it properly )
I was wondering if one of the following happened:
1. although offered, the <tab> key or the energy bomb is hard wired out of 1.77.
2. I was sold a dud.
3. I somehow screwed up buying it.
I don't want to wade in to the energy bomb discussion - its no longer there in 1.77 and if I wanted it really badly I'd download the oxp however I think that its the sort of thing that the salvage gang could be selling - I've added it in to my mental canon as a banned weapon that the salvage gang have taken from an old vessel.
I'm also happy if I've bought a dud - as I feel that its my own fault for buying dodgy second hand equipment!
I'd just like to know if the point 1 is true and if anyone else feels like me that the energy bomb should be enabled for salvage gang purchase.
Cheers
Gary
I've been playing the current oolite (1.77) with the excellent anarchies (version 2.8, I think).
Today I flew to a salvage gang where I was offered an energy bomb. I bought this, flew off and promptly got attacked by a gang of pirates. No one else was on the scanner so I hit <tab> but nothing happened! (I ended up having to do it properly )
I was wondering if one of the following happened:
1. although offered, the <tab> key or the energy bomb is hard wired out of 1.77.
2. I was sold a dud.
3. I somehow screwed up buying it.
I don't want to wade in to the energy bomb discussion - its no longer there in 1.77 and if I wanted it really badly I'd download the oxp however I think that its the sort of thing that the salvage gang could be selling - I've added it in to my mental canon as a banned weapon that the salvage gang have taken from an old vessel.
I'm also happy if I've bought a dud - as I feel that its my own fault for buying dodgy second hand equipment!
I'd just like to know if the point 1 is true and if anyone else feels like me that the energy bomb should be enabled for salvage gang purchase.
Cheers
Gary
Re: Energy bombs and salvage yards
The Bomb might be primable equipment now.
Or did it disappear from your manifest when you hit TAB ?
Or did it disappear from your manifest when you hit TAB ?
...and keep it under lightspeed!
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Re: Energy bombs and salvage yards
Hi Zieman.Zieman wrote:The Bomb might be primable equipment now.
Or did it disappear from your manifest when you hit TAB ?
I bought it pretty quickly then left the station - to be honest I didn't check that it was in my ship (f5) until after I'd pressed <tab> when I noticed it wasn't there.
I'll have a go at recreating this again and report back with some more substantial information.
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: Energy bombs and salvage yards
Hmmm if you don't have the energy bomb re-enabled in 1.77, should the salvage gangs be selling them?
JazHaz
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!Gimi wrote:Maybe you could start a Kickstarter Campaign to found your £4500 pledge.drew wrote:£4,500 though! <Faints>
Cheers,
Drew.
Re: Energy bombs and salvage yards
I'd guess it's a piece of OXP equipment (the salvaged bomb) which will be expecting the trunk version to be available so that it can award it on purchase (or use, as appropriate). However as noted, by default it's no longer enabled and available hence the salvaged version will be trying to award an effectively non-existent bit of kit.
The OXP probably needs an update so that the salvaged bomb is only available if the trunk version also is present in the game. Not too difficult to do by script in 1.77 with an equipment condition script, but will need to be implemented and will make the OXP 1.77-only. Or it could just be removed I guess.
One for McLane to look at anyway.
The OXP probably needs an update so that the salvaged bomb is only available if the trunk version also is present in the game. Not too difficult to do by script in 1.77 with an equipment condition script, but will need to be implemented and will make the OXP 1.77-only. Or it could just be removed I guess.
One for McLane to look at anyway.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Energy bombs and salvage yards
Well, not necessarily.Thargoid wrote:Not too difficult to do by script in 1.77 with an equipment condition script, but will need to be implemented and will make the OXP 1.77-only.
condition_script
will just be ignored in 1.76 or earlier, so the equipment will always be available. But the energy bomb is always available in 1.76 or earlier anyway, so that should work out fine...Re: Energy bombs and salvage yards
Even better
I wasn't sure if it'd be ignored or would throw an error.
I wasn't sure if it'd be ignored or would throw an error.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Energy bombs and salvage yards
The way the salvaged equipments work is that you buy a salvaged version. Which is a dummy version of the original. Than, after purchase it is replaced with its original by script. But there it will go wrong in 1.77 that can't award the energy bomb.
It is difficult to fix in an compatible way. Anarchies could add a script to the bomb to make it only available on salvage stations and not on the main stations. But if (hypothetical) feudal stations does the same for feudal stations, we have a conflict.
So the best way for anarchies would be to check on startup if the bomb is available. If not, disable its own salvaged version. (Or do a check for availability in the equipment script of the salvaged equipment). That way there are no compatibility issues. And when the player or an other oxp restores the energy bomb, the salvage station can offer it also.
It is difficult to fix in an compatible way. Anarchies could add a script to the bomb to make it only available on salvage stations and not on the main stations. But if (hypothetical) feudal stations does the same for feudal stations, we have a conflict.
So the best way for anarchies would be to check on startup if the bomb is available. If not, disable its own salvaged version. (Or do a check for availability in the equipment script of the salvaged equipment). That way there are no compatibility issues. And when the player or an other oxp restores the energy bomb, the salvage station can offer it also.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Energy bombs and salvage yards
It has just happened again and this time I remembered to take notes!
1. The energy bomb is offered for 675 Cr
2. I clicked on it to buy - the money was taken from my account and time added to the clock for fitting.
3. I checked my ship and it is not there.
4. The energy bomb is still offered for sale.
5. I checked again once I had landed at the main station and it was still not there.
The following is from the log which seems to explain what has happened:
1. The energy bomb is offered for 675 Cr
2. I clicked on it to buy - the money was taken from my account and time added to the clock for fitting.
3. I checked my ship and it is not there.
4. The energy bomb is still offered for sale.
5. I checked again once I had landed at the main station and it was still not there.
The following is from the log which seems to explain what has happened:
Code: Select all
15:17:01.386 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (Anarchies 2.8): Error: Ship.awardEquipment: Invalid arguments ("EQ_ENERGY_BOMB") -- expected equipment type.
15:17:01.386 [script.javaScript.exception.ooliteDefined]: ../AddOns/Anarchies2.8.oxp/Scripts/anarchies.js, line 657.
- Commander McLane
- ---- 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:
Re: Energy bombs and salvage yards
Thanks for the report. The log shows that Thargoid's diagnosis was spot on.
One to fix for the next Anarchies version. Until then, just ignore the offer and don't buy the salvaged bomb anymore.
One to fix for the next Anarchies version. Until then, just ignore the offer and don't buy the salvaged bomb anymore.