Page MenuHomeFeedback Tracker

Global projectiles don't broadcast instigator to other clients
Feedback, NormalPublic

Description

Global projectiles don't broadcast instigator entity over the network. This is usually not noticeable because shooter client most often does the damage themselves and instigator is properly available to them, but becomes a problem when projectile changes locality when client leaves (player placed a mine and left the game), other clients only have source on such projectiles and no instigator, producing different damage source information once projectile does the damage.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Multiplayer
Steps To Reproduce
  1. Launch attached mission with 2 players
  2. Have either player shoot the RPG
  3. Check RPT of both players and observe lack of instigator where projectile is remote

Event Timeline

SaMatra created this task.Thu, Feb 8, 4:29 PM

Repro RPT example:
Server:

22:20:45 #############################################################
22:20:45 # ProjectileCreated: 10: rocket_rpg7.p3d (R_PG7_F)
22:20:45 local = true
22:20:45 source = B Alpha 1-1:1 (Sa-Matra) (B_RangeMaster_F)
22:20:45 instig = B Alpha 1-1:1 (Sa-Matra) (B_RangeMaster_F)

Client:

22:20:45 #############################################################
22:20:45 # ProjectileCreated: 10: rocket_rpg7.p3d (R_PG7_F)
22:20:45 local = false
22:20:45 source = B Alpha 1-1:1 (Sa-Matra) REMOTE (B_RangeMaster_F)
22:20:45 instig = <NULL-object> ()
TRAGER added a subscriber: TRAGER.Thu, Feb 8, 9:26 PM

Revision: 151389

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Fri, Feb 9, 5:01 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK set Ref Ticket to AIII-56247.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Also added shotInstigator param to events:

ammo HitPart
ammo AmmoHit
entity HitPart
ammo HitExplosion
0nFlare.sqs

Also added shotInstigator param to events:

ammo HitPart
ammo AmmoHit
entity HitPart
ammo HitExplosion
0nFlare.sqs

entity Explosion could use it too.

BIS_fnc_KK added a comment.EditedFri, Feb 9, 5:27 PM

Make a ticket, if it is feasible in context of the event then why not. Keep in mind HitExplosion =/= Explosion

Make a ticket, if it is feasible in context of the event then why not. Keep in mind HitExplosion =/= Explosion

ENTITY Explosion is called alongside ENTITY HitPart has projectile entity and source in it, might as well have instigator there.

Actually no need, Explosion has projectile on which you can use getShotParents.

This comment was removed by LouMontana.