Cubed-Development / Modern-Warfare-Cubed

Welcome to the official GitHub Repository for Modern Warfare Cubed!
Apache License 2.0
93 stars 60 forks source link

Broken gun state #316

Closed Officialaumember closed 10 months ago

Officialaumember commented 10 months ago

Describe the bug

Stops me from using my gun

A clear and concise description of what the bug is.

Gun becomes unusable to any degree other than holding. Only happens on weapon system version 2 guns (in the tests I conducted). Ammo counter will bug showing '-' in both the magazine's maximum capacity and current amount filled. I can't aim the gun, reload it, unload it, shoot it, or even switch from semi to auto etc. I am still able to move between inventory slots.

Reproducibility

reload a weapon system version 2 gun while crouching.

To Reproduce

  1. Obtain a gun that uses Weapon System Version 2.
  2. Reload the gun.
  3. Once the gun is reloaded, reload it again. This time as the gun reloading animation plays, hold down (or toggle) crouch.
  4. wait until the animation is done.
  5. You just broke your gun

Expected behavior

I expected a working and reloaded gun.

https://github.com/Cubed-Development/Modern-Warfare-Cubed/assets/154106077/39ed448f-7c38-477b-8d0e-5a23a2a7dbd3

Versions

Specification:

All of these info below are not necessary but may become necessary depending on the issue

Thing to note: I initially found this with an additional 50+ mods installed, but the glitch was still present in an environment with only RedCore and Modern Warfare Cubed installed.

Desoroxxx commented 10 months ago

Duplicate of #248