Jump to content
View in the app

A better way to browse. Learn more.

Shaiya.gg

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Discord RPC

Discord Rich Presence (RPC) allows you to display detailed information about your game or application on your Discord profile. This project provides a C++ DLL implementation for integrating Discord RPC.

 

What's New?

 

UTF-8 Labels Allowed

We've enhanced our system to support UTF-8 labels, allowing for a broader range of characters and symbols in your application. This ensures better internationalization and more expressive text options.

 

Buttons Added

Interactive buttons have been added to enrich user engagement. These buttons enable users to perform specific actions directly from their Discord profile, providing a more interactive and immersive experience.

 

What You Need To Use?

  1. Create a Discord Application:

[*]Navigate to Rich Presence:

  • Select your application.
  • Go to the Rich Presence section on the left menu.

[*]Upload Images:

  • Scroll down to the Rich Presence Assets section.
  • Upload your images (e.g., large and small icons). Examples in images folder.
  • Note the key names you give to these images as you will use them in your code.

[*]Edit Source:

  • Write your application id here.
     DiscordEventHandlers handlers;
    Discord_Initialize("APPLICATION ID", &handlers, 1, nullptr);


     
     

  • Write your game offsets here. (These for US patch 183)
    const char* charName = reinterpret_cast<char*>(0x868DBE);
    UINT16* level = reinterpret_cast<UINT16*>(0x8655F8);
    UINT16* mapId = reinterpret_cast<UINT16*>(0x8666C4);
    UINT8* job = reinterpret_cast<UINT8*>(0x867D92);
    UINT32* kill = reinterpret_cast<UINT32*>(0x21FDEFC);


     
     

  • Write your button content here.
    DiscordRichPresenceButton websiteButton = { .label = u8"Visit Website", .url = u8"https://your-website.com/" };
    DiscordRichPresenceButton discordButton = { .label = u8"Join Discord", .url = u8"https://discord.com/invite/" };


 

Source

Edited by Lothbrok

Featured Replies

No posts to show

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.