PainedPsyche / cui_character

An advanced character and clothes editor for esx framework that aims to be comfortable to use, hide complexity and blend in with original GTA V interface elements.
73 stars 48 forks source link

Clothes Issue #74

Open 0x80249fff opened 2 years ago

0x80249fff commented 2 years ago

Yesterday was everything fine. Today seems to be not working anymore? Is something changed?

There is no clothes to select everything else is working tho.

error1

After printing GetClothesData() function im getting emtpy table like this:

error2

myStoryRP commented 2 years ago

I also have this issue

hugoshao commented 2 years ago

I have the same problem, if know how to fix this, please let me know! thanks

gitSNAKEgit commented 2 years ago

Same issue here. Haven't touched this script in months and now clothing doesn't show up, either in character creation or clothing stores.

Nywarda commented 2 years ago

Hi, have you managed to fix it?

gitSNAKEgit commented 2 years ago

Not yet but, functions 'GetComponentDataFromHash' and 'GetPropDataFromHash' are both returning nil when they should be returning a table containing the clothing data, including the name of the item. Honestly I don't understand how these functions work.

SeaLife commented 2 years ago

Maybe something bricked by CFX? It worked on release-branch 3-4 days ago and it did not work on unstable.. Maybe they released this stuff now and bricked the release branch?

gitSNAKEgit commented 2 years ago

Yeah it looks like it. Which is a shame because this is an awesome script and I'd hate to have to use something else.

LostJ3ster commented 2 years ago

I made a pull request with a workaround for this. Instead of using the native, I'm accessing root-cause's repository with all the clothing information. Everything else stays the same. While my pull request is waiting for approval, feel free to use my fork.