Team-Immersive-Intelligence/ImmersiveIntelligence

[BUG] Multiple weapons bugs

Closed this issue · 2 comments

Describe the bug
Multiple weapons bugs. Including: Unable to load rifle and handmade rifle/machinegun loads automatically and not consuming ammo, after unloading unable to load again, trying to fire results crash (logs are attached)/Mortar shells crash (not sure how, but it looks like the error is the same as in the machinegun crash)

To Reproduce
Steps to reproduce the behavior:

  1. Place a machinegun
  2. "Mount" it with ammo magazine in hand
  3. It loads automatically (Pressing manual reload button not working)
  4. Ammo count updates very slow
  5. Trying to fire with no ammo crashes game
    OR
  6. Take rifle or handmade rifle
  7. Press manual reload
  8. Not reloading

Expected behavior
Expected weapons to work as intended and not crashing

Screenshots or GIFs
Add screenshots of animated GIFs (even better) of the problem (if it is a visual glitch).
~

Logs
latest.log
crash-2023-08-11_22.26.39-server.txt
---Mortar---
crash-2023-08-11_22.32.51-server.txt
latest.log

Environment

  • OS: Win10 Pro 22H2
  • Minecraft version: 1.12.2
  • Forge version: 1.12.2-forge-14.23.5.2860
  • Immersive Intelligence version: latest 0.3.0 from github
  • Immersive Engineering version: 0.12-98
    If you have other mods installed, it would be nice if you send a list of them too (maybe it's not II's fault after all) ^^.

P.s. If i'm spamming too much with reports, please notify me, i just want to help, but don't want to cause inconvenience. Thank you for understanding

The machinegun issue is confirmed and will be worked on. as a part of a general crew weapons rework.

As for the rifle, I tested it on a normal game instance, but it works for me.,
Have you tried loading machinegun bullets, or a magazine to it?
The rifle is loaded manually using 4 machinegun bullets. Magazines are meant to be used by a semi-automatic rifle, which you can get by installing an upgrade.

Ah, i see, i tried to load with the magazine, as the documentation is missing in the manual, i didn't thought it should load with bullets separately, though this is logical as that's bolt action rifle. Anyway loading rifle with the bullets separatly indeed works. Thank you for telling