Cubed-Development / Modern-Warfare-Cubed

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

There's a chance that exiting and re-entering the game will reset the gun to its state before it was loaded. #408

Open fzrdwa123456 opened 5 months ago

fzrdwa123456 commented 5 months ago

Describe the bug

If a player exits the game abruptly while firing a gun and then re-enters the world, there is a probability that the gun will be in a different state, appearing as if it were unloaded even though the magazine looks normal and contains bullets.

Reproducibility

Screenshots and/or videos

No response

Logs

no logs

Debug Logs

No response

Crash Reports

No response

MWC Version

0.1.3

Forge Version

1.12.2 forge 14.23.5.2860

Red Core Version

0.6 dev 3

MixinBooter Version

9.1

Java Version

1.8

Java Virtual Machine

Hotspot

Operating System

windows 11

GPU Vendor

NVIDIA

Code of Conduct

fzrdwa123456 commented 5 months ago

This time I didn't capture the footage, but I noticed that sometimes when exiting and re-entering the game, the gun would be in a different state for some reason. Sometimes, even though the magazine was loaded with bullets and attached to the gun, the gun would be in its previous state as if it hadn't been chambered. However, the gun appeared normal, and when the magazine was detached, it still showed bullets inside

fzrdwa123456 commented 5 months ago

Sometimes when entering the game, even though there are bullets clearly visible, the game prompts that there is no ammunition when attempting to fire

fzrdwa123456 commented 5 months ago

https://github.com/Cubed-Development/Modern-Warfare-Cubed/assets/130232431/42990038-e9ef-4d95-8569-6734a2f8dfa6

Just like this