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 47 forks source link

Recent FiveM client update broke GetComponentDataFromHash function #75

Open Jabelius opened 2 years ago

Jabelius commented 2 years ago

Native 0x74C0E2A57EC66760 was changed. More info here

Now almost every variation of clothing return nil and shows as undefined.

This may be thing for cfx.re to fix but just to know that this exists.

If someone here has fixed this it would be best to let others know too. I think that there is no easy way to fix this without changing the native.

boermansjo commented 2 years ago

When I have time (somewhere next week) I can look into to broken native. I hope they didn't change to much. This whole thing as no documentation...

SeaLife commented 2 years ago

Ouf, somewhere next week is probably a big issue. We probably need to switch to another character script then because no one can change their clothes currently and thats a major issue. :(

boermansjo commented 2 years ago

If I have time today. I will check it out. Should still have the whole debug function somewhere.

joe9099 commented 2 years ago

Also need to look into fixing this

SeaLife commented 2 years ago

Is there any progress on this?

bradleysixx commented 2 years ago

Hoping this gets fixed soon... This resource is so good, sad to see it vanish cause of FiveM's updates.

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.

Brads1 commented 1 year ago

[script:cui_character] SCRIPT ERROR: @cui_character/server/main.lua:311: attempt to concatenate a nil value (local 'url') [script:cui_character] > ref (@cui_character/server/main.lua:311) [script:cui_character] > TriggerServerCallback (@es_extended/server/functions.lua:172) [script:cui_character] > handler (@es_extended/server/common.lua:114) [ script:es_extended] SCRIPT ERROR: error object is not a string