altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

clothes error #2106

Open MenJiang997 opened 1 year ago

MenJiang997 commented 1 year ago

Description of the problem

after the v15 update, many clothes or props have changed, and some clothes in the dlc are no longer available, mask id 210 is traditional painted rabbit, now it has become another mask, after the update, there are many new clothes that cannot be used, very distressing.

Reproduction steps

setClothes(1, 210, 0) before the update, it was traditional painted rabbit. many clothes in the recent DLC are unavailable.

Expected behaviour

clothes with the same id changed after the update.

Additional context

No response

Operating system

Windows

Version

15.41

Crashdump ID

No response

Reproduction tested

BluePeer commented 1 year ago

https://github.com/altmp/altv-issues/issues/1717 best and easiest choice is to use for every DLC the setDLC not only for customs that works.

MenJiang997 commented 1 year ago

1717 最好和最简单的选择是将 setDLC 用于每个 DLC,而不仅仅是用于有效的海关。

Isn't there an easy way to fix this problem? Because of the current server situation, use setDLC will be very complicated and will also cause all players' costumes to be messed up.

BluePeer commented 1 year ago

you can write a scan script that scan all dlc for every model with setdlc (all values) a client callback to get the "native" setcloth value and change the DB entry to the new setdlc value

MenJiang997 commented 1 year ago

1717 best and easiest choice is to use for every DLC the setDLC not only for customs that works.

I noticed that only the clothes in the most recent DLC have errors.

BluePeer commented 1 year ago

the last 2-4 have that issues yes

MenJiang997 commented 1 year ago

you can write a scan script that scan all dlc for every model with setdlc (all values) a client callback to get the "native" setcloth value and change the DB entry to the new setdlc value

Is there any simple example? I have not tried this.

FabianTerhorst commented 1 year ago

Clothes setter should have the default gta behavior. You can verify if ped component variation native sets the same clothes.