Page MenuHomeFeedback Tracker
Feed Advanced Search

Jun 5 2021

HashCode added a comment to T158621: SetUnitLoadout broken.

Фидбэк, который мы заслужили

Jun 5 2021, 12:30 PM · Arma 3

May 18 2021

HashCode added a comment to T123918: setUnitLoadout command broken.

Well... I know setUnitLoadout is AG EG but you should avoid running (allPlayers #0) setUnitLoadout (getUnitLoadout allPlayers #0). I'm not sure it's fine from server due to sync.
Could you test something more "classic" like:
private _loadout = getUnitLoadout bob;
bob setUnitLoadOut _loadout;
(bob is the variable name of the player in editor you want to play).
Sorry not very helpful.

BI devs?

It's just reproduce example on the video, of course I've stuck with this while was writing code by classic methods like - _unitLoadout = getUnitLoadout _unit; _unit2 setUnitLoadout _unitLoadout and etc...
If needed I can post a function. Unfortunately it doesn't matter which way u choose to write code with this command, because only setUnitLoadout command brokes it (I've tried all possible ways to write this code to avoid bug)

May 18 2021, 8:53 AM · Arma 3

May 17 2021

HashCode updated the task description for T158621: SetUnitLoadout broken.
May 17 2021, 8:47 PM · Arma 3
HashCode updated the task description for T158621: SetUnitLoadout broken.
May 17 2021, 8:47 PM · Arma 3
HashCode created T158621: SetUnitLoadout broken.
May 17 2021, 8:46 PM · Arma 3
HashCode added a comment to T123918: setUnitLoadout command broken.

Video
P.S. Command brokes replication if loadout array has uniform

May 17 2021, 6:30 PM · Arma 3
HashCode added a comment to T123918: setUnitLoadout command broken.

@HashCode How? What is your problem and reproducible test? I'm on it for a script right now, and I don't notice problem.

It has strange behavior. When I use this command in vanilla (from dedic on not local unit) it has chance to fail about 30% fail and 70% success. But right now I am writing script on moded server (armstalker mod) and it has 100% chance to broke replication. I've notice strange dependency - if my loadout array has uniform it will cause replication fail and sync will stop (only reconnect helps)
My steps is

  1. Apply setUnitLoadout command from dedic server to not local unit (uniform must be in loadout array)
  2. Ask that unit to drop any item (unit must ba player)
  3. Scan unit loadout by getUnitLoadout command from dedic

After that U can see, loadout array hasn't been changed
I can share video if needed

May 17 2021, 6:14 AM · Arma 3
HashCode added a comment to T116980: setUnitLoadout command breaks inventory sync.

It's broken again, after using this command (I tried use it from dedic) inventory replication becomes broken and stops. Only reconnect helps. Weird thing is that, command will crash replication only if array with loadout has uniform.

May 17 2021, 1:29 AM · Arma 3
HashCode added a comment to T123918: setUnitLoadout command broken.

SetUnitLoadout is broken again

May 17 2021, 1:23 AM · Arma 3