Witchspaced nav buoys

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

Moderators: winston, another_commander, Getafix

Post Reply
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Witchspaced nav buoys

Post by Screet »

Hi,

occasionally a ship goes into witchspace at the nav buoy. This is not allowed for players, but NPCs can. Strange things happen:
- the buoy also is gone (thrown into witchspace, I guess)
- the witchspace bubble does not expire, shouldn't it after some seconds?

It's also always very big bubbles...as if their size is related to the size of the ship creating them.

Other problems arise from this:
- any ship launching or heading for the station hits the bubble and is thrown out of system, including GRS ones...
- escort ships tumbling close to the bubble, AI-state "LOOKING_FOR_BUSINESS"

Screet
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Screet wrote:
- the witchspace bubble does not expire, shouldn't it after some seconds?

It's also always very big bubbles...as if their size is related to the size of the ship creating them.
It should! However, both bubble persistence and size are indeed proportional to the ship's mass. I'm not too sure what's supposed to happen if another ship adds to the first ship's mass though.


As for the other problems: IIRC, there's already a bug in BerliOS regarding NPCs not being mass locked & this seems to be another instance of that bug: definitely in the to-do list!

Cheers,

Kaks.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

If you have YAH installed then the nav buoy could be a Tetra-Screen and they're HUGE! - If one of them is included in the size/persistence calculation then no wonder you end up with a overly big and seemingly endless Witchspace "bubble" :shock:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

DaddyHoggy wrote:
If you have YAH installed then the nav buoy could be a Tetra-Screen and they're HUGE! - If one of them is included in the size/persistence calculation then no wonder you end up with a overly big and seemingly endless Witchspace "bubble" :shock:
Yes, YAH is installed...I didn't want to miss all those nice adds for a laugh now and then ;)

Screet
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

Witchspace bubbles are sized relative to the mass inside them, and decay over time. However, if mass is added, they stick around for longer - so continuously 'feeding' a witchspace bubble would keep it around forever. Kindof like a black hole. Would be impressive if it got big enough to swallow the Station!

As for the ship entering witchspace too early, I had the opposite problem in my WiP build - ships just kept cruising around behind the station at ~7km distance trying to witchspace out but can't because they never got far enough away. I've modded my exitingTraderAI slightly to cause them to start heading towards the Witchspace beacon, instead of sticking around near the station, which fixed that.
The glass is twice as big as it needs to be.
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 »

Micha wrote:
I've modded my exitingTraderAI slightly to cause them to start heading towards the Witchspace beacon, instead of sticking around near the station, which fixed that.
It does not fix it completely. I had the same problem with the grs station. That is also big and used a variation of your approach. However, in some systems the station was blocking the direct way to the witchpoint. In those rare systems my leaving ships often crash into the station.
This problem will be different with a rotating station were every ship diverges in an other direction depending on the rotation state during launch.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

I thought 'plotCourseToWitchpoint' (or whatever it was called) actually generates waypoints around obstacles if necessary? At least that's the impression I got from reading the code, haven't actually seen an incident where a ship was blocked from heading into deep space yet.
The glass is twice as big as it needs to be.
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 »

Micha wrote:
I thought 'plotCourseToWitchpoint' (or whatever it was called) actually generates waypoints around obstacles if necessary? At least that's the impression I got from reading the code, haven't actually seen an incident where a ship was blocked from heading into deep space yet.
You mean "checkCourseToDestination" Yes it does but is unreliable near large masses. Or it behaves bad near the planet (low FPS ratings). I have seen traders hitting the planet using that code :?
Post Reply