Page MenuHomeFeedback Tracker

setUnitRank is not JIP compatible for players that respawn
Need More Info, NormalPublic

Description

If Player1 leaves the server, and Player2 respawns while Player1 is not in the game, once Player1 reconnects, it sees Player2's rank as the default rank defined for him in mission.sqm (which is typically Private). This video demonstrates this: https://youtu.be/AfBEyMrWfOk

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Multiplayer
Steps To Reproduce

Load this mission:

  1. Join server and have both players select role through menu
  2. One player disconnects, other player dies/respawns whilst the other isn't on the server
  3. Player reconnects, rejoins the squad and see's the player as a private again (what the unit is in the SQM)

Event Timeline

Leopard20 renamed this task from setUnitRank is not JIP compatible to setUnitRank is not JIP compatible for players that respawn.Apr 27 2022, 2:01 PM
Leopard20 updated the task description. (Show Details)
BIS_fnc_KK changed the task status from New to Need More Info.Apr 27 2022, 7:28 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Mission is unavailable

Sorry!
An error was encountered while processing your request:

There was a problem accessing the item. Please try again.

Is setUnitRank executed at some point? Where, when?

Leopard20 edited Steps To Reproduce. (Show Details)EditedApr 28 2022, 1:54 PM

Mission is unavailable

Sorry. Uploaded the mission on FT.

Is setUnitRank executed at some point? Where, when?

Yes:
https://github.com/DomT602/Doms-Arma-3-Mods/blob/main/Dynamic%20Groups/DynamicGroups.Malden/Groups/fn_setupPlayer.sqf#L53