Bug #28201

Multiple bolt action reload sounds in multiplayer

Added by Macolik over 3 years ago. Updated about 3 years ago.

Status:Closed Start date:01/28/2012
Priority:Normal Due date:
Assignee:Dwarden % Done:

0%

Category:Sound
Target version:1.62.95248
Affected ArmA II version:1.60.87580 First affected build:
Reproduced by another DH user:Yes First affected ArmA II version:
I am using some Mods:No Single / Multi Player?:MP Only
I am using:CO (OA+A2) BIForumURL:
Reproducible for you:Yes NGUrl:
Related to content of DLC: WIKIurl:

Description

This multiplayer bug probably started to occur with 1.60 due to the reload sound mp broadcasting fix.

As our mod (I44) uses a lot of bolt action rifles we use various sounds to make the bolt action cycle audible.
In the weapon config it gets defined like this:

reloadSound[] = {"\...\boltcycle", db-70, 1, 20}; // bolt action sound

NOT like this:

reloadMagazineSound[] = {"Ca\sounds\Weapons\rifles\M1014-reload",0.01,1,20}; // magazine reload sound

Reproduce
  1. Make a mod folder and place the reloadbug.pbo inside it
  2. Play on a dedicated server and make sure you play a mission with a lee enfield rifle in it (tested on a dedicated server, not sure if this occurs on a hosted server)
  3. Shoot Lee Enfield rifle
Observe
  1. Multiple bolt cylce sounds are heard (Important: This only happens in mp environments)
  2. The reload sound gets played multiple times (probably 2 times with one player, 4 times with a second player etc. Imagine how it is with 15+ players :/)
Expected
  1. The reload sound should play only once for each player.
Note
  1. There is also related bug that occurs in singleplayer too where bolt sound can once in a while play twice in a row and it seems to occur mostly around the 6th-7th shot but is also very random. The main difference compared to the multiplayer bug issued in this ticket is that, singleplayer bug never makes bolt action sound play more than twice in a row.
  2. None of the A2 weapons, e.g Lee Enfield, have bolt action/revolving sounds so addon called reloadbug.pbo was made by Macolik to make this issue reproducible.
  3. reloadbug.pbo addon updates the A2 Lee Enfield rifle with a bolt cycle sound.
  4. boltreload_TE.Desert_E.pbo is repro mission by Makolik where character is equipped with Lee Enfield. Comment by Hanzu: Not explained here is how to use this one in multiplayer and especially with dedicated server, but it seems to require reloadbug.pbo to work at all.

reloadbug.pbo (235 kB) Macolik, 01/28/2012 18:12

boltreload_TE.Desert_E.pbo (1.7 kB) Macolik, 01/28/2012 19:09


Related issues

related to ARMA2 Community Issue Tracker - Bug #27613: Reloads do not seem to transfer the action, but rather th... Closed 01/07/2012
related to ARMA2 Community Issue Tracker - Bug #18754: Missing reloading sound while reloading animation from an... Closed 04/06/2011 07/01/2011

History

Updated by kju over 3 years ago

  • Category set to Sound

Updated by kju over 3 years ago

  • Description updated (diff)
  • Assignee set to Dwarden

Updated by kju over 3 years ago

If this problem is not limited to infantry weapons, this could also be true for these (the rest has none defined):

class CfgMagazines
    class 8Rnd_Stinger: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 8Rnd_AT5_BMP2: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 4Rnd_AT9_Mi24P: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 4Rnd_AT6_Mi24V: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 8Rnd_Hellfire: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 12Rnd_Vikhr_KA50: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 4Rnd_Sidewinder_AV8B: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 14Rnd_FFAR: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1};
    class 40Rnd_80mm: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1};
    class 64Rnd_57mm: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1};
    class 6Rnd_GBU12_AV8B: VehicleMagazine
        reloadSound[] = {"",0.000316228,1};
    class 4Rnd_R73: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,10};
    class 4Rnd_Ch29: VehicleMagazine
        reloadSound[] = {"",0.000316228,1};
    class 2Rnd_Maverick_A10: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,20};
    class 8Rnd_9M311: VehicleMagazine
        reloadSound[] = {"\ca\Weapons\Data\Sound\missload",0.000316228,1,10};
    class Warfare30Rnd82mmMortar: VehicleMagazine
        reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};

