Welcome to Metin2Resources

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

[C++/Py] Voice chat system

JIGSAW

Be the best, Ignore the rest.
Staff member
Administrator
Joined
Jul 14, 2025
Messages
91
Reaction score
208
Points
33
Discord
jigsaw86
### This version's features:
- Proximity chat (local)
- Guild chat (in-map)
- Party chat (in-map)
- Global/Master volume
- Per-speaker volume handling (with the ability to pin speakers at the top of the list)
- Configurable sampling frequency and channels
(I still recommend sticking to 32kHz and 1 channel because of packet sizes.)
- You can not speak over a channel unless hearing is also enabled
- Sound reduction to prevent loud sounds from blasting your ears
- Basic but functional sound detection to avoid unnecessary packets
- FLAC encoding/decoding to reduce packet sizes wherever possible
- ?? Fuck knows, I can't remember.


### Notes:
- M2's networking doesn't handle partial packets.
- You'll have to either:
- Disable `IMPROVED_PACKET_ENCRYPTION`, or
- Implement that part yourself(I won't help you with this, don't DM me.)

- Don't bother with pull requests, this repo was released out of necessity, it won't receive any updates.
- If you want to make changes, feel free to fork it.

- The system has been live for over a year on multiple servers and tested by thousands of users.
- If it doesn't work on your server, you did something wrong.


#### QFlags
- `/e voice_chat_disable 1/0` to enable/disable
- `/e voice_chat_hear_yourself 1/0` to be able to hear yourself(only on test_server)


### Technologies used:
- [Miniaudio - An audio playback and capture library for C and C++]( )
- [FLAC - Free losless audio codec]( )


All of my customers will receive an update with more features soon.
This version received its last update on `28.01.2025`
Good luck.
qovGPk9l.png

Download:
 

Latest posts

355Threads
753Messages
155Members
crivitLatest member
Back
Top