cloaked ships don't masslock you

For test results, bug reports, announcements of new builds etc.

Moderators: another_commander, winston, Getafix

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:

cloaked ships don't masslock you

Post by Commander McLane »

As observed by Loxley and reported here, it is possible to engage your J-drive in the presence of a cloaked NPC. I think it is also true if the NPC has a MASC'M installed, in other words for all ships with scan_class CLASS_NO_DRAW.

I consider this a bug in Oolite, because the proximity of a mass or another engine is supposed to masslock your torus drive, regardless whether it appears on the scanner. Undoubtedly even a cloaked ship continues to possess a working quirium engine, therefore it should lock you.
Chrisfs
---- E L I T E ----
---- E L I T E ----
Posts: 433
Joined: Sun Sep 20, 2009 10:24 am
Location: California

Post by Chrisfs »

It kinda ruins the advantage of a cloak though.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6881
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

Chrisfs wrote:
It kinda ruins the advantage of a cloak though.
Not really ... if you're under cloak, you wouldn't be able to use the Torus drive to get away from a non-cloaked ship, because it would be visible on your scanner and you'd be masslocked. And NPCs don't have a Torus drive, so it's moot as far as they're concerned. I suppose if there's a cloaked NPC around that you're unaware of, the fact that you're masslocked even though there's nobody visible on the scanner will be a clue that there's a cloaked ship somewhere close by, but I don't really see that as a disadvantage.
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

It could be that cloaking devices don't just render you invisible, but also put you out of phase with reality, like some sort of sub-space phenomenon.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6881
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

I like the way you're technobabbling there but cloaked ships can still be hit by lasers (not to mention crashed into by other ships). That might require a bit more handwaving ...
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

First, lets decide what behavior is most sensible from a gameplay point of view, then lets explain it away.

FWIW I think the ship should mass lock, otherwise there is a world of confusion about what happens when a player cloaks, and it may make it too easy to escape from a battle thats going badly with a cloaked ship.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

This little glitch may have been around since the 1st release of Oolite.

Like many other commanders (I guess), if I was taking hits but no red blip on my scanner, then I would think "Aha! A cloaked ship! Forget the torus, it won't work." Then switch to my rear gun and hope to get a visual on the telltale flicker, or punch the injectors and get the frak outta there.
Either way, trying the torus never crossed my mind.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Cmdr Wyvern wrote:
This little glitch may have been around since the 1st release of Oolite.
I think also so. Browsing through the code, I see that asking for the scanClass of a cloaked ship, it returns always CLASS_NO_DRAW.

And for creating a mass lock, the objects with CLASS_NO_DRAW are excluded. I think the code has always been this way.

(CLASS_NO_DRAW is used to prevent object from being drawn on the scanner)
User avatar
Loxley
Deadly
Deadly
Posts: 148
Joined: Sat Jan 30, 2010 7:44 pm
Location: Chatham, England

Post by Loxley »

Cmdr Wyvern wrote:
Like many other commanders (I guess), if I was taking hits but no red blip on my scanner, then I would think "Aha! A cloaked ship! Forget the torus, it won't work." Then switch to my rear gun and hope to get a visual on the telltale flicker, or punch the injectors and get the frak outta there.
Either way, trying the torus never crossed my mind.
Fair comment. I think it was due to it being my first encounter with a cloaked ship plus the cloaking device not (as far as I remember) being available in BBC Elite that urged me to.. well.. experiment.

Apologies to the devs for adding to their already overlarge workload.
"There is still much music to be written in C major" Stravinsky
User avatar
JeffBTX
---- E L I T E ----
---- E L I T E ----
Posts: 366
Joined: Sun Dec 27, 2009 2:23 pm
Location: Abilene Texas

Post by JeffBTX »

To echo Cmdr James ( " ... then lets explain it away ... ")

... maybe masslock isn't due to physics so much as a hardwired safety feature enforced by GalCop on manufacturers ... to prevent ships with with torus drives from careening off of other ships, stations, and so forth. Apparantly they don't care about asteroids. Asteroids won't file lawsuits.

... also the Cloak is supposed to be some newfangled rare technology anyway, so who knows how it might affect things ...
Sword, thy name is Cobra. And Cobra has fangs!
User avatar
Loxley
Deadly
Deadly
Posts: 148
Joined: Sat Jan 30, 2010 7:44 pm
Location: Chatham, England

Post by Loxley »

JeffBTX wrote:
... maybe masslock isn't due to physics so much as a hardwired safety feature enforced by GalCop on manufacturers ... to prevent ships with with torus drives from careening off of other ships, stations, and so forth. Apparantly they don't care about asteroids. Asteroids won't file lawsuits.
Not sure about this, source materials and fiction are pretty clear about the mass lock concept.
On the other hand I don't really want the devs to be cursing my name for bringing this up and I have been thinking about some Picard manuvere style tactics.

Then again that would probably lead to another entry in the Darwin Awards thread. :roll:
"There is still much music to be written in C major" Stravinsky
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Loxley wrote:
On the other hand I don't really want the devs to be cursing my name for bringing this up <snip>
On the contrary, bringing up things like this is exactly why this subforum is here for. I have not looked at the relevant code, as Eric seems to be already on top of it, but it does sound like buggy behaviour to me.
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

JeffBTX wrote:
To echo Cmdr James ( " ... then lets explain it away ... ")
Dude, you totally misquoted me. I was saying that we should decide what is correct before creating backstory to support it.

To avoid any ambiguity, I think this is a bug, and should be fixed.
User avatar
JeffBTX
---- E L I T E ----
---- E L I T E ----
Posts: 366
Joined: Sun Dec 27, 2009 2:23 pm
Location: Abilene Texas

Post by JeffBTX »

Cmdr James; yup, sorry....

Loxley... You're probably right, it's been ages since I actually read the source materials in depth (though I was "withit" from the beginning... ). I guess my memory needs a refresh or three.
Sword, thy name is Cobra. And Cobra has fangs!
Chrisfs
---- E L I T E ----
---- E L I T E ----
Posts: 433
Joined: Sun Sep 20, 2009 10:24 am
Location: California

Post by Chrisfs »

Cmdr James wrote:
First, lets decide what behavior is most sensible from a gameplay point of view, then lets explain it away.

FWIW I think the ship should mass lock, otherwise there is a world of confusion about what happens when a player cloaks, and it may make it too easy to escape from a battle thats going badly with a cloaked ship.
See I see it as the opposite way. A cloaked ship should avoid getting masslocked, otherwise the usefulness of a cloak is quite reduced. Presuming a cloak draws a lot of power (as I remember), it is not an item that can be used for long stretches, One can not feasibly arrive at a witchpoint and coast all the way to the station on cloak.
It's for short term uses. So simply being able to cloak, but not get away quickly from a hostile is of very limited usefulness.
Post Reply