• 🎉 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
259
63

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:
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,381
2
1,308
113
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.
 
Metin2Hub New World
Admin
Valuable
Premium
VIP
Metin2Hub Booster
Designer
Developer
Feb
Threads
154
952
4,233
93
Good job mate
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Director
Premium
Designer
Developer
Dec
Threads
109
187
3,044
93
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
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock