ChangeSkinX

ChangeSkinX

446k Downloads

Incorrect slim model encoding

Feerko opened this issue · 5 comments

commented

@games647 can you reopen it?
Ok i did it! It's works... But only for some skins and I don't know why.

For example I try with 10 random skins.

Doesn’t works:
70560
70561
70562
70564
70566
70567

Works:
70563
70565
70568
70569
70570

I don’t know why, there is an api:
http://api.mineskin.org/get/id/70560
http://api.mineskin.org/get/id/70563

My database:
zrzut ekranu 2017-11-21 o 22 51 20

commented

Maybe it's caused by slim model? It's werid because I created a condition for it.

commented

I think it's plugin issue because when I type /skin nameofalexskin i get skin only when i type /skinupdate

commented

Could you give me the output using the debug build again? I didn't tested slim models much, so there could be a bug on encoding it.

commented

Ok for example i try to set this skin: http://api.mineskin.org/get/id/70600

[17:58:26 INFO] [ChangeSkin]: Skin update for Feerko with eyJ0aW1lc3RhbXAiOjE1MTEyOTk2NTExNDcsInByb2ZpbGVJZCI6IjIzZjFhNTlmNDY5YjQzZGRiZGI1MzdiZmVjMTA0NzFmIiwicHJvZmlsZU5hbWUiOiIyODA3Iiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS81MGNkMjMyMDIyZTQ5MzJjNWNlNjdlOTYzZGY2OTJmNjVlMmM4ZWEzZDJmM2FkNTlkZWRlMzIzM2NhM2UiLCJtZXRhZGF0YSI6eyJtb2RlbCI6InNsaW0ifX19fQ== SkinModel{skinId=334, encodedValue=eyJ0aW1lc3RhbXAiOjE1MTEyOTk2NTExNDcsInByb2ZpbGVJZCI6IjIzZjFhNTlmNDY5YjQzZGRiZGI1MzdiZmVjMTA0NzFmIiwicHJvZmlsZU5hbWUiOiIyODA3Iiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS81MGNkMjMyMDIyZTQ5MzJjNWNlNjdlOTYzZGY2OTJmNjVlMmM4ZWEzZDJmM2FkNTlkZWRlMzIzM2NhM2UiLCJtZXRhZGF0YSI6eyJtb2RlbCI6InNsaW0ifX19fQ==, encodedSignature=l0I/Ff7hOAdIxP3zbnUHHbklTOPXEV0eSwGEqKf3T6R5spqOagsGZUHVe+3MDGiDJfnILxerT4dHFAZNfSGy7VGtUWHaECvg0rlj5WOIsUP+x95rWmRFSUtgRdau59QrVmR4L56aLHvzUUumD2JGfcjyDBdJIQXlmuTdbUPfWdlwtEYgG5tRtpvgvGZZer919mVSE3lOBGgJWEh/iJa34DYyVYKQb8fKTR25+VxpXxR1ooWvM0A2g+OcOTMXRwIJYm6Ntuz7cAfKfNabk3+vSVy/m+y/Gd71ptkuEC97a3FGV+0yVWBhFzsw5Ilsej9jF9jHWndNxrIIZHMlRt7H2zijsNE/PbY5rCBzBY3BtjHZgw9jFSI9WK0AX07CWQcsTbKZ05JA4sRz2m+Nqtoaj+GuWlEJnPOPhV9nZh7fBd2Qc/tMOvoa1R1eaGKLIs5zt/OFsCV5TZ7zg/1BFT5IssKXW5RyM5txQlOcWd6fO3OhY+LYyjmcIaSaceTVDh0p0n9XBK0EDDY7RHj/XngabOcV9xJTuQnF2q14dKp2CtyU6VlkY1tqmYG5EuebUGZS6L38XMtCrtY1LUJ4NMrjaz7fcLgzmiBmPH64AyRoQXLu5AL9xU5zNTc3S9pui65OHY10qfbf/wnZupfMfn14RSrkl5I5QufERhPeb3Qlg9w=, timestamp=1511299651147, profileId=23f1a59f-469b-43dd-bdb5-37bfec10471f, profileName=2807, signatureRequired=true, textures={SKIN=com.github.games647.changeskin.core.model.skin.TextureModel@1e14c95b}}

commented

Thanks, yes that was bug. The ordering of the url and the metadata were incorrect.