shipEnteredStationAegis event-handler doesn't fire in 1.72

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

Moderators: winston, another_commander, Getafix

Post Reply
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:

shipEnteredStationAegis event-handler doesn't fire in 1.72

Post by Commander McLane »

Okay, here come the first bug reports for 1.72 (would be a surprise if there weren't any, wouldn't it :wink: ):

It appears that the shipEnteredStationAegis event-handler doesn't fire in 1.72.

I discovered that during some playtesting for the Anarchies-revision for 1.72. In the new version (Anarchies 1.1) I tie the possibility for equipment that has been bought at a Salvage Gang to break, to passing some points in space, and have used the existing event-handlers, namely shipEnteredStationAegis, shipExitedStationAegis, shipEnteredPlanetaryVicinity and shipExitedPlanetaryVicinity.

For testing purposes I did some logging in the OXP. Therefore I noticed that on my way from station to witchpoint two events were logged, but on the way back to the station only one. Further testing revealed that the one working is shipEnteredPlanetaryVicinity. Nothing happens on shipEnteredStationAegis.
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: shipEnteredStationAegis event-handler doesn't fire in 1.

Post by Eric Walch »

Commander McLane wrote:
Further testing revealed that the one working is shipEnteredPlanetaryVicinity. Nothing happens on shipEnteredStationAegis.
Should it not be the other way round? Thargoids traffic control uses also those handlers and I noticed I don't get the shipEnteredPlanetaryVicinity message anymore.
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: shipEnteredStationAegis event-handler doesn't fire in 1.

Post by Commander McLane »

Eric Walch wrote:
Commander McLane wrote:
Further testing revealed that the one working is shipEnteredPlanetaryVicinity. Nothing happens on shipEnteredStationAegis.
Should it not be the other way round? Thargoids traffic control uses also those handlers and I noticed I don't get the shipEnteredPlanetaryVicinity message anymore.
I've tested it by closing in on the planet from the opposite side of the station. One handler fired, so I assumed it must be shipEnteredPlanetaryVicinity. I then orbited the planet in direction of the station. Eventually the 'S' appeared, but my code wasn't executed. Therefore I guessed that shipEnteredStationAegis doesn't work.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I just tested it with Traffic Control on my system (WinXP), and my findings agree with Eric's. I get the message triggered by StationAegis entry, so that seems to be working.
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:

Post by Commander McLane »

Okay, time for some more testing. Perhaps the 'S' doesn't appear together with the firing of the handler, so that confused me?

Anyway, one of the handlers doesn't work.
Post Reply