mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

engineImageLinkDFF issue

Open Xenius97 opened this issue 2 years ago • 2 comments

Describe the bug

Some vehicle model replacement isn't working properly. When you spawn in the game, these vehicles will have default GTA:SA models. After going far away, and going back it will be modded vehicle again. I've found these id's only have this issue: 596, 597, 598 (police cars)

https://streamable.com/2hlxey https://streamable.com/0s9v4b

Steps to reproduce

Replace 596, restart mta Then connect to server Used model: 596.zip

Version

Multi Theft Auto v1.6-release-21956

Additional context

No response

Relevant log output

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not security related.

Xenius97 avatar Aug 24 '23 08:08 Xenius97

I encountered the same issue but with some skin model IDs, mainly 280, 60, 58, 44, 22, 17, 13, and 7 , might be related #3032

Meine1 avatar Aug 24 '23 23:08 Meine1

Police cars are cached on a per-region [eg LS, SF, LV] basis, and so are gang vehicles [and maybe even gang ped models]. It is possible that engineRestreamWorld() doesn't actually unload those models. The function CStreaming::RemoveLoadedVehicle() is responsible for removing these models. Now, the cop cars and peds for a specific zone are made STREAMING_GAME_REQUIRED in CStreaming::StreamCopModels(eLevelName level). I believe simply disabling these functions [as they simply exist for optimization purposes - as in, faster load times on CD, reducing pop-in] should solve the problem.

Pirulax avatar Aug 25 '23 21:08 Pirulax

engineRestreamWorld works for police vehicles

TheNormalnij avatar Jul 21 '24 18:07 TheNormalnij

engineRestreamWorld works for police vehicles

Sometimes yes, sometimes not. Sometimes vehicle will not replace, sometimes it will not have textures just like tunable vehicles.

image

engineStreamingSetModelCacheLimits(0, 0)

Xenius97 avatar Jul 22 '24 13:07 Xenius97

image

This issue isn't solved yet.

Xenius97 avatar Jul 22 '24 13:07 Xenius97