Jump to content

Recommended Posts

  • Honorable Member

This is the hidden content, please

Metin2 Download

This is the hidden content, please

Spoiler

051648black.PNG

051804mali.PNG

c++11 is enough.

 

 

Edited by Mali
  • Metin2 Dev 168
  • kekw 3
  • Not Good 1
  • Sad 1
  • Cry 1
  • Think 1
  • Confused 2
  • Scream 6
  • Good 28
  • muscle 1
  • Love 9
  • Love 71

 

Link to comment
https://metin2.dev/topic/28686-send-discord-message-from-server/
Share on other sites

  • Honorable Member
5 hours ago, ASIKOO said:

it gives me ideas!

Like automatic Guild rooms in the Discord server ?

Spoiler

every guild member will have the relative GUILDNAME role; if kicked in game, the member will lose the role automatically on discord too

 

  • Metin2 Dev 2
  • Good 4
  • Former Staff

Just a warning to those who really value their discord Account, this is seen as a User Bot, which is forbidden by discord and you will get you banned if you are out of luck (unless you are using a bot, which needs to be invited by the server owner)

Edited by .InyaProduction
  • Metin2 Dev 2
  • Honorable Member
8 hours ago, .InyaProduction said:

Just a warning to those who really value their discord Account, this is seen as a User Bot, which is forbidden by discord and you will get you banned if you are out of luck (unless you are using a bot, which needs to be invited by the server owner)

I also recommend using bot accounts.  It was just an example in the video. I have already added what needs to be done about the bot to the readme file.

Can you add that rule here? So other people can read it and find out what it is.

Edit: 

https://support.discord.com/hc/en-us/articles/115002192352-Automated-user-accounts-self-bots-

Edited by Mali
  • Metin2 Dev 1

 

I have this error :
 

error: 'condition_variable' in namespace 'std' does not name a type
  std::condition_variable cv_;


 

“𝓐𝓵𝓵 𝔀𝓮 𝓱𝓪𝓿𝓮 𝓽𝓸 𝓭𝓮𝓬𝓲𝓭𝓮 𝓲𝓼 𝔀𝓱𝓪𝓽 𝓽𝓸 𝓭𝓸 𝔀𝓲𝓽𝓱 𝓽𝓱𝓮 𝓽𝓲𝓶𝓮 𝓽𝓱𝓪𝓽 𝓲𝓼 𝓰𝓲𝓿𝓮𝓷 𝓾𝓼.” ~ 𝓖𝓪𝓷𝓭𝓪𝓵𝓯 𝓽𝓱𝓮 𝓖𝓻𝓮𝔂

  • Honorable Member
38 minutes ago, Jimmermania said:

I have this error :
 

error: 'condition_variable' in namespace 'std' does not name a type
  std::condition_variable cv_;


 

 

#include <condition_variable>

 

  • Metin2 Dev 1

 

14 hours ago, Mali said:

 

#include <condition_variable>

 

Thanks for your answer mate. 

 

Edited by Jimmermania

“𝓐𝓵𝓵 𝔀𝓮 𝓱𝓪𝓿𝓮 𝓽𝓸 𝓭𝓮𝓬𝓲𝓭𝓮 𝓲𝓼 𝔀𝓱𝓪𝓽 𝓽𝓸 𝓭𝓸 𝔀𝓲𝓽𝓱 𝓽𝓱𝓮 𝓽𝓲𝓶𝓮 𝓽𝓱𝓪𝓽 𝓲𝓼 𝓰𝓲𝓿𝓮𝓷 𝓾𝓼.” ~ 𝓖𝓪𝓷𝓭𝓪𝓵𝓯 𝓽𝓱𝓮 𝓖𝓻𝓮𝔂

  • Honorable Member

#Update: Private Message

This is the hidden content, please

Example(Tested with english proto):

You need: 

This is the hidden content, please
 (minimum: 3.10.5)

  • Metin2 Dev 56
  • Dislove 1
  • Good 10
  • Love 2
  • Love 18

 

  • 2 weeks later...

I'm getting a core crash after senting a message /discord .. the message is sent successfully but then the core crashes.

 

Im using windows files ? @ Mali

 

Expression __acrt_first_block == header

File....... \heap\debug_heap.cpp : Line 996 

 

  • Honorable Member
15 minutes ago, Kafa said:

Im using windows files ? @ Mali

 

:))))

only support for freebsd.

You have to deal with the mistakes you may make while installing the libraries on the windows server.

  • Metin2 Dev 1

 

Just now, Mali said:

Bro auto hunt is new meme which you did.

My message is not angry, I can't help with any errors you might make while installing libraries on windows.

Ok bro.. i think i meight messed up the compilation of cpr. Could you compile it for windows and sent it to me? Only if you have time. I'm sorry.

  • Cry 1
  • 1 month later...
  • 6 months later...
On 2/5/2022 at 9:11 AM, Mali said:

#Update: Private Message

This is the hidden content, please

Example(Tested with english proto):

You need: 

This is the hidden content, please
 (minimum: 3.10.5)

can you tell me where i can put this code in shop.cpp

#if defined(__BL_DISCORD_MESSAGE__)
		CDiscordManager::Instance().SendPrivateMessageText(EDiscordTokens::DISCORD_TOKEN_BOT_TS, 
			123456789123456789, "**%s** bought by: **%s**. You earn **%lu** yang.", item->GetName(), ch->GetName(), dwPrice);
#endif

 

  • Love 2
  • 3 weeks later...
  • 5 months later...

Thanks for the share!

I have a question: does it not support Latin characters? (I mean the "accented" characters here: á, é, ő, ű)

syserr:

SYSERR: Mar 30 10:45:24 :: __SendDiscordMessage: [json.exception.type_error.316] invalid UTF-8 byte at index 11: 0x73

 

Thank you for reply!

  • 5 months later...

Can u guys share the libcpr for bsd x64, i compiled a libcpr.a with VS 22 but for some reasone i get this error and i cant figure out how to fix it. i already install pkg cpr

Or the complet git with librarys etc 

Thanks

image.png?width=734&height=566

Edited by Metin2 Dev International
Core X - External 2 Internal
  • 1 year later...
On 9/15/2023 at 8:58 PM, Dominic. said:

Can u guys share the libcpr for bsd x64, i compiled a libcpr.a with VS 22 but for some reasone i get this error and i cant figure out how to fix it. i already install pkg cpr

Or the complet git with librarys etc 

Thanks

image.png?width=734&height=566

Same problem, my version freebsd 64 bits, but compilation 32bits and not have cpr-lib 32 bits
Can someone help me?

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.