Mtasa-blue: The grenade bug / exploit

Created on 17 Oct 2019  Â·  6Comments  Â·  Source: multitheftauto/mtasa-blue

Describe the bug
The "grenade" exploit/ bug is an issue that has been getting abused more and more recently.
This game breaking issue generally affects the Shooter game-mode (if you don't know what Shooter is, it's a race-based mode that involves vehicles shooting missiles from their bonnet using createProjectile(vehicle, 19, x, y, z, 1.0, nil)).
This bug, or rather exploit, results in the game to behave abnormally. After being triggered, shots don't look or feel the same, they often teleport, appear laggy, explode near enemies, do more damage, etc.

To reproduce
Steps to reproduce the behaviour generally involve switching between freeroam to race:
_-REMOVED_
I removed the reproduction steps because so far, this only helped spread this issue.

Video proof
https://youtu.be/_N-JGYyti9I
You can see how the shot magically teleports/explode near another player.

https://youtu.be/Sau5Y9faFS4
Another example showing how the shot explodes near me without hitting me or the ground (the other player also has the bug active, for us to test it around)

Additional context
Something worth mentioning is if you restart MTA, everything goes back to normal and the bug doesn't work unless you trigger it again. Also this generally involves switching between servers (one to trigger the bug at, one to benefit from it at), so a potential fix could be by somehow resetting whatever this bug changes about the game whenever you leave a server.

bug

Most helpful comment

We (FFS Gaming) would like to offer a 25€ bribe to MTA for fixing this issue. A lot of competitive play depends on it and we would highly appreciate a fix.

All 6 comments

  1. Do you trigger the bug by throwing the grenade or by dieing to a grenade - is it important who throws the grenade, another player or you?
  2. Does it merely work by taking damage from a grenade or actually dieing?
  3. Can you provide other reproduction steps, which don't require a server or gamemode change - it should be possible?
  4. Can you explain the difference between results before and after triggering 'the bug' in other words or show data from events? (in chat or drawn on screen)

createProjectile is clientside but server needs to synchronize it somehow. Could it be the reason why this happens if someone has high ping?

Sorry for the inconvenient delay.
I've been testing this bug out and I'll try to answer @botder 's questions (my results are subject to being not 100% accurate as it doesn't seem to work everytime).
1&2. The bug will still work even if you just take damage from the grenade, regardless of who throws it.

  1. I haven't got any idea about other steps, I'm open to any suggestion to try out though.
  2. If I understood you correctly; before triggering the bug, the game would just go on as normal, like you'd expect and I don't think i know or can show data from events.

createProjectile is clientside but server needs to synchronize it somehow. Could it be the reason why this happens if someone has high ping?

I can guarantee this is not due to any high ping; me and whoever I try it with both have relatively low ping.

I would also like to attach this other video showing how broken it is; a direct hit to my friend (who also has the bug on) only took ~50% of his health, when in reality he shouldn't died instantly.
https://youtu.be/3vrJomJYd-0

We (FFS Gaming) would like to offer a 25€ bribe to MTA for fixing this issue. A lot of competitive play depends on it and we would highly appreciate a fix.

I have tried logically to think about this; what could cause this? Dying by explosion and then going to another server and having lots of advantages sounds strange. But, it's real and it does happen, and gives a big advantage. The only theory which I could work up was that maybe some crappy logic in GTA causes this.

Maybe while in first server when you die and go to another server, explosion from the game doesn't get removed properly and maybe some of it's variables or states remain from earlier, and it becomes default behaviour of further explosions, and since you died from them, they had biggest damage, but now that biggest damage became the default setting for further explosions.

it ain't much but it's honest ~work~ theory

I have tried logically to think about this; what could cause this? Dying by explosion and then going to another server and having lots of advantages sounds strange. But, it's real and it does happen, and gives a big advantage. The only theory which I could work up was that maybe some crappy logic in GTA causes this.

Maybe while in first server when you die and go to another server, explosion from the game doesn't get removed properly and maybe some of it's variables or states remain from earlier, and it becomes default behaviour of further explosions, and since you died from them, they had biggest damage, but now that biggest damage became the default setting for further explosions.

it ain't much but it's honest ~work~ theory

It is not necessary to switch between servers, a simple /start race from within the same server is enough to notice the difference. In fact, I believe it's not even necessary to switch between gamemodes to see the result.

Your theory is not bad at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qaisjp picture qaisjp  Â·  4Comments

CrosRoad95 picture CrosRoad95  Â·  3Comments

CrosRoad95 picture CrosRoad95  Â·  4Comments

CrosRoad95 picture CrosRoad95  Â·  3Comments

rk-r picture rk-r  Â·  4Comments