Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Help - Constant Laser Failure

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

Post Reply
Uncle Sams On Mars
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Sun Apr 28, 2013 12:12 am

Help - Constant Laser Failure

Post by Uncle Sams On Mars »

Hi,

I have a problem! After adding one or two oxps, I decided to take advantage of a new Mac (and lots of memory) and go the whole hog downloading and installing everything that didn't look stupid. Would be great, though I do seem now to have about 25 dockables in every system! My major problem though is that something is now causing my (military) lasers, which never used to miss a beat, to fail in every combat (sometimes without even being used)! I've tried deleting a few obvious possibilities (realistic damage etc.), but nothing seems to work, and either I am missing something or it is some unwanted interraction between two completely unrelated oxps! Has anyone else come across this problem and is able to offer any advice? Any help would be appreciated.

Thanks,

Jim
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Help - Constant Laser Failure

Post by Cody »

Hi Jim, and welcome aboard. Try removing (not deleting) a bunch of OXPs from the AddOns folder. If the problem persists, remove another bunch. Rinse and repeat. If the problem disappears, add the OXPs back in one at a time 'til the problem reappears. Failing that, you could post your Latest.log (within code tags, preferably). It can be found here: ~/Library/Logs/Oolite/Latest.log (that is, in your home folder, open the folder named Library, then Logs, then Oolite). A passing boffin (which I ain't) may be able to spot the problem from that.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: Help - Constant Laser Failure

Post by Thargoid »

My Laser Booster OXP gives that chance of failure as a balancing point (as I've never thought it quite right that lasers, and for that matter pylon weaponry) are indestructable.

The chance is (or should be) quite small, but if you are going at the lasers continuously and especially if you have the booster active then you'll probably start seeing breakages.

They certainly shouldn't fail without being used though - if that's happening then we have a glitch somewhere along the line.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Help - Constant Laser Failure

Post by Cody »

Thargoid wrote:
... (as I've never thought it quite right that lasers, and for that matter pylon weaponry) are indestructable.
<nods> Especially pylon-mounted ordnance!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
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:

Re: Help - Constant Laser Failure

Post by Commander McLane »

Hi, Uncle Sams On Mars!

Can you give more specific information? What exactly do you mean by "fail" "(sometimes without even being used)"? How does this failure manifest itself?

Some possible manifestations off the top of my head:
- The laser doesn't fire, although you press the correct key/button;
- you hear a laser firing sound, but see no beam;
- there is a beam and sound, but every shot seems to miss;
- you seem to hit your enemies, but they refuse to die;
- there is a screen message to the effect of "your laser is failing".

There are probably dozens more that could be abbreviated to "my laser fails", so it's a little difficult to figure out what you are actually experiencing from this rather general description.

If it's the last option, then Thargoid's reply must be the relevant one, because nothing in vanilla Oolite (or in any other OXP that I know of) would give such a message (and probably disable your laser along with it). Therefore only this OXP can be the culprit.

This would be, by the way, a good example for why we discourage players from installing every OXP, but recommend adding them one by one, and only if you (a) understand what each OXP does, and (b) actively want what it does.
Uncle Sams On Mars
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Sun Apr 28, 2013 12:12 am

Re: Help - Constant Laser Failure

Post by Uncle Sams On Mars »

Hi Guys,

Thanks for the welcome and the helpful comments.

As further detail, the laser failure is an "official" gameplay failure ... message appears in the log saying something about "laser fail detected" (rather too busy using them at the time to read it properly), after which all I can do is run away or hope enemies will stay still long enough to hit them with the rail gun! In at least one instance, I turned my back (only ever bother with lasers front and rear) only to find that the rear laser was also u/s. This happened in both a Werewolf and a FdL3G, both similarly equipped with almost every available combat upgrade (short of plasma and turrets).

So far (fingers crossed), Thargoid's suggestion that it was his laser booster seems to be correct. For some reason the OXP was hiding and I didn't see it (only a search of the folder turned it up) else it would have been the first to be moved/deleted to try to solve the problem. Since moving it out of the add ons, no more problem.

Thanks again for all the help, and if Thargoid would like more detail to try to recreate the problem, please let me know and I can provide a full list of both the oxps running and the equipment on each vessel that suffered from the problem.

Jim
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Help - Constant Laser Failure

Post by Eric Walch »

When the failure is logged, it seems intentional and than I bet you have to blame the thargoid(s) for it. :evil:
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:

Re: Help - Constant Laser Failure

Post by Commander McLane »

Eric Walch wrote:
When the failure is logged, it seems intentional and than I bet you have to blame the thargoid(s) for it. :evil:
Actually, what's getting logged is a failure of the script itself (I just downloaded and checked it). So there may be something for Thargoid to fix. He'll be back soon asking questions, I'm sure.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: Help - Constant Laser Failure

Post by Thargoid »

Indeed, please PM or post relevant bits of log detailing any script failures or errors.

The laser breakage is part of the OXP, but script errors aren't...
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Help - Constant Laser Failure

Post by Diziet Sma »

Guys.. I don't think Uncle Sam is actually referring to the actual Latest.log.. going by the phrasing here:
Uncle Sams On Mars wrote:
message appears in the log saying something about "laser fail detected" (rather too busy using them at the time to read it properly), after which all I can do is run away or hope enemies will stay still long enough to hit them with the rail gun!
I suspect when he says "log" Uncle Sam is referring to the Message Console in the HUD. In which case it's simply the OXP writing a message to the console..

(Uncle Sam, any OXP can send messages to the screen in-game.. not just the "official" core game.)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: Help - Constant Laser Failure

Post by Thargoid »

I was going on McLane's comment that he'd downloaded it and found something.

But yes, if the lasers break in-game due to the OXP, you do get an on-screen warning (and if you have them, the Repair Bots system should trigger to try and fix the laser).

I'll await more clarifications.
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:

Re: Help - Constant Laser Failure

Post by Commander McLane »

Diziet Sma wrote:
I suspect when he says "log" Uncle Sam is referring to the Message Console in the HUD.
Thargoid wrote:
I was going on McLane's comment that he'd downloaded it and found something.
Dizzie is probably right, and I misunderstood the use of "logged". From the script I just found out that the OXP can indeed log something under certain circumstances, thus I guessed that this is what Uncle Sams On Mars was referring to.

But re-reading what he actually wrote it seems indeed much more likely that he was referring to the screen messages that come with the normal functioning of the OXP.

This strengthens my hypothesis: USOM installed an OXP whose features he doesn't really want. Which is a reason against installing many OXPs without caring what each one of them does.
Uncle Sams On Mars
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Sun Apr 28, 2013 12:12 am

Re: Help - Constant Laser Failure

Post by Uncle Sams On Mars »

Sorry guys, been a bit busy.

Yes, when I said "log", I meant the HUD status log, hence my comment that it seemed to be "official gameplay" rather than an actual programming bug. So, yes, it was the laser booster that was causing it, though I obviously don't have a clue what interaction was causing the lasers to fail in every single combat.
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Help - Constant Laser Failure

Post by Tricky »

Uncle Sams On Mars wrote:
...So, yes, it was the laser booster that was causing it, though I obviously don't have a clue what interaction was causing the lasers to fail in every single combat.
Randomius Factorius - In other-words, pure bad luck.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Help - Constant Laser Failure

Post by Cody »

It's actually quite an eerie feeling, being out there without any lasers!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply