hypherionmc / simple-rpc-public

Simple-RPC Issues, wiki and data github
https://www.curseforge.com/minecraft/mc-mods/simple-discord-rpc/
14 stars 1 forks source link

Can't get the image from %playerhead% variable #80

Closed westahdusiwii closed 5 months ago

westahdusiwii commented 10 months ago

Describe the bug No image in Rich Presence, if %playerhead% is set

To Reproduce Steps to reproduce the behavior:

  1. Set %playerhead% as any image
  2. Check Discord activity

Expected behavior Player head as image, I guess

Screenshots If set as smallImageKey: image If set as largeImageKey: image

Versions:

Additional context Firstly, I tried found a solution here and on a wiki, thought maybe I misspelled something, but didn't find any solution.

hypherionmc commented 10 months ago

That might just be an outage on the service we use for the playerheads. It's a thirdparty service, so we don't have control over it.

However, if this doesn't resolve itself during the day, please let me know so I can investigate further

westahdusiwii commented 10 months ago

Yeah, I get it. I'll comment if nothing changes

westahdusiwii commented 10 months ago

So, everything is the same by now. image

westahdusiwii commented 10 months ago

And here am I, once more. Idk, I tried everything already, checked the crafatar and other site to get my uuid. And they both working fine. Disabled all mods and still can't get the image. ;( image

hypherionmc commented 10 months ago

Hey. Sorry it's been a hectic week. I will check this out tomorrow after work.

I wonder if this isn't the old issue we've fixed a couple of releases ago that came back now, where the player name was formatted wrong, so it wouldn't show the avatar. It only affected a handful of players

westahdusiwii commented 10 months ago

Oh man, sorry to hear that. I'll be patiently waiting. (Maybe will figure something out myself) Good luck on work btw!

hypherionmc commented 9 months ago

So I finally got time to look into this.

Turns out, discord no longer likes cravatar (the service we use for heads).

When testing even with a direct link, the image doesn't load.

So looks like we're going to be changing to mc-heads.net, which does still work. Busy doing the code changes now for it

TheCatRiX commented 6 months ago

While waiting for the fix, I realized that we can just use https://mc-heads.net/avatar/%player%/64 instead of %playerhead%, it works fine.

hypherionmc commented 5 months ago

Should be properly fixed in the latest release