MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

[Bug] Skindex Url Not Working? #172

Closed andrew33345 closed 6 months ago

andrew33345 commented 6 months ago

I don't know if it is a cache or just the website, but I have been using the 'Skin URL' so that way everyone can see the skin. I have been mainly using Skindex for the skin URLs because of its wide variety. I have about 20ish npcs in my world all working fine with the skindex URLs. But up until a couple days ago, the URL function quit working if it was from skindex. Every other skin website works fine with no problems. But when I use skindex it leaves the npc's texture default (Steve Or Alex In My Case)

I attempted to see if it was the world, so I created another world and tried importing a skindex url and got the same results. Nothing. Its a specific and strange problem, and I don't know how else to go about it.

(And of course, I have tried resetting the client several times, waited a couple days to see if it was a potential website outage, but no change.) This problem is frustrating because skindex is the most user-friendly and versatile skin website I can find. If anyone has a fix please let me know. Thank You!

MarkusBordihn commented 6 months ago

Thanks for the report. Please enable the debug mode and check your client logs: https://github.com/MarkusBordihn/BOs-Easy-NPC/wiki/Debugging

The log file will give you more details why the image could not be downloaded from a specific URL. In some cases web-page protection like CloudFlare or "I'm not a robot" checks are responsible for something like this.

If this is the case, there is not really something I could do in this case, because the request is coming from the game which is not really consider as a browser and more like robot.

andrew33345 commented 6 months ago

I checked my logs and it says "forbidden"

Heres The Log: [27Apr2024 03:42:08.107] [Render thread/ERROR] [Easy NPC/]: [Texture Manager] Unable to load texture from URL https://www.minecraftskins.com/uploads/skins/2024/04/19/duck---updated-22482435.png?v637 because of: Forbidden [27Apr2024 03:42:11.886] [Render thread/ERROR] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Signature is missing from textures payload I dont know if thats enough information, but all I know is that everything worked fine with it before. Thank You,

MarkusBordihn commented 6 months ago

Thanks for the feedback. "Forbidden" means that the web page itself is blocking the request, see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

It could be that they have allowed such requests before without any limitations and recently added a limitation.