Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player on bikes receives no bullet damage when driveby #556

Open
ArranTuna opened this issue Sep 22, 2018 · 1 comment
Open

Player on bikes receives no bullet damage when driveby #556

ArranTuna opened this issue Sep 22, 2018 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@ArranTuna
Copy link
Collaborator

ArranTuna commented Sep 22, 2018

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.
  1. Another player should now try to fire upon the player in a bid to damage them.
  2. 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).

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

@ArranTuna ArranTuna added the bug Something isn't working label Sep 22, 2018
@ArranTuna ArranTuna added this to the Backlog milestone Sep 22, 2018
@Dutchman101
Copy link
Member

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants