Page 1 of 1

[Closed] Help reproducing this bug

Posted: Mon May 09, 2011 11:05 pm
by george moromisato
I need help reproducing this bug: http://wiki.neurohack.com/transcendence/trac/ticket/340

Basically, it says that the CSC Antarctica doesn't fire on the player. I've followed these steps:

1. Go to the Dantalion system (usually via Elyssium)
2. Go to the Commonwealth station and pay 10,000 rin to get the location of the Antarctica
3. Go to the Antarctica and open fire.
4. For each shot, the Antarctica says, "Cease fire..."
5. At some point, it turns red.
6. Then it immediately starts attacking me (using its TeV9s and missiles).

The bug says that #6 doesn't happen (although it does turn red). Can anyone reproduce?

A few clues:

a. There is code in the engine that prevents secondary weapons from attacking non-aggressive ships, where non-aggressive is defined as "has not fired a weapon in some period of time." Since the Antarctica's TeV9s count as secondary weapons, they will not attack the player if he/she hasn't fired.

b. Perhaps if wingmen attack the Antarctica without the player then this will repro.

c. In a nebula, it is possible that the Antarctica cannot see the player (though I don't know the range).

If you get a reproducible case, can you please save a copy of the game and send to me ([email protected])? Thanks!

Re: Help reproducing this bug

Posted: Tue May 10, 2011 12:08 am
by sdw195
just did it,

steps

1 go to Dantalion system (via g.o.d mod)
2 get IM90
3 fly around the gates till you find it
4 open fire
5 watch as it runs away helplessly

Re: Help reproducing this bug

Posted: Tue May 10, 2011 12:10 am
by Ttech
humm. Sounds more like a feature to me. :roll:
But seriously though, I just tried it but I wasn't able to get this to happen. I went to the system fired on Antartica but it never turned red.

Re: Help reproducing this bug

Posted: Tue May 10, 2011 2:54 am
by Amilir
Honestly, I'm having more trouble getting the Antarctica to attack me.

Re: Help reproducing this bug

Posted: Tue May 10, 2011 4:36 am
by george moromisato
Thank you all. RPC sent me a save file that helped me to debug the problem.

It turned out to be an uninitialized variable bug that only appeared in Release mode (not on Debug builds, which is why I couldn't find it). Under certain circumstances, particularly with ships with lots of secondary weapons, the engine failed to find any targets. This is fixed in 1.06.

Thanks all!