LordGolias / antistasi

Antistasi improved, a mod for the game Arma 3.
BSD 3-Clause "New" or "Revised" License
31 stars 18 forks source link

Arsenal was wiped out (except backpacks) #110

Closed Warhammer47 closed 6 years ago

Warhammer47 commented 6 years ago

After saving the game noticed that the arsenal for some reason got wiped. If any help opening the arsenal HUD feature was taking about 30 seconds.

P.S. Tested with ACE in the fix_Minefields branch in MP

Arma3_x64_2017-10-30_10-24-48.txt

LordGolias commented 6 years ago

Can you confirm whether this was antistasi related or Arma related?

Warhammer47 commented 6 years ago

I think I figured it out, seems like I open the arsenal too quickly after load. Seems like I need to wait a few seconds between "Game loaded" hint and actually opening the arsenal. I think it is because the game is still loading all the weapons in the box and I interrupt that process

LordGolias commented 6 years ago

great finding! That indeed helps a lot to fix this.

LordGolias commented 6 years ago

I believe that 2c18b4ca52cc110149c45e3477e2d06bcd7e6d3a fixes this. It was a race condition being won by accessing the arsenal during load. However, this needs testing before closing. Can you reproduce what you did and check if you can no longer do it?