Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

if you run GetHumanoidDescriptionFromUserIdAsync on the server it caches the result (thus you can never load new avatars) but if you run it on the client it doesnt cache (letting you load new avatars)

10,891 Aufrufe • vor 3 Monaten •via X (Twitter)

11 Kommentare

Profilbild von Kohl
Kohlvor 3 Monaten

it caches? i had to build my own caching solution because it never cached for me, so you can see my old appearance for a split second when i spawn in

Profilbild von judicar
judicarvor 3 Monaten

Have you tried these methods?

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

oh actually i had no idea this existed this will probably work HOWEVER i have a seperate issue where if i serialize the humanoiddescription into a table and back (required cuz they dont replicate) the description it creates is malformed and it wont delete the old accessories

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

for some reason humanoiddescriptions created manually dont assign the Instance property of the AccessoryDescriptions it creates so it wont cleanup and u cant manually cleanup since itll throw this error

Profilbild von judicar
judicarvor 3 Monaten

you can manually clean up using this I think

Profilbild von judicar
judicarvor 3 Monaten

Worth checking this one out too

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

yeah i tried this it doesnt work

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

im being so fucking deadass i literally just replaced it with the broken code i had earlier and it suddenly works what the fuck

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

literally just using normal ApplyDescriptionAsync ???? why is it suddenly clearing accessories properly when it wasnt earlier bro wtf

Profilbild von Stellar
Stellarvor 3 Monaten

Sooooo... to get the latest avatars on the server, we should make a RemoteFunction, implement OnClientInvoke and trust the client? 🙂

Profilbild von :DecimalCubed://
:DecimalCubed://vor 3 Monaten

the server doesnt need the humanoiddescriptions i was just getting them there cause the alternative is doing it on the client which adds extra (should be unnecessary) shit for the client to deal with

Ähnliche Videos