Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engineImageLinkDFF issue #3162

Open
1 task done
Xenius97 opened this issue Aug 24, 2023 · 2 comments
Open
1 task done

engineImageLinkDFF issue #3162

Xenius97 opened this issue Aug 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Xenius97
Copy link
Contributor

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

  • I have read and understood the Security Policy and this issue is not security related.
@Xenius97 Xenius97 added the bug Something isn't working label Aug 24, 2023
@Meine1
Copy link

Meine1 commented Aug 24, 2023

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

@Pirulax
Copy link
Contributor

Pirulax commented Aug 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants