altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

Streaming an addition vehicle mod in vanilla cars bugged #2272

Open Kaiwoknats opened 2 months ago

Kaiwoknats commented 2 months ago

Description of the problem

I have been trying to stream an additional vehicle mod for the vanilla vehicle "rhinehart". I created a rpf file and added the new vehicleMod ( livery) and placed it in the carcols.meta.

Now when i go ingame and check out the liverys its there BUG it doesnt show the livery , it changes the vehicleMod that is under the new livery in the carcols.meta.

Example:

Livery_1, Livery_2, Grill_1

NOW

Livery_1, Livery_2, Livery_3, Grill_1

Ingame on changing the livery the grill changes.

Putting the new vehicleMod to the bottom of the mods in the carcols file doesnt do anything instead of changing the new vehicleMod.

https://github.com/altmp/altv-issues/assets/59572199/ca03f693-d9a5-4817-85e8-59066e42ca42

I would upload the RPF but its not allowed so ya no rpf image

Reproduction steps

Add a new vehicleMod to a vanilla vehicle

Expected behaviour

It should change the corresponding vehicle mod

Additional context

No response

Operating system

Windows 11

Version

16.0.0-dev.335

Crashdump ID

No response

Confirmation of issue's presence

ThePawlow commented 1 month ago

I am running the alt:V server 16.0.155. I did some research for the sake of the Kaiwoknats and this is the result. Streaming the livery as a replacement seems to work, but throws the error "Cannot find rhinehart.yft". Streaming it as an rpf throws no errors, but does not show the livery. However, it is registered as available.

I've uploaded a zip file that contains both versions. For safety's sake, I ran the zip in VirusTotal, so no one has to worry. kaiwoknats_vehicle.zip https://www.virustotal.com/gui/file/b361c02e54f4bc137064c5b546d2933637f9d9dcc5e7309cbee4c30952c4d84c