multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.37k stars 423 forks source link

Player on bikes receives no bullet damage when driveby #556

Open ArranTuna opened 5 years ago

ArranTuna commented 5 years ago

Describe the bug Whenever a player is driving a bike and aims sidewards with a weapon, he is completely resistant from remote bullets. This bug has existed for as long MTA exists.

To reproduce

  1. One player get on a bike and needs to aim with a weapon in driveby. The issue is resource-independent. 2) Another player should now try to fire upon the player in a bid to damage them. 3) The bullets just go through the driver, without harming him at all. This practically renders the driver in a state of godmode, the only way left to kill them would be with explosives or chainsaw, while they can easily unload their full clip on you while driving away from you and your attempts. Therefore, this results in major unfair advantage.

Expected behaviour Taking damage from bullets when in driveby mode when on (motor)bike.

Version Since MTA developer preview

Additional context Dutchman101: The driveby hitbox fix (https://github.com/multitheftauto/mtasa-blue/commit/a74285d6a5cfa2a64ad399af7121d8e6a204da4b) was only applied for vehicles other than bikes, we recently had a discussion on #development (Discord) and got to know that @saml1er likes to take on this issue and replace bike anims similarly to how the others were patched, along with resizing the hitboxes for both bikes and cars (since it takes a specific spot to deal damage to drivers, even after the previous fix - it introduced the ability to deal damage after all, but it's difficult).

From https://bugs.mtasa.com/view.php?id=7263

Dutchman101 commented 5 years ago

I updated the issue description to be more accurate.

As referred to, we recently discussed this issue on the development channel. We came up with 3 potential solutions;