Jxyme / simple-discord-rpc

Beautify your Discord profile with a fully customizable Discord Rich Presence, now with buttons.
34 stars 6 forks source link

RPC doesn't show up on other devices #15

Closed sneazy-ibo closed 2 years ago

sneazy-ibo commented 2 years ago

I used a vps tp run my status 24/7 and it worked flawless but it somehow only showup for me on my rdp and not on any other devices like my mobile although it worked before. Running it normally on my desktop still doesn't fix my issue. This is my config, I hope you can help me out.

ο»Ώ{
    "clientId": "~~censored~~",
    "rich_presence": {
        "details": "𖣂 πšœπš—πšŽπšŠπš£πš’.πš’πš‹πš˜ 𐀣 α΅’αΆ° ᢀᡍ α­£έ‰",
        "state": "β₯± πšπš’πš–πšŽ πšπš’πš•πš• πš—πšŠπš™ 'π–₯§'",
        "assets": {
            "largeImageText": "busy with school",
            "largeImageKey": "shabba",
            "smallImageText": "thighs for life β™‘",
            "smallImageKey": "sheesh"
        },
        "buttons": {
            "primary": {
                "label": "𓆩 β–Ή ˖𝐀𝐧𝐒𝐋𝐒𝐬𝐭.κ’·κ’¦ π“†ͺ",
                "url": "https://anilist.co/user/iboxqte/"
            },
            "secondary": {
                "label": "𓆩 β–Ή Λ–π‹π’π§π€π­π«πžπž.κ’·κ’¦ π“†ͺ",
                "url": "https://linktr.ee/sneazy.ibo"
            }
        },
        "timestamps": {
            "startTimestamp": null,
            "endTimestamp": 1652824800,
            "useTimer": true
        }
    }
}

Btw ignore the text lol

Jxyme commented 2 years ago

Deleted my previous comment to avoid confusion. I tested with the config you provided and the same thing happened.

The issue is with the following text ˖𝐀𝐧𝐒𝐋𝐒𝐬𝐭 and Λ–π‹π’π§π€π­π«πžπž used in the button labels. Removing/replacing these resolves it.

Please try the following config with these changes and let me know if it works for you too.

{
  "clientId": "~~censored~~",
  "rich_presence": {
    "details": "𖣂 πšœπš—πšŽπšŠπš£πš’.πš’πš‹πš˜ 𐀣 α΅’αΆ° ᢀᡍ α­£έ‰",
    "state": "β₯± πšπš’πš–πšŽ πšπš’πš•πš• πš—πšŠπš™ 'π–₯§'",
    "assets": {
      "largeImageText": "busy with school",
      "largeImageKey": "shabba",
      "smallImageText": "thighs for life β™‘",
      "smallImageKey": "sheesh"
    },
    "buttons": {
      "primary": {
        "label": "𓆩 β–Ή AniList.κ’·κ’¦ π“†ͺ",
        "url": "https://anilist.co/user/iboxqte"
      },
      "secondary": {
        "label": "𓆩 β–Ή Linktree.κ’·κ’¦ π“†ͺ",
        "url": "https://linktr.ee/sneazy.ibo"
      }
    },
    "timestamps": {
      "startTimestamp": null,
      "endTimestamp": 1652824800,
      "useTimer": true
    }
  }
}
sneazy-ibo commented 2 years ago

Tysm I already thought that I can't use it on a vps anymore, but it was really just bc of the font. Do you have a Idea why the font doesn't make it visible for users but just for you?

Jxyme commented 2 years ago

Tysm I already thought that I can't use it on a vps anymore, but it was really just bc of the font. Do you have a Idea why the font doesn't make it visible for users but just for you?

I logged what Discord receives and it appears to be the same, there's no errors or anything out of the ordinary with that font:

[DEBUG] [18/5/2022 | 10:50:57 UTC] Primary button label: "𓆩 β–Ή ˖𝐀𝐧𝐒𝐋𝐒𝐬𝐭.κ’·κ’¦ π“†ͺ"
[DEBUG] [18/5/2022 | 10:50:57 UTC] Secondary button label: "𓆩 β–Ή Λ–π‹π’π§π€π­π«πžπž.κ’·κ’¦ π“†ͺ"

Discord successfully applies the RPC.., though unfortunately I wasn't able to figure out why it's only displaying to your client.

sneazy-ibo commented 2 years ago

I see, well still thx for your information :)