Dunno about the cfgWeapons reloadSound definition:

class CfgWeapons
    class Default
        reloadSound[] = {"",1,1};
    class MGun: MGunCore
        reloadSound[] = {"",1,1};
    class Rifle: RifleCore
        reloadSound[] = {"",1,1};
    class Throw: GrenadeLauncher
        class ThrowMuzzle: GrenadeLauncher
            reloadSound[] = {"",0.000316228,1};
    class Put: Default
        class PutMuzzle: Default
            reloadSound[] = {"",0.000316228,1};
    class M119: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
        class Single1: Mode_SemiAuto
            reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
        class Burst1: Mode_Burst
            reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
    class M256: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
    class D30: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
        class Single1: Mode_SemiAuto
            reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
        class Burst1: Mode_Burst
            reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
    class D81: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun125reload",1,1,20};
    class ZiS_S_53: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun73reload",1,1,20};
    class M252: CannonCore
        reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
        class Single1: Mode_SemiAuto
            reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
        class Burst1: Mode_Burst
            reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
    class 2B14: CannonCore
        reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
        class Single1: Mode_SemiAuto
            reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
        class Burst1: Mode_Burst
            reloadSound[] = {"\Ca\sounds\Weapons\cannon\mortar_load",1.12202,1,12};
    class D10: CannonCore
        reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload",1,1,20};
    class SCAR_Base: M16_base
        reloadSound[] = {"",1,1};

Updated by Macolik over 3 years ago

Repro mission added

Updated by PacUK over 3 years ago

  • Reproduced by another DH user changed from No to Yes

Updated by Dwarden over 3 years ago

  • Status changed from New to Assigned
  • Target version set to 1.61 BETA

Updated by Dwarden over 3 years ago

  • Status changed from Assigned to Resolved

first try to resolve the problem will be in build 1.60.88975

Updated by bebul over 3 years ago

Your observations are not correct. It happens also in SP. It is not MP specific.

Updated by Macolik over 3 years ago

You might be confusing this with another bug.

In SP the bolt sound can once in a while play twice in a row (seems to occur mostly around the 6th-7th shot but can be random), but in Multiplayer every shot the reload sound is played multiple times overlapping itself, seemingly increasing with more players.

Updated by bebul over 3 years ago

Hmmm... Yet another fix is ready from rev.89065.¨

Updated by Hanzu about 3 years ago

  • Subject changed from Multiple reload sounds in mp (for bolt actions) to Multiple bolt action reload sounds in multiplayer
  • Description updated (diff)

Macolik please test if this still happens for you and report here, so in best case we can Close the ticket and give bebul a big thanks.

I would test this myself, with newly released 1.61.94945 RC1, but unfortunately it is not easy to find multiplayer mission that includes Lee Enfield and is suitable for use with dedicated server.

About that another bug concerning singleplayer...

Reproducing test 1 with reloadbug.pbo by Macolik and Armory:
Singleplayer
Armory
Utes
Continue
Weapons
Rifles
Lee Enfield
Try!

Firing 5 clips of 10 bullets
Bolt action sound played twice with the following bullets
5
13
15
16
19
21
23
24
27
29
31
32
35
48

Reproducing test 2 with reloadbug.pbo by Macolik and boltreload_TE.Desert_E.pbo with Macolik:
Firing 5 clips of 10 bullets
Bolt action sound played twice with the following bullets
7
14
31
37
41
42
44
49

Seems weirdly random indeed and why so big difference between Reproducing test 1 and Reproducing test 2? And can we trust this reloadbug.pbo is not just messing with us? I'm not going to make a separate ticket for singleplayer relation of this issue as long as there is no true bolt action rifle brought by some official expansion of Arma2.

Updated by Macolik about 3 years ago

We've played with the latest beta and I44 numerous times and did not experience this issue, so a big thanks to bebul!

Updated by Hanzu about 3 years ago

  • Status changed from Resolved to Closed

Updated by kju about 3 years ago

  • Target version changed from 1.61 BETA to 1.62.95248

Also available in: Atom PDF