altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

streamSyncedMetaChange is always called on entity stream in

Open xxshady opened this issue 3 years ago • 1 comments

Description of the problem

At first you may think this is a useful bug(or feature xd), but it really isn't, because "streamSyncedMetaChange" is called before the entity is spawned ("gameEntityCreate"), which can cause confusion among users

Reproduction steps

  1. create a vehicle
  2. subscribe to "streamSyncedMetaChange" and "gameEntityCreate" events clientside
  3. set some stream synced meta on the vehicle
  4. restream the vehicle (vehicle.streamed)
  5. "streamSyncedMetaChange" is always called on stream in and before "gameEntityCreate"

Expected behaviour

The "streamSyncedMetaChange" should be called after "gameEntityCreate" or this bug/feature should be fixed

Additional context

No response

Operating system

Windows 11

Version

dev/10.0-dev3

xxshady avatar Mar 04 '22 20:03 xxshady

Confirmed on dev/10.0-dev21

deluvas1911 avatar May 07 '22 18:05 deluvas1911

@xxshady test on newest dev

C0kkie avatar Aug 20 '23 21:08 C0kkie

Fixed in 16.0

FabianTerhorst avatar Jan 13 '24 14:01 FabianTerhorst

Fixed in 16.0

Not fixed

matvejs16 avatar Mar 24 '24 14:03 matvejs16

fixed

xxshady avatar Mar 24 '24 16:03 xxshady