You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
One player get on a bike and needs to aim with a weapon in driveby. The issue is resource-independent.
Another player should now try to fire upon the player in a bid to damage them.
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 (a74285d) 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).
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;
Patch the 'realdriveby' resource to block driveby on bikes by default (opt-out or hardcode) so that we atleast won't promote or stimulate appearance of the bug through official resources.
Block driveby on bikes by default using setGlitchEnabled, so that server owners can opt-in to the bug if they prefer. This is a typical GTA bug and a result of SA not having been designed for MP.
Take the proper approach; instead of migitating, actually fix it, like Saml1er proposed we could do, and which has actually been planned upon. The code from @sbx320's earlier fix above could be partially reused, and suitable replacement anims for bikes can be picked.
patrikjuvonen
changed the title
player on bikes receives no bullet damage when driveby
Player on bikes receives no bullet damage when driveby
Jan 15, 2021
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
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 (a74285d) 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
The text was updated successfully, but these errors were encountered: