Honorable Member Mali 42535 Posted October 10, 2019 Honorable Member Share Posted October 10, 2019 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is the hidden content, please Sign In or Sign Up ( GitHub ) Petit exemple. Juste une partie c ++: 34 1 7 24 Link to comment Share on other sites More sharing options...
Contributor MrQuin 6482 Posted October 10, 2019 Contributor Share Posted October 10, 2019 Very usefull to curse kids ingame. 3 My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19781 Posted October 10, 2019 Honorable Member Share Posted October 10, 2019 Cool idea Only the mute and the collective sending method are missing. For example: send a message to a person instead of everyone. Also mute that person who spamming all the time or something like that. 1 Link to comment Share on other sites More sharing options...
Honorable Member Mali 42535 Posted October 10, 2019 Author Honorable Member Share Posted October 10, 2019 35 minutes ago, xP3NG3Rx said: Cool idea Only the mute and the collective sending method are missing. For example: send a message to a person instead of everyone. Also mute that person who spamming all the time or something like that. Thank you I've added mute functions. like i said, this is just the c ++ side. Many things can be done with the python side. Quote send a message to a person instead of everyone An example is here for to one player: Spoiler ACMD(do_voice_chat) { char arg1[256], arg2[256]; two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2)); if (!*arg1 || !*arg2) { ch->ChatPacket(CHAT_TYPE_INFO, "Syntax: <name> <voiceid>"); return; } LPCHARACTER tch = CHARACTER_MANAGER::instance().FindPC(arg1); if (!tch) { ch->ChatPacket(CHAT_TYPE_INFO, "%s not exist", arg1); return; } int idx = 0; str_to_number(idx, arg2); idx--; if (idx < 0 || idx >= VoiceMessage::voiceinfo.size()) { ch->ChatPacket(CHAT_TYPE_INFO, "idx:%d , max size:%d", idx+1,VoiceMessage::voiceinfo.size()); return; } std::string mes = std::string(ch->GetName()) + "->[VOICE CHAT]:" + VoiceMessage::voiceinfo[idx].msg; tch->ChatPacket(CHAT_TYPE_COMMAND, "voicechat %s", VoiceMessage::voiceinfo[idx].dir.c_str()); tch->ChatPacket(CHAT_TYPE_INFO, mes.c_str()); } Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19781 Posted October 10, 2019 Honorable Member Share Posted October 10, 2019 (edited) I know that this is just the base of the system only, but there are many of users who would like to get "ready-to-eat" food if you know what I mean. Anyway I removed all of these command-line orders like /ride or /whatever already as webzen did, I prefer to make it via packet(s). If I'd implement this one I'd make it fit to my source how I'd like, that makes no problem to me, I already imagined a small extension on the party gui if you click on each members and/or on the board where you setup the exp distribution, possible to make it nice and user friendly. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 3 1 1 Link to comment Share on other sites More sharing options...
Premium ALEX ۩͇̿V͇̿I͇̿P͇̿۩ 20 Posted October 10, 2019 Premium Share Posted October 10, 2019 Well done Link to comment Share on other sites More sharing options...
glosteng4141 192 Posted October 11, 2019 Share Posted October 11, 2019 How do I record and send audio? The other party will listen to this. Just like whatsapp. the person will record the sound with the microphone and be sent to the other party. He's gonna listen to that voice on the other side. Link to comment Share on other sites More sharing options...
Honorable Member Mali 42535 Posted October 12, 2019 Author Honorable Member Share Posted October 12, 2019 (edited) v2: Z:Party X:Guild Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 3 Link to comment Share on other sites More sharing options...
Active Member Helia01 2160 Posted October 13, 2019 Active Member Share Posted October 13, 2019 I thought it was a real voice chat, and these are just sound commands. 1 1 Link to comment Share on other sites More sharing options...
r00t3r 67 Posted October 13, 2019 Share Posted October 13, 2019 is c++11 ? bcz i got some errors Link to comment Share on other sites More sharing options...
glosteng4141 192 Posted October 13, 2019 Share Posted October 13, 2019 On 10/11/2019 at 10:35 PM, glosteng4141 said: How do I record and send audio? The other party will listen to this. Just like whatsapp. the person will record the sound with the microphone and be sent to the other party. He's gonna listen to that voice on the other side. 1 Link to comment Share on other sites More sharing options...
Premium filipw1 1948 Posted October 14, 2019 Premium Share Posted October 14, 2019 Dnia 11.10.2019 o 21:35, glosteng4141 napisał: How do I record and send audio? The other party will listen to this. Just like whatsapp. the person will record the sound with the microphone and be sent to the other party. He's gonna listen to that voice on the other side. When I was in high school when teacher asked my class "how" we always answered as soon as possible . So yeah, as soon as possible 1 Link to comment Share on other sites More sharing options...
Recommended Posts