[Release] Discord RPC

11/06/2020 21:04 R.Lothbrok#1
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

[*]Create a Discord Application:
-Go to the Discord Developer Portal.
-Click on New Application and give your application a name.

[*]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.
Code:
DiscordEventHandlers handlers;
Discord_Initialize("APPLICATION ID", &handlers, 1, nullptr);
-Write your game offsets here. (These for US patch 183)
Code:
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.
Code:
DiscordRichPresenceButton websiteButton = { .label = u8"Visit Website", .url = u8"https://your-website.com/" };
DiscordRichPresenceButton discordButton = { .label = u8"Join Discord", .url = u8"https://discord.com/invite/" };
[Only registered and activated users can see links. Click Here To Register...]
11/10/2020 16:54 [GM]Crypton#2
There is something that needs to be changed in addition to the id, because I added my settings, Rank, Character name and map is not displayed, and the class image also doesn’t display, I tried many times, nothing happened, there is something additional, or maybe problem is just me.
Thanks for launching this is great
11/10/2020 17:28 Elessar2#3
You should use here for images.
[Only registered and activated users can see links. Click Here To Register...]
You must find the correct addresses of your game.exe for it to work correctly.
[Only registered and activated users can see links. Click Here To Register...] - the correct address for ep5 classic exe
11/10/2020 17:31 [GM]Crypton#4
Quote:
Originally Posted by Elessar2 View Post
You should use here for images.
[Only registered and activated users can see links. Click Here To Register...]
You must find the correct addresses of your game.exe for it to work correctly.
[Only registered and activated users can see links. Click Here To Register...] - the correct address for ep5 classic exe
I already did it '' [Only registered and activated users can see links. Click Here To Register...] "
The previous version where I only displayed the character name works perfectly, I upgraded to that version and didn’t display anything, I use game.exe ep6 shen1
11/10/2020 20:05 R.Lothbrok#5
Quote:
Originally Posted by [GM]Crypton View Post
I already did it '' [Only registered and activated users can see links. Click Here To Register...] "
The previous version where I only displayed the character name works perfectly, I upgraded to that version and didn’t display anything, I use game.exe ep6 shen1
I think it's caused by Login check.Find your login check offset.

How to find ?

When you login character search byte 1
when you on character select screen search byte 0

I used this game.exe
11/11/2020 03:48 [GM]Crypton#6
Quote:
Originally Posted by R.Lothbrok View Post
I think it's caused by Login check.Find your login check offset.

How to find ?

When you login character search byte 1
when you on character select screen search byte 0

I used this game.exe
Your game.exe is a version of erick dutra, no one uses it on a server, it has several problems in this game.exe although shen1 is also bad and used by everyone.

I used this game.exe and I still have the same problem, I tried to use your code without modification using the original configuration made by you, and it only loads the logo and name, I executed it with my configuration and the problem of not displaying them continues, maybe the problem is me, but it doesn't work for me. maybe something is missing I'm not sure, thanks for help
12/30/2020 22:50 sukahn#7
Quote:
Originally Posted by R.Lothbrok View Post
Hello to all,

I would like to share latest version with you.

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Properties :
- Level
- Nick
- Map
- Class
- Kill
- Elapsed time in game

I would like to thanks to those who helped me improve discord rich presence.
- Cups
- ElessaR
- Freeze

Image :
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Can you do this for silkroad (vsro)?
06/24/2023 01:13 MorningstarV#8
anyone have the adress for shen1 game?
11/12/2023 17:39 [Uchiha]KayN#9
Quote:
Originally Posted by MorningstarV View Post
anyone have the adress for shen1 game?
Login 022AA81C
CharName 09144CE
MapID 090E2E0
Level 090D1E4
Job 0913473
Family 022AA816
Kill 022AAE3C
12/01/2023 20:03 arwekaj09#10
Nice!
12/08/2023 00:43 pentesting22#11
Excuse my ignorance, how would I install it, when creating an app on Discord, how would I upload your files?
12/17/2023 06:06 IamOdin#12
Quote:
Originally Posted by pentesting22 View Post
Excuse my ignorance, how would I install it, when creating an app on Discord, how would I upload your files?
you have to compress the code in visual studio and inject it into your game.exe