acuion icon indicating copy to clipboard operation
acuion copied to clipboard

Crashing with hit-chance

Open Zedespook opened this issue 5 years ago • 5 comments

I've been testing around with hit-chance and every time it's being called it crashes. What I tried:

Hit-chance + no-shoot [Crash] Hit-chance + auto-wall [Crash] Hit-chance + without auto-wall [Crash] Hit-chance + spread-limit [Crash] Hit-chance + without spread-limit [Crash]

It is clear that the problem is hit-chance, the strange thing about this is that @acuifex didn't experience these crashes and when he sent me his .so file, it didn't crash for me.

Zedespook avatar Oct 04 '19 20:10 Zedespook

After intense debuging we think that problem is on line 170: Math::VectorAngles(direction, up, viewAnglesSpread); probably compiler optimise this bit of code for some reason.

acuifex avatar Oct 08 '19 16:10 acuifex

just for fyi crash occurs when hitting somevector.NormalizeInPlace();

Zeldern avatar Dec 26 '19 17:12 Zeldern

UPDATE! Now it's 2020, and the problem is still... There...

Zedespook avatar Apr 09 '20 00:04 Zedespook

Please check 81c06cc6768fdb1441b049c7abdccf89bedb694f. i think this stuff fixes this.

acuifex avatar Jul 15 '20 16:07 acuifex

interesting thing is that i never had this crash until today.

acuifex avatar Jul 15 '20 16:07 acuifex