Ships with subentities and collision detection bug fixed
Moderators: winston, another_commander, Getafix
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
But on a completely other subject:
Another Commander, with rev 2290 you cracked it, that long standing bug. After reading your comment I immediately went for a buoy repair station and flew 5 times though the arch. Without crash.
That station has also a few inspection ships. I had programmed a complex route in the past to follow. e.g. below the arch, around the ship. Until now those controllers always crashed somewhere without any visible contact. I never witnessed one completing his tour. So those routes never made it in the release version. In release the ships only fly a route far outside the main bounding box.
I activated that old, close by, route around the station. Until now without crash. At least not in the part that was tested.
I'll test a bit further as this station asks the most of collision detection of what I know.
Another Commander, with rev 2290 you cracked it, that long standing bug. After reading your comment I immediately went for a buoy repair station and flew 5 times though the arch. Without crash.
That station has also a few inspection ships. I had programmed a complex route in the past to follow. e.g. below the arch, around the ship. Until now those controllers always crashed somewhere without any visible contact. I never witnessed one completing his tour. So those routes never made it in the release version. In release the ships only fly a route far outside the main bounding box.
I activated that old, close by, route around the station. Until now without crash. At least not in the part that was tested.
I'll test a bit further as this station asks the most of collision detection of what I know.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Just wanted to agree with Eric, it looks very much like ships with subentities can safely refuel at Thargoid's petrol stations now! Thank you, A_C!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Yay, profits soar poet!
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
So, what was the bug? Dodgy orientation?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Something very trivial as it seems when this was really the bug. Mixing up of ownership when I read A_C his fix correctly. Not the thing you look for when examining collisions. But most bugs look trivial in hindsight.DaddyHoggy wrote:So, what was the bug? Dodgy orientation?
UPS-Courier & DeepSpacePirates & others at the box and some older versions
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
You won't believe it, but apparently it was yet another copy/paste error that was there since 1.71. In the -doOctreesCollide: method inside ShipEntity.m, there were these lines:DaddyHoggy wrote:So, what was the bug? Dodgy orientation?
Code: Select all
Vector other_position = [prime absolutePositionForSubentity];
Triangle other_ijk = [prime absoluteIJKForSubentity];
Vector prime_position = [other absolutePositionForSubentity];
Triangle prime_ijk = [other absoluteIJKForSubentity];
Also, split to its own thread.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
I have been examining the big dockers at the GRS station. For some reason their collision worsened. Normally 1 out of 3 crashed while docking (has never been perfect). With the fixed collision most big ships collided on entry of the docks. Probably that was collision detection as it always should happened. Trying to fix the collision in the past I already let the ships enter de docks along a path, 40 meter below the centre because the docks are open on that side. I just raised that value to 60 meter below the centre and now most ships survived until now. Only witnessed two crashes, what is better than before.
There were some other issues with the AI, but now big NPC ships dock fine with me on the external docks. Current release of buoyRepair will show more crashes with 1.73 than with 1.72.
There were some other issues with the AI, but now big NPC ships dock fine with me on the external docks. Current release of buoyRepair will show more crashes with 1.73 than with 1.72.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- goran
- ---- E L I T E ----
- Posts: 294
- Joined: Sat Feb 23, 2008 12:32 am
- Location: Zagreb, Croatia
- Contact:
During the last refueling at Fuel Station, i noticed the blip on the scanner that is getting closer and closer. Switch to rear view revealed a Phoenix entering the Station disregarding me being in there already. I had to leave before blind #$!# push me into the station walls. Maybe something like that caused my first refueling death...
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Perhaps it was driven/flown by the same 'white-van-man' who blocked me in at the fuel pump when I was filling up this morning (he was behind me and when the pump ahead of me became clear he drove round me and left his van parked at an angle to the pump while he went off to get a paper from the kiosk...). Too many cars for me to reverse up so I was very grown up about it and left my hand on the horn until he came back out - he glared at me but got back in and drove off without fuelling up!gorans wrote:During the last refueling at Fuel Station, i noticed the blip on the scanner that is getting closer and closer. Switch to rear view revealed a Phoenix entering the Station disregarding me being in there already. I had to leave before blind #$!# push me into the station walls. Maybe something like that caused my first refueling death...
However, back to Oolite, this sounds like a little AI tweaking is required - if ship already refuelling do not enter ring!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
I'm not sure quite how easy that will actually be to do.
The current NPC ship AI (and indeed the whole NPC use of fuel stations) is Eric's update to my original, and from my neophyte AI skills it would be a less than trivial issue to detect when the station actually has a ship inside it before the AI tells the NPC ship to go in itself.
The current NPC ship AI (and indeed the whole NPC use of fuel stations) is Eric's update to my original, and from my neophyte AI skills it would be a less than trivial issue to detect when the station actually has a ship inside it before the AI tells the NPC ship to go in itself.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link