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

Infinite weapon ammo/durability #1407

Closed
coblyox opened this issue Jul 16, 2023 · 0 comments
Closed

Infinite weapon ammo/durability #1407

coblyox opened this issue Jul 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@coblyox
Copy link

coblyox commented Jul 16, 2023

In this case, I'm actually reporting two bugs:

  1. One is that you can have infinite ammo for a weapon.
  2. And infinite durability for a weapon, as long as you have a weapon with some durability.

Framework
QB

Resource version
2.31.3

Infinite durability repro

  1. Have 1 weapon with 0 durability, and 1 weapon with some.
  2. Pull out weapon with 0 durability
  3. Open inventory, swap 0 durability weapon with a same weapon which has atleast a bit durability.
  4. Close inventory, reload broken weapon in your hand
  5. Open inventory, swap back weapons
  6. Close inventory and you're good to shoot with broken weapon.

Infinite ammo repro

  1. Have a weapon in inventory
  2. Pull out weapon
  3. Open inventory, swap weapon with an item (in our case we swapped with ammo)
  4. Now you'll have infinite ammo, until you do step above every time.

Video for infinite ammo
https://youtu.be/K0gGrvzrYY0

Expected behavior
Once bullets end, they should be properly saved, and used weapon probably should be tracked. Because you can pretty crazy stuff with those weapons.

@coblyox coblyox added the bug Something isn't working label Jul 16, 2023
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

1 participant