We have a Steam curator now. You should be following it. https://store.steampowered.com/curator/44994899-RPGHQ/
Chat client updated, if you have issues using chat press CTRL + SHIFT + R to force a hard refresh.

【 Userscript 】 HQ Chat » Avatars for IRC users

Game development hub. Projects, modding, and resources.

Moderator: Mod Janitor

Ignore Topic
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

【 Userscript 】 HQ Chat » Avatars for IRC users

Post by loregamer »

Userscript to add profile pics and "[irc]" to irc users
Image

📥Download
Last edited by loregamer on October 11th, 2025, 14:35, edited 10 times in total.
Jingle Jangle Jingle
User avatar
rusty_shackleford
Site Admin
Posts: 45468
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

Those avatar URLs aren't stable, you can use the URL with just the user ID to get a stable one e.g.,
download/file.php?avatar=87.jpg
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected]
Having trouble running an old Windows game?
Rusty's Stuff Collection
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

rusty_shackleford wrote: June 16th, 2024, 19:37
Those avatar URLs aren't stable, you can use the URL with just the user ID to get a stable one e.g.,
download/file.php?avatar=87.jpg
Cool cool. Any chance you could make it so I could fetch avatars with a username? Then I think I could make it so we don't have to just add to the array manually.
Jingle Jangle Jingle
User avatar
rusty_shackleford
Site Admin
Posts: 45468
Joined: Feb 2, '23
Gender: Watermelon

Geolocation

Adventurer's Guild

Post by rusty_shackleford »

loregamer wrote: June 16th, 2024, 19:40
rusty_shackleford wrote: June 16th, 2024, 19:37
Those avatar URLs aren't stable, you can use the URL with just the user ID to get a stable one e.g.,
download/file.php?avatar=87.jpg
Cool cool. Any chance you could make it so I could fetch avatars with a username? Then I think I could make it so we don't have to just add to the array manually.
Don't think there's any way to fetch usernames by user ID, off the top of my head anyways
Thank you for your attention to this matter!
Steam friend code: 40552640 https://steamcommunity.com/friends/add | email: [email protected]
Having trouble running an old Windows game?
Rusty's Stuff Collection
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

Added some more user PFPs and used the stable URLs
Jingle Jangle Jingle
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

loregamer wrote: June 16th, 2024, 19:35
Userscript to add profile pics and "[irc]" to irc users
Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.

Image

I couldn't get srcset working, though @rusty_shackleford. If it contains links that are invalid in srcset then it breaks for me
Jingle Jangle Jingle
User avatar
Shillitron
Posts: 3707
Joined: Feb 6, '23
Location: ADL Head Office

Geolocation

Post by Shillitron »

loregamer wrote: June 17th, 2024, 01:05
Alright script is finalized and should be safe from any avatar updates.
POAST IT
---
User avatar
Kalarion
Turtle
Turtle
Posts: 2163
Joined: Feb 2, '23

Geolocation

Adventurer's Guild

Post by Kalarion »

loregamer wrote: June 17th, 2024, 01:05
loregamer wrote: June 16th, 2024, 19:35
Userscript to add profile pics and "[irc]" to irc users
Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.

Image

I couldn't get srcset working, though @rusty_shackleford. If it contains links that are invalid in srcset then it breaks for me
This is rape.
. wrote:
Kalarion did this a lot better you know.
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

v2.0.1
  • Added icon to userscript
  • Added MIT license
  • Linked to github file for updates
📥Download
Jingle Jangle Jingle
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

v3.0
  • Added ability to set user avatar overrides
    Image
  • Fixed avatars not applying on DM sidebar


📥Download
Jingle Jangle Jingle
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

v4.0
Refactored the code to use util functions and a debouncer to make the script more performant
Last edited by loregamer on September 21st, 2024, 15:56, edited 2 times in total.
Jingle Jangle Jingle
User avatar
loregamer
Site Moderator
Posts: 5063
Joined: Dec 3, '23

Geolocation

Post by loregamer »

Rehosted on GitGud

📥Download
Jingle Jangle Jingle