• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Adapt rpc discord system to yohara's system "Only for those who have the system"

Member
May
Threads
9
113
256
63
HubMoney
799

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Good morning community, a few days ago I considered how to make the discord rpc when a character reaches yohara level "Champion level" appear in the discord rpc, and last night after turning my head around and modifying the code a bit Here I bring it to you. I remember that this will only work for those people who have the yohara system.

The rpc discord system being used is Mali's "BlackDragon"

Hidden content
You need to reply to this thread in order to see this content.
Video of the code working both for a normal character, as well as for a character with champion level


[Level Normal Discord RPC]


[Conquerors Level Discord RPC]

 
Last edited by a moderator:
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,371
2
1,299
113
HubMoney
1,684
Good morning community, a few days ago I considered how to make the discord rpc when a character reaches yohara level "Champion level" appear in the discord rpc, and last night after turning my head around and modifying the code a bit Here I bring it to you. I remember that this will only work for those people who have the yohara system.

The rpc discord system being used is Mali's "BlackDragon"


Code:
We go to our UserInterface/Discord.h and look for the following line:

            sCharacterName += " - Normal Lv: " + std::to_string(CPythonPlayer::Instance().GetStatus(POINT_LEVEL));
            
We replace this line with the following:

        DWORD m_dwConquerorLevel;
        if (m_dwConquerorLevel)
            sCharacterName += " - Conqueror Lv: " + std::to_string(CPythonPlayer::Instance().GetStatus(POINT_CONQUEROR_LEVEL));
        else
            sCharacterName += " - Normal Lv: " + std::to_string(CPythonPlayer::Instance().GetStatus(POINT_LEVEL));

We save and compile.

Video of the code working both for a normal character, as well as for a character with champion level


[Level Normal Discord RPC]


[Conquerors Level Discord RPC]


Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Director
Premium
Designer
Developer
Dec
Threads
107
185
3,007
93
HubMoney
4,243
Good morning community, a few days ago I considered how to make the discord rpc when a character reaches yohara level "Champion level" appear in the discord rpc, and last night after turning my head around and modifying the code a bit Here I bring it to you. I remember that this will only work for those people who have the yohara system.

The rpc discord system being used is Mali's "BlackDragon"
[Gizli içerik]


Video of the code working both for a normal character, as well as for a character with champion level


[Level Normal Discord RPC]


[Conquerors Level Discord RPC]

thanks mate