cokwa / F4MP-Archive

Fallout 4 Multiplayer Mod
GNU General Public License v3.0
52 stars 13 forks source link

Shooting a gun causes the other player to crash #6

Open nodeofgithub opened 4 years ago

nodeofgithub commented 4 years ago

Describe the bug Shooting a 10mm Pistol causes the other player to crash from an exception in the Fallout4.exe. (not the f4mp.dll). Probably not easily reproducible.

To Reproduce

  1. Have bad luck and create a cursed character
  2. Connect with another player
  3. Shoot a 10mm pistol a couple of rounds and wait
  4. Watch the other player crash

Expected behavior No crashes expected when firing a 10mm pistol.

Screenshots At first, the game crashed like this, i believe for both players.

pistol_crash0 pistol_crash_1

Then after Cokwa made a fix, the problem remained, but the crash was different, and only the other player crashed.

pistol_crash_2

Notice the crash now happens in Fallout4.exe, not in F4MP.dll.

Files

Load Order

Additional context

0rdinal commented 4 years ago

This is because Fallout 4 tries to load a save on death and the client cannot calculate a vector properly.

nodeofgithub commented 4 years ago

I meant shooting without hitting the player though. Like just shooting the ground.

0rdinal commented 4 years ago

In that case it needs more testing. I'll do that tommorow