Skins Restorer plugin
#4
(04-18-2021, 01:43 PM)12xx12 Wrote: I think in the end it comes down to those lines

Yes, on the Skin Restorer's side. I meant how the skin is updated in Cuberite.

I actually looked around Cuberite's code a bit more and it seems to come down to here, but I'm not 100% sure if you can just set that value to any already-joined cPlayer.

I would have to (and might later, just for curiosity's sake) print the a_Properties variable to see how the skin data is structured.  Smile

Keep in mind that Skins Restorer also does some trickery to actually refresh the player's skin for other players, which seems to be quickly making them invisible and then visible again but I'm not sure if that's all that is needed to make it work.

Also I'm not sure what this does, and if it's needed at all (I'm guessing it is).
Reply
Thanks given by:


Messages In This Thread
Skins Restorer plugin - by NightVoid - 04-18-2021, 05:12 AM
RE: Skins Restorer plugin - by HeCorr - 04-18-2021, 08:20 AM
RE: Skins Restorer plugin - by 12xx12 - 04-18-2021, 01:43 PM
RE: Skins Restorer plugin - by HeCorr - 04-19-2021, 12:06 AM
RE: Skins Restorer plugin - by 12xx12 - 04-19-2021, 12:33 AM
RE: Skins Restorer plugin - by HeCorr - 04-19-2021, 01:43 AM



Users browsing this thread: 4 Guest(s)