Page 1 of 1

Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 12:25 am
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

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 12:46 am
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.

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 7:32 am
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.

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 12:13 pm
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!

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 1:12 pm
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.

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 2:06 pm
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

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 6:09 pm
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:

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 8:21 pm
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.

Re: Help - Constant Laser Failure

Posted: Sun Apr 28, 2013 8:54 pm
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...

Re: Help - Constant Laser Failure

Posted: Mon Apr 29, 2013 12:19 pm
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.)

Re: Help - Constant Laser Failure

Posted: Mon Apr 29, 2013 5:20 pm
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.

Re: Help - Constant Laser Failure

Posted: Mon Apr 29, 2013 6:26 pm
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.

Re: Help - Constant Laser Failure

Posted: Thu May 02, 2013 9:40 pm
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.

Re: Help - Constant Laser Failure

Posted: Thu May 02, 2013 11:21 pm
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.

Re: Help - Constant Laser Failure

Posted: Thu May 02, 2013 11:32 pm
by Cody
It's actually quite an eerie feeling, being out there without any lasers!