Raox2 / sunrust-issues

A place for bugs and the like.
2 stars 0 forks source link

[ZS] Smart Targeting medical darts missing targeted player #53

Closed ritzbits closed 6 years ago

ritzbits commented 6 years ago

Glowth: Theres something wrong with convalescence smart target, I do not know what but I locked onto Im Hai earlier and he was standing still looking at me and I aimed directly at him and fired and it just dissappeared into his body, happened at low and medium range. Unlocking target fixes this bug.

Created this issue for tracking.

There is a high chance of smart targeting missing players when looking directly or almost directly at a player. This only happens when a player is locked-on to with smart targeting, and does not happen the medical dart weapon is not locked on to a player.

It most likely has to do with this change some time ago, which was presumably added to prevent smart targeting use at very long ranges:

Smart Targetting now has a maximum range and can't seek at too high of an angle. https://github.com/Raox2/sunrust-zs/commit/63d078f9dbc1b97a3d4838eb93a13513b1296759

Can do some further testing later to confirm.

There was a recent commit https://github.com/Raox2/sunrust-zs/commit/58a8dee6a44bafafe9db785508a846ccc81326e9 on Aug 3 to address a smart targeting issue although it did not fix smart targeting medical darts often missing the targeted player on direct shots.