Neuromancer 6.8 is missing sitting duck...

Jump to navigation Jump to search

Neuromancer 6.8 is missing sitting duck...

I think that will be a bug of the circular bin where firing angles near start and end is not handled correctly...

Xor (talk)14:38, 29 October 2017

Hey, thanks for the bug report. It wasn't that at all actually, it was to do with some broken assumptions that the maximum index would always be on the most clockwise side of the peak (since I use a square kernel). However, I actually initialize the maximum index to where the gun is currently aiming to try to get some continuity in case there are ties, and so the maximum index drifts towards the anti-clockwise side of the bot the longer I shoot at it.

I've fixed it by finding both sides of the peak on either side of maxIndex, and aiming at the mid-point. If you test with 6.9 it should be a lot better at hitting SittingDuck dead center every time =)

Skilgannon (talk)21:38, 30 October 2017

You’re welcome ;) And nice to see that fixed.

Xor (talk)02:45, 31 October 2017