Page MenuHomeFeedback Tracker

player attach to the object does not work
Closed, ResolvedPublic

Description

in version 1.19 , the player 's attachment to the object stopped working.

dta\scripts\1_Core\proto\EnEntity.c
proto native external bool AddChild(notnull IEntity child, int pivot, bool positionOnly = false);

dta\scripts\3_Game\human.c
proto native void LinkToLocalSpaceOf(notnull IEntity child, vector pLocalSpaceMatrix[4]);

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

komer created this task.Oct 24 2022, 7:45 PM

Hey @komer,

could you please provide some more details on what exactly does not work since the 1.19 patch? Player attaching should only be done through LinkToLocalSpaceOf.
I have briefly checked and for me, it still worked - but of course, I can't easily test all use cases/situations.

Thank you

Hunterz added a subscriber: Hunterz.Nov 8 2022, 6:48 PM

there are only new bug with linking to object... when player change stance, is teleported (desync) randomly to map

in 1.18 and previous versions linking works without this new bug

before player teleported client freezes for few seconds

lava76 added a subscriber: lava76.Nov 10 2022, 12:23 AM

Can definitely reproduce and confirm freeze/desync/teleport issue when player changes stance while attached to vehicle (using LinkToLocalSpaceOf). I noticed that jumping/falling onto a vehicle while already crouched/prone does not cause the issue, it's only caused by changing stance.

Geez closed this task as Resolved.Nov 13 2022, 8:20 PM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello everyone.
This has been fixed for the 1.19 hotfix nr. 3.
Regards,
Geez

polpa added a subscriber: polpa.Nov 29 2022, 11:37 PM