• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /General
  • /A3G-24
Back
1

Duplicate network setDamage scripts

MultiplayerServer
1

State

Done
Issue key
A3G-24
Access
Public
Space
Arma 3
Project
General
Creator
fraali
Created
Aug 15, 2026
Views
166
Issue Type
Bug/Error
Section
Game Version
2.22 (Current Stable)
Was this also present in the previous version?
I don't know / Not relevant
Severity
It would be nice to fix this
Section
Operating System
Windows
Windows
Windows Version
Windows 11
Description

The script \A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf gets execVM'd in the killed event handler for multiple objects. This script does NOT have an isServer check, and will execute a setDamage for every player as well as server.

Essentially it is causing duplicate setDamage across the network where it should not be.


Every object that has this issue is as follows:
[

["Land_PowerLine_01_pole_junction_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

["Land_PowerLine_01_pole_lamp_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

["Land_PowerLine_01_pole_lamp_off_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

["Land_PowerLine_01_pole_small_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

["Land_PowerLine_01_pole_tall_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

["Land_PowerLine_01_pole_transformer_F","[(_this select 0)] execVM ""\A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf"""],

]


This was an issue with other objects from a previous update, but has since been fixed for reported objects - https://feedback.bistudio.com/T196391

Reactions

Activity

    about 2 months ago
  • fraali
    created issueabout 2 months ago
  • about 1 month ago
  • bis_fnc_kk
    Moderator
    about 1 month ago
    bis_fnc_kk
    Moderator
    about 1 month ago

    Do you have a repro? Killed is supposed to fire only on 1 client, I will need a repro to look further

  • bis_fnc_kk
    changed state to
    NEED MORE INFO
    about 1 month ago
  • about 1 month ago
  • fraali
    about 1 month ago
    fraali
    about 1 month ago

    Objects that are created from terrain have a netID starting with 1 ex. "1:-967887357", and are always local to everyone. From my testing, the Killed event handler as well as most others, will fire where the object is local.

    Put these things together, and every client will run the event handler if its a terrain spawned object.

    I created a server and 2 clients, found a random terrain object, added a Killed event handler on each client, then killed the object. The result is all 3 clients printing out from the event handler.

    cursorObject addEventHandler ["Killed",{
      systemChat str _this
    }];



    https://i.imgur.com/rnDV8Qt.png

  • bis_fnc_kk
    Moderator
    about 1 month ago
    bis_fnc_kk
    Moderator
    about 1 month ago

    Hi, I cannot see the imgur, it is blocked in the UK

  • bis_fnc_kk
    Moderator
    about 1 month ago
    bis_fnc_kk
    Moderator
    about 1 month ago

    Right I checked the script in question \A3\Structures_F_Exp\Infrastructure\PowerLines\Scripts\column_ruins.sqf


    If this what you have?

  • fraali
    about 1 month ago
    fraali
    about 1 month ago

    Clearly it has the server check now. I may have been on the old version 2.20 when I pulled the script?

    I apologize, but it does seem to be working properly as of me rechecking this morning... I kinda feel stupid now.

    This ticket can be closed

  • bis_fnc_kk
    changed state to
    DONE
    about 1 month ago

You are not signed in. Please sign in to see more details and to reply.

State

Done
Issue key
A3G-24
Access
Public
Space
Arma 3
Project
General
Creator
fraali
Created
Aug 15, 2026
Views
166