Mods / RP Voice Chat
Author: Ridderrasmus
Side: Both
Created: Jul 1st 2023 at 8:37 PM
Last modified: Feb 28th at 6:14 PM
Downloads: 33687
Follow Unfollow 153
Latest file for v1.19.4:
rpvoicechat_2.3.9.zip
1-click install
RP Voice Chat
Shout at your enemies, talk with your friends, conspire with your allies.
This mod implements VOIP to allow people on a server together to chat in-game based on proximity.
BUG REPORTS OR FEATURE REQUESTS:
Please have a look at the issue tracker at the top of this page and put them there.
If a bug report has already been written about before then you shouldn't need to write another one.
It is the same with feature requests.
Usage:
To open the configuration menu you can press the keybind which by default is set to "P". Make sure to double check
the keybinds. They're under user interface and have the prefix "RPVoice".
You cycle between the following speech levels with a keybind defined in your settings.
These dictate how far your voice can be heard.
- Whispering: Reaches max 5 blocks
- Talking: Reaches max 15 blocks
- Shouting: Reaches max 25 blocks
The above distances can be set per world using chat commands. Using these commands require server control privileges.
The commands are all subcommands of "/rpvc" so just use "/help rpvc" and you should get more information.
IF YOU HAVE PROBLEMS REGARDING THE AUDIO THRESHOLD FOR VOICE ACTIVATION:
There is a mod config setting that you can modify to change the max threshold. This can either be decreased a small amount
in order to have more fine control over your threshold or increased to make sure that you only catch peaks of the input.
Likely different microphones will have a different best setting and the standard is currently set determined from our few testers.
FOR SERVER OWNERS:
As stated above the distances each speech level has, can be set in-game using commands.
Planned features:
- QoL as mentioned above
- Hud speech indicator
- Prox chat configuration menu
- Config files
- Configurable whispering, talking, and shouting distances
- Visual indicator of the amplitude of your audio in the configuration menu
- Deafening (Technically, since we have audio sliders now)
- Mute specific players (Technically with the player volume list)
- Support for linux and mac
- Potentially animations for when you're talking
- Audio effects
- Denoiser
- Muffling
- Reverb
- Something for being intoxicated
- Something for being temporally unstable
- Gameplay functions
- Soundproofing
- Bells
- Handbell (Item)
- Countertop bell (Block)
- Medium bell (Block)
- Large bell (Block)
- Wired comms devices
- Telegraph (Block)
- Stationary wired radio/telephone (Block)
- Radio station (Block)
- Wireless comms devices
- Handheld radio (Item)
- Stationary radio (block)
- It
- Listens from beyond
Librares used:
Concentus for opus audio encoding
RRNoise for audio denoising
Authors:
Ridderrasmus (code)
Purplep_ (art)
Nixie (sound)
Dmitry221060/Lazarius (code)
Blakdragan7 (code)
Massive thanks:
Kaofan (Polish translation)
Vlammar (French translation)
Nyuhnyash (Russian translation)
Kampftroll (German translation and community mod for streamer Otz)
And all of Otz's Vintage Story community for being my willing ginuea pigs while developing this mod
Donations:
If you want to donate to us you can use the donate button to donate a bit through ko-fi.
Please only donate if you have the excess to do so and want to give a little bit to us.
We don't work off of donations, the link is just there because it's a box on the mod page and we like coffee. 😝
NOTE:
Thank you very much everyone for the lovely words on how much the mod is appreciated.
Nothing makes me more interested in working more on the mod than the kind words people send our way.
Sadly however, life is very busy, and without a proper way to CI/CD automate mod uploads from a git repo updates can only come out on my own schedule.
Eventually I hope Tyron will be interested in the PR that Dmitry221060 made for this exact feature.
Until then, next update won't be released until the next major version.
(Or as the person I've spoken with in the discord knows, I get a PR on the mod github page handling voice cut off better and more effectively)
I just simply do not have the time to be very active anymore.
I spent half a year being very lucky that I could dedicate what equates to working hours on developing this mod and actually be paid for it. (a special kind of studies where I live don't worry about it)
It even helped secure me the job I'm at now. But that's exactly why everything has slowed down so much.
Hope that gives explanation enough and that people understand that real life comes first.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v2.3.9 | 15385 | Feb 28th at 6:14 PM | Show | rpvoicechat_2.3.9.zip | Install now | |
v2.3.8 | 2250 | Jan 28th at 1:41 PM | Show | rpvoicechat_2.3.8.zip | Install now | |
v2.3.7 | 2975 | Nov 24th 2023 at 12:59 AM | Show | rpvoicechat_2.3.7.zip | Install now | |
v2.3.6 | 424 | Nov 20th 2023 at 3:59 PM | Show | rpvoicechat_2.3.6.zip | Install now | |
v2.3.5 | 516 | Nov 14th 2023 at 5:21 PM | Show | rpvoicechat_2.3.5.zip | Install now | |
v2.3.4 | 367 | Nov 12th 2023 at 5:59 PM | Show | rpvoicechat_2.3.4.zip | Install now | |
v2.3.3 | 567 | Nov 9th 2023 at 3:22 PM | Show | rpvoicechat_2.3.3.zip | Install now | |
v2.3.2 | 652 | Nov 2nd 2023 at 12:44 PM | Show | rpvoicechat_2.3.2.zip | Install now | |
v2.3.1 | 342 | Oct 30th 2023 at 11:49 AM | Show | rpvoicechat_2.3.1.zip | Install now | |
v2.3.0 | 372 | Oct 24th 2023 at 7:02 AM | Show | rpvoicechat_2.3.0.zip | Install now | |
v2.2.2 | 2679 | Oct 10th 2023 at 1:47 PM | Show | rpvoicechat_2.2.2.zip | Install now | |
v2.2.1-dev.1 | 578 | Oct 5th 2023 at 3:54 PM | Show | rpvoicechat_2.2.1-dev.1.zip | Install now | |
v2.2.0 | 227 | Oct 3rd 2023 at 7:47 PM | Show | rpvoicechat_2.2.0.zip | Install now | |
v2.1.0 | 489 | Sep 29th 2023 at 1:56 PM | Show | rpvoicechat_2.1.0.zip | Install now | |
v2.0.2 | 808 | Sep 22nd 2023 at 7:41 AM | Show | rpvoicechat_2.0.2.zip | Install now | |
v2.0.1 | 438 | Sep 19th 2023 at 3:40 PM | Show | rpvoicechat_2.0.1.zip | Install now | |
v2.0.0 | 178 | Sep 19th 2023 at 6:37 AM | Show | rpvoicechat_2.0.0.zip | Install now | |
v1.5.2 | 206 | Nov 7th 2023 at 4:46 PM | Show | rpvoicechat_1.5.2.zip | Install now | |
v1.5.1 | 191 | Oct 31st 2023 at 4:58 PM | Show | rpvoicechat_1.5.1.zip | Install now | |
v1.5.0 | 235 | Oct 24th 2023 at 5:54 PM | Show | rpvoicechat_1.5.0.zip | Install now | |
v1.4.1 | 241 | Oct 10th 2023 at 1:44 PM | Show | rpvoicechat_1.4.1.zip | Install now | |
v1.4.0 | 131 | Oct 6th 2023 at 11:14 AM | Show | rpvoicechat_1.4.0.zip | Install now | |
v1.3.5 | 209 | Sep 19th 2023 at 6:35 AM | Show | rpvoicechat_1.3.5.zip | Install now | |
v1.3.4 | 236 | Sep 12th 2023 at 3:13 PM | Show | rpvoicechat_1.3.4.zip | Install now | |
v1.3.3 | 176 | Sep 10th 2023 at 10:55 AM | Show | rpvoicechat_1.3.3.zip | Install now | |
v1.3.2 | 231 | Sep 5th 2023 at 4:35 PM | Show | rpvoicechat_1.3.2.zip | Install now | |
v1.3.1 | 177 | Sep 3rd 2023 at 1:47 PM | Show | rpvoicechat_1.3.1.zip | Install now | |
v1.3.0 | 156 | Sep 3rd 2023 at 11:55 AM | Show | rpvoicechat_1.3.0.zip | Install now | |
v1.2.3-dev.1 | 234 | Aug 27th 2023 at 6:16 PM | Show | RPVoiceChat_1.2.3-dev.1.zip | Install now | |
v1.2.2 | 322 | Aug 24th 2023 at 7:22 PM | Show | rpvoicechat_1.2.2.zip | Install now | |
v1.2.1 | 169 | Aug 21st 2023 at 5:47 PM | Show | rpvoicechat_1.2.1.zip | Install now | |
v1.2.0 | 181 | Aug 18th 2023 at 4:09 PM | Show | rpvoicechat_v1.2.0.zip | Install now | |
v1.1.0 | 267 | Aug 5th 2023 at 8:27 PM | Show | rpvoicechat_v1.1.0.zip | Install now | |
v1.0.3 | 449 | Jul 17th 2023 at 5:20 AM | Show | rpvoicechat_v1.0.3.zip | Install now | |
v1.0.2 | 203 | Jul 13th 2023 at 11:53 AM | Show | rpvoicechat_v1.0.2.zip | Install now | |
v1.0.1 | 220 | Jul 9th 2023 at 9:33 PM | Show | rpvoicechat_v1.0.1.zip | Install now | |
v1.0.0 | 168 | Jul 8th 2023 at 1:29 PM | Show | rpvoicechat_v1.0.0.zip | Install now |
Do you intend to keep this mod updated?
Ridderrasmus
I completed the pt-br translation of this over on Crowdin.
Not sure if I'll use this, but with servers and the game being more accessible in my country, I guess it should be done. This is a great mod.
Any plans to update this to 1.19.8 or 1.20?
This mod is working wonderfully. I love how customizable it is. We're having a great time in the server, and it's so much smoother without a single Discord call creating endless crosstalk. Great work!
First I would like to thank you all immensely for making this mod. Proximity voice chat in games makes it a much more immersive experience, and it rocks to have it available in Vintage Story! Thanks a whole bunch for making it work with Linux, which is what I'm running on my main gaming rig 😍
I do however have some feedback. During our use of the mod, we found that in audio over distance decreases a bit, but suddenly it cuts off when you're "out of range". It makes more sense for it to be a soft transition, in stead of a noticeable cut-off. Giving the server more fine control over different audio settings would allow us to forge an experience befitting our needs.
Take Yelling for instance; Me and my group use it all the time to communicate whilst exploring. It works fine in practice (after we turned up the distance to 40 blocks), but it sounds like the speaker is right up in your ears pretty far out, before getting slightly more muffled near the max audible distance, and then at max it cuts off noticeably. If I could modify the experience, I would love to have yelling clearly audible for 30 blocks, before it starts to gradually fade out and become completely inaudible at 70 blocks.
I would have it fade out sharper at the beginning (25 blocks), and smooth out the curve over distance. So at 35 blocks it's maybe 60% volume, and 50 blocks 30%, 60 blocks 10% and finally inaudible at 70. I would love to experiment and tweak it, perhaps these number are wacko IDK, but you get the jist of it!
Similarly with talking, I would have it completely audible at 10 blocks, and fade out gradually at 20 blocks, but possibly still be barely audible up to 40 blocks away.
Again, thanks a bunch for the mod, it is highly appreciated! 😄
I'm not sure I understand installing a prox voice mod and not wanting it to be... on....
Loving this mod on my server with my friends and really looking forward to future updates, especially the wired/wireless comms stuff.
We attempted using this mod on our server running 1.19.8, voice was working but had a few major issues that lead to us removing the mod. Players were getting crashes and we did have an noticible increase in lag. Another big issue noted in our server was prox chat is on by default, which is a weird choice and a bit of a privacy concern. Love the idea, and we hope to see it updated for the next major release, and I would like to suggest to the author to not have prox chat on by defualt. (Or have a server config option, or let me know if there was an option and I missed it 😅)
Wonderful mod; thank you for making my RP experiences immersive and fun in the game. A must-have for any of my RP servers.
drong
Totally understand that. It was absolutely the intention to have better audio fade out but we got stuck focusing on making the actual networking work properly when that was a massive issue. So now I just haven't had the time nor energy to dive back into the audio engine. It's a beast and a half. 😅
As for the whisper, talking, and shouting distance, you can actually modify that! The post describes how to do so under the Usage heading. If you're more interested in setup options check out the github where you'll find setup and configurations in more depth.
JayTea
Church bell is actually planned to eventually also need to be hoisted up high and rung with a rope and such. Like Purplep mentioned though we wanted to get the first iteration out early because we were getting a little bit antsy.
It'll probably take some figuring out though. The welding truly is a bit of work and the functionality too. Like if you have to hoist it up high, should that be a process? Does that then mean you can't pick it up when welded? How would that then work?
A lot of interesting questions and problems to tackle but we did just want that massive audio range method of communication out there a bit early so people could play with it already. 😊
As for everybody else who's said stuff that I haven't directly responded to, thank you for taking an interest in the mod, work will be done on it as I have the time for it.
Please see the new section just over the comment section as for explanation and reasoning and thoughts about work on the mod for now.
In regards to bug reports here in the comments I appreciate and have read what people say here but if I forget... Bug reports go on the bug reports page... It's there I mainly check out what needs to be done in the immediate future on the mod.
I need you to understand that having to read the comments through every time I see that I have something on the modpage just in case there's a bug report there begins to get really tiring not to mention I actually get literal notifications on github.
The issue tracker on github also makes it so much easier both for you and for me so please just do that instead.
I really would love to use this mod for a server I wanna host, but I do not at all like how the audio just cuts off after a certain distance. I'd love if I could change the minimum volume you hear at max distance to 0% and I'd then personally up the 3rd option to 50m. that would be way mroe immersive.
The cutting of the audio really rips me out of the immersion sadly...
(Maybe I am overlooking a setting, but that seems unlikely)
I absolutely love the church bell addition to the mod. I would love if it can be rung via a rope at the bottom of a tower or have it set to ring at set intervals like they do in reality.
Purplep_
All right all right, just put info herte and there. I really like this mod, works fine in 1.19.3 hope one day in 1.19.5 :)
Thank you for your report CapnRis we will have a look at it at some point, rn the workings on the mod are a bit on hold because of life and such while the bell is also not the main focus😅
The bell is also very much still in WIP since we just wanted some of it done since it has been a massive project trying to get it to work with welding and such.
Also DejFidOFF the mod is really only been tested fully for vers. 1.19.4 so we arent sure what kinds of bugs pop up in .5.
Hopefully we can get it working in .5 at some point but as i said earlier progress on the mod is a bit slow rn.
Still tyvm for using the mod and reporting the bugs, if you put it into the issuetracker we have an easier time replying to the issues in full when we get time to work on the mod.
Ill let the busy auther guy know Ernie 😜 and also ty for enjoying the mod we have many features planned for when we get futher into development.
1.19.4, trying to construct the church bell, and it appears that it simply will not weld. I have the parts heated to 1100C, borax on the joints, and have tried wailing on it with multiple (steel) hammers on the central "block" where the hitbox appears to be, both the top and the sides, and it just sits there gently cooling. Swinging the hammer anywhere else also does nothing. I've tried with offhand holding tongs or empty, on natural ground and constructed blocks. Just not sure what I'm doing wrong, or if there's a bug getting in the way. I've even set up a weight on my mouse button to just keep sitting and banging on it from hot to cool and no change.
EDIT: On further testing it appears to be related to the multiplayer server it was being attempted on; placement of the bell parts by one player would not register for others.
in 1.19.5 causing crash instantly
"P" is keybind in chisel tools. Just saying.
I just want to say thank you for this mod. It works flawlessly on a little server I'm running for a few friends (at least the important voice part - church bell could use some work, ha!). I've previously used Mumble, which worked well, but having something directly in the game is amazing. I'm part of a quite large community of roleplay gamers and streamers, and good VOIP applications in games are incredibly important. Sadly, ones that just work rarely get the recognition they deserve because, like all good tools, the best ones get taken for granted. If there's a large RP event in Vintage Story in our community in the future, I will definitely be recommending this.
Ridderrasmus
XurxoMF, Austin
Hey hey, this was already reported on the issue tracker!
I'm about to release a fix for it here in a second.
Soundemittingitem not being registered is simply because a harmony patch breaks before the class can be registered.
Same error as Austin, I'll wait for a fix to update my world
Hey hey! Got a new crash as 1.19.4 rolled out. Verified that when RP Voice Chat is disabled, the world runs normally. This crash happens right after world load in single player.
Running on 64 bit Windows 10.0.22621.0 with 130906 MB RAM
Game Version: v1.19.4 (Stable)
2/28/2024 10:06:35 AM: Critical error occurred
Loaded Mods: aculinaryartillery@1.1.2, advancedsmithing@1.3.0, bedrespawner@1.0.0, betterdrifters@2.1.3, cairns11bigcairn@1.1.0, cavecontent@1.0.1, compass2@3.0.0, driedfirefuels@1.1.1, samsdungeonsremastered@1.0.0, everysoilunstable@1.0.0, fieldsofgold@2.1.6, fixedpaths@1.0.1, foundrymod@1.0.0, geoaddons@1.3.3, HumanSkinTones@0.0.3, leadroof@1.3.4, natshumanskin@1.0.0, pipeleaf@1.5.0, potontheshelf@1.0.0, qptech@1.14.3, rpvoicechat@2.3.8, ot_SticksFromFirewood@1.1.0, Swordz@1.19.3, thecritterpack@0.8.7, Vanilla_PlusWorldGen@1.3.3, game@1.19.4, WCE@1.0.0-dev.1, woodmallet@1.0.2, animationmanagerlib@0.6.3, beltcraft@1.0.0, blacksmithenhancements@1.0.4, butchering@1.4.4, carryon@1.7.4, claims@0.3.10, commonlib@2.3.2, cooperativecombat@1.1.1, expandedfoods@1.6.8, fieldsofsalt@1.2.0, flintchisel@1.0.2, freedomunits@1.1.2, fromgoldencombs@1.4.25, grassiergrass@1.0.0, herbarium@1.1.0, homesteader-class@0.0.1, hudclock@3.4.0, icecold@0.5.1, immersivewoodchopping@0.6.1, immersivewoodsawing@0.1.1, sailboat@1.2.7, kegrevival@1.0.3, lavoisier@1.3.0, medievalexpansion@3.13.1, NoSaturationLossDelay@1.1.3, petai@2.2.3, playerlist@1.7.3, rivers@2.7.0, simplecloth@1.0.2, simplestep@1.1.5, stillnecessaries@1.1.1, storageoptions@1.0.2, vinconomy@0.2.3, creative@1.19.4, vsinstruments@1.2.6, survival@1.19.4, workbenchexpansion@1.8.0, ageofconfession@1.3.1, metalrecovery@0.1.19-pre.1, awearablelight@1.1.1, bullseye@2.5.3, cats@2.0.1, chemistrylib@1.1.5, cavebeacons@1.0.8, tradercamps@1.1.2, em@2.5.0, extraoverlays@1.4.0, feverstonewilds@1.4.5, foxtaming@1.4.0, gespileslib@1.2.0, playercorpse@1.9.0, simplewinddirection@1.0.2, stonequarry@3.2.1, wildcraftfruit@1.1.0, wildcraftherb@0.0.0, wildcrafttree@1.1.0, wolftaming@2.1.0, bricklayers@2.5.0-pre.2, gespilesgran@1.0.1, tailorsdelight@1.3.0
System.Exception: Don't know how to instantiate item of class 'soundemittingitem' did you forget to register a mapping?
at Vintagestory.Common.ClassRegistry.CreateItem(String itemClass) in VintagestoryLib\Common\ClassRegistry.cs:line 274
at Vintagestory.Common.ItemTypeNet.ReadItemTypePacket(Packet_ItemType packet, IWorldAccessor world, ClassRegistry registry) in VintagestoryLib\Common\Network\ItemTypeNet.cs:line 195
at Vintagestory.Client.NoObf.ClientSystemStartup.PopulateItems(List`1 items, Int32 listSize) in VintagestoryLib\Client\Systems\Startup.cs:line 570
at Vintagestory.Client.NoObf.ClientSystemStartup.LoadItemTypes() in VintagestoryLib\Client\Systems\Startup.cs:line 388
at Vintagestory.Client.NoObf.ClientSystemStartup.HandleServerAssets_Step1() in VintagestoryLib\Client\Systems\Startup.cs:line 341
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Sounds like whatever "soundemittingitem" class was being called no longer exists maybe?
TheFirstChad
Ah right yeah we do use Harmony patching so it's likely broken during loading on your server there. It states Harmony isn't a thing for .net7 on that server and version yet. Nothing I can do there I'm afraid.
@Ridderrasmus
I have retested in Singleplayer with the same mods enabled (preeetty sure at least..). It works like you said it should. Onlything weird is that the Royal Horn emits it's sound where you pressed the button instead of following the player, but oh well.. whatever :D.
Maaaaybe it's got to do with the Server that we're using: https://wiki.vintagestory.at/index.php/Setting_up_a_Multiplayer_Server#Dedicated_Servers_on_ARM64
Link says, it's experimental. Mhh. Not sure if this is an error on your end or the Game then. Sadly, I don't have access to the log files myself.
Aynways.. thanks for your reply. :*
TheFirstChad
I admit I'm not exactly an expert guide writer 😅
The bell parts are meant to be right clicked onto each other like you do with the anvil. (While heated up, yes)
So you literally right click one part onto the ground then the center block (I know it's not exactly beautiful see next line) which is see through but you can see its bounding box you then right click the other similar parts onto that to build the layer.
Sadly hitboxes aren't amazing and I tried way too long to make it nice rather than just going with something functional and eventually gave up.
Had the hitboxes been as I imagined they would've added to the ease of figuring out how it worked.
I have just quickly jumped into my world to test out the heating, placing, and breaking of the churbell parts, layers, and the full thing itself and they seem fully functional for me so it'll most likely be a longer process to find the things that have been messed up for you.
So do me a favour and go onto the Issue Tracker at the top of the page and create a new issue according to the template for me so I've got all the information I can have to go off of. Otherwise I can't promise I can get to the bottom of your exact issue.
The royal horn you just right click to play same as the handbell. Should play a classic royal introduction/messenger sound.
Churchbell seems bugged as fuck on 1.19.3 . For the love of god, I have no idea how this thing is supposed to be constructed. Guide reads as if you're supposed to heat the brass parts, place 4 of them on the ground in a square and borax in between, buttttt: I cannot place them in a square, I cannot add borax and the worst of all: The parts are just destroyed and gone, if you try to break them. I'm pretty sure at least the last part is not intended. Tryed to place 4 parts of one layer in inventory with powdered borax in the corner as well - not working either. Sooo.. dunno. Is everything about this thing bugged or am I an idiot? :D
On the idiot note: Does the royal horn not do anything? I was looking forward to do some serious "tooting" :D
Amazing mod! Thanks for your hard work! Would love to see more in regards to sound dampening through blocks. For example, rock and soil dampening sound more than wood or glass.
Niceeeee 1.19!!!!!!!!!!!
Yup yup. Should get an update out today. Had a pretty big move and life happening very suddenly so had been without internet for a little over 2 weeks. (And 1.19 dropped in the middle of that period)
I mainly kept updates to the Discord forum post. Generally that's where you can get most up to date information.
Working on 1.19?
January is coming to an end. Waiting for news from the author
Will this mod be updated to 1.19?
Love the mod. Works great! Really looking forward to the wired and wireless comms. It'll be fun to set up communications networks. :D
Ridderrasmus
Thanks for the reply! Yeah, our friends tried the mod with the newest release candidate and it does indeed break. We love this mod so much (It reminds me of the old Radio in Ark) that we are waiting for this mod to work for the latest update before we upgrade, as it's just not the same without it. Thanks for this lovely mod!
Dmitri
Plans are to look into it during the break here between new years and christmas. I've no idea whether it breaks on the new RCs currently.
If it does then we'll wait with the new update until we get it fixed and release the update with 1.19 support. Most likely in the new year.
Merry christmas, happy holidays, and have a wonderful new year. ^_^
Does this mod work with the release candidate v1.19.0-rc.1? Or are there plans to support it?
Just wanted to say that it is one of the best mods I've ever used. It works great for me and my friends.
Whiteshadoh Make sure you are using the latest version of the mod, we use game's native networking since 2.3.4 which should be very stable. You can also get slightly better performance if you use dedicated server instead of opening singleplayer world for LAN/Internet. All networking runs in a separate thread from the base game so it is pretty much only constrained by your machine's resources and internet speed.
Yeah, sometimes we have problems with connectivity and I just wanted to see if I could place it on a secondary server to prevent the issues. Thank you for the reply.
Whiteshadoh You can not separate networking backend to a different machine, if that's what you are asking about. If your question is about something else - please clarify.
Simply downloading the mod and putting it inside your server's mods folder is all you need to make it work, just like with any other mod.
I'm assuming this will run better if I place it within its own server for my vintage story server. How would I go about doing this? Lazarius
IKira Glad you are enjoing the mod, feel free to report any issues and remember to keep the mod updated to get the best experience ^^
yep 3 - 8 seconds, we are using the mod on our server, just some small issues, great work man, if we get any new issues imma send with full logs and details
IKira What version of the mod are you using? We don't have any loading overhead since 2.3.4(Unless server owner explicitly enables custom network transports) and before that it can take at most 18 seconds if something goes horribly wrong, but shouldn't take longer than 3-8 on average.
Can you be more specific about those load issues? I would love to see your client-main and client-debug logs, if you can come to discord or GitHub I will be able to provide you more extensive guidance and support.
Looks like the mod makes the load time increase considerably, and some load issues too
BreakfastBuddy Try setting ServerIP in the mod config to same IP that you use to connect to your VS server (Don't forget the quotation marks, eg "ServerIP": "127.0.0.1").
If you can share server-debug log I may be able to suggest other solutions.
If you need more assistance with it, we have a mod page in the official VintageStory discord in the #mods channel, or you can message me directly: Dmitry221060#5365
UDP and TCP doesn't work through hosting service (bisect)
any way to fix this?
MarcAFK
UDP client times out after 3 seconds and only attempts to start if:
1. Server supports it
2. It can automatically forward UDP port
Right after UDP client fails to connect, CustomTCP is used. CustomTCP is expected to always work and can take at most 15 seconds to startup if something goes horribly wrong(5 attempts with 3s timeout).
What makes you think that mod startup halts loading for 2 minutes? Can you share the client-debug log? (Preferably in Discord or GitHub to not polute comment section and have more operative conversation)
A server I recently joined is using this and while waiting foir the mod to throw an error and default to TCP each player is basically stuck for 2 minutes before log in, could you add a config to allow it to default to TCP?
BrotherGeorge
Let's move the conversation into Discord or GitHub. We have a mod page in the official VintageStory discord in the #mods channel, or you can message me directly: Dmitry221060#5365
I'm trying to get this mod to work on a server I'm hosting with my friends but 2 of them can't get their input/mic to work. what should I try to do to give you more info to fix this? I made sure they had their default to the mic in the game and Windows
I also notice they eventually lose the ability to hear other people.
FasterThanYours
This is a port forwarding issue. You either have a private IP or/and are behind NAT so your machine can't host anything to the internet. This also would mean that you shouldn't be able to host a server for other players unless they are in the same local network as you.
If you can provide more context about your machine and the server you are trying to host then I can suggest you some solutions, but the mod is functional even without UDP and CustomTCP servers so this isn't critical.
1.18.15 UDP Launch error
26.10.2023 19:01:34 [Notification] [RPVoiceChat] Launching UDP server
26.10.2023 19:01:35 [Error] [RPVoiceChat] Failed to launch UDP server:
System.Exception: Server failed readiness probe. Aborting to prevent silent malfunction
at RPVoiceChat.Networking.UDPNetworkServer.VerifyServerReadiness() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkServer.cs:line 114
at RPVoiceChat.Networking.UDPNetworkServer.Launch() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkServer.cs:line 33
at RPVoiceChat.Server.GameServer.LaunchServer(INetworkServer server) in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Server\GameServer.cs:line 93
at RPVoiceChat.Server.GameServer.LaunchServers() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Server\GameServer.cs:line 77
26.10.2023 19:01:35 [Notification] [RPVoiceChat] Launching CustomTCP server
26.10.2023 19:01:36 [Error] [RPVoiceChat] Failed to launch CustomTCP server:
System.Exception: Server failed readiness probe. Aborting to prevent silent malfunction
at RPVoiceChat.Networking.TCPNetworkServer.VerifyServerReadiness() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Networking\TCPNetwork\TCPNetworkServer.cs:line 226
at RPVoiceChat.Networking.TCPNetworkServer.Launch() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Networking\TCPNetwork\TCPNetworkServer.cs:line 40
at RPVoiceChat.Server.GameServer.LaunchServer(INetworkServer server) in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Server\GameServer.cs:line 93
at RPVoiceChat.Server.GameServer.LaunchServers() in C:\Users\rata0001\source\repos\RPVoiceChat\RPVoiceChat\RPVoiceChat\src\Server\GameServer.cs:line 77
UPD: 2.2.1-dev.1 should fix the issue for Linux servers
1.18.14 update broke 2.1.0 and earlier versions of the mod for full game clients. 2.2.0 fixes the issue but breaks support for Linux Server(not Linux Client). We are working on solution right now, check this issue for more information and temporary workarounds.
cant seem to get this to work even when face to face neither me or my friend can hear each other
Rythillian
Yes. It uses Opus Audio Codec to compress speech to 39 kb/s (40000 b/s). Although usually Opus does a good job and goes even lower than that
Hey does the mod compress the voice chat? Mostly just worried about server bandwith usage.
Ridderrasmus Great news, the update fixed our problem! The audio works great. The only issue that we've found is that we have to turn down the "Audio Input Threshold" to 1 in order to get it to work.
Having an issue where I can't hear anyone but they can hear me. When I join the server and people are talking around me, I can hear for maybe 2 seconds and then it goes silent. Another player I know is having the exact same issue. Windows audio devices are set up properly for me, nothing is being changed around when I start the game.
ability for a client to adjust each other clients mic volumes would just be... chef's kiss XD some people are very quiet. probably a huge pain to create though.
Edit: As well as something to know who is speaking. like the player name to flash green or a mic symbol next to their name
Awesome work! We're loving it so far :D
Ridderrasmus
Polish version
pl.json
{
"item-handbell": "Dzwonek ręczny",
"item-royalhorn": "Królewski rożek",
"item-royalhornhandle": "Rękojeść królewskiego rożka",
"item-royalhornhead": "Głowica królewskiego rożka",
"item-handheldradio": "Radio przenośne",
"item-telegraphwire": "Drut telegraficzny",
"item-radiocase": "Pokrowiec na radio",
"itemdesc-handbell": "Mały dzwonek ręczny. Srebro dzwonka wydaje się mieć dziwny, fioletowy połysk...",
"block-callbell": "Dzwonek wezwania",
"blockdesc-callbell": "Mały dzwonek, który można dzwonić, aby kogoś wezwać."
}
FasterThanYours RogueRaiden
The upcoming release here within the next hour should fix both of your problems.
What would cause this to happen as soon as some talks when near someone? It crashes the server every time.
Game Version: v1.18.10 (Stable)
9/21/2023 9:48:12 PM: Critical error occurred
Loaded Mods:
System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
at RPVoiceChat.Networking.UDPNetworkBase.Listen(IPEndPoint ipendpoint, CancellationToken ct) in D:\VintageStoryModding\VSModding\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkBase.cs:line 136
at RPVoiceChat.Networking.UDPNetworkBase.<>c__DisplayClass20_0.<StartListening>b__0() in D:\VintageStoryModding\VSModding\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkBase.cs:line 120
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
@Kaofan
This is normal behavior. The mod expects server machine to have a public IP and a functional UPnP in order to open ports for UDP server. If it fails to do so it will fallback to using TCP and the mod will work completely fine.
Ridderrasmus
20.9.2023 01:38:40 [Server Error] [RPVoiceChat] Failed to launch UDP server:
Open.Nat.NatDeviceNotFoundException: Exception of type 'Open.Nat.NatDeviceNotFoundException' was thrown.
at Open.Nat.NatDiscoverer.DiscoverDeviceAsync(PortMapper portMapper, CancellationTokenSource cancellationTokenSource)
at RPVoiceChat.Networking.UDPNetworkBase.SetupUpnp(Int32 port) in D:\VintageStoryModding\VSModding\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkBase.cs:line 78
at RPVoiceChat.Networking.UDPNetworkServer.Launch() in D:\VintageStoryModding\VSModding\RPVoiceChat\RPVoiceChat\src\Networking\UDPNetwork\UDPNetworkServer.cs:line 26
at RPVoiceChat.Server.GameServer.Launch() in D:\VintageStoryModding\VSModding\RPVoiceChat\RPVoiceChat\src\Server\GameServer.cs:line 39
after disconnecting from my server with RPVoiceChat then closing the game, the game process never fully closes. trying to launch again says it cant cause another instance is running. so i tested by loading into single player with only RPVoiceChat and still, game never fully closes the process after quitting the game.
im using Windows 10
Vintage 1.18.12
RPVoiceChat 2.0.1
Ridderrasmus
error
19.9.2023 13:03:22 [Server Error] [rpvoicechat] Exception thrown when attempting to retrieve all types of the assembly OpenTK.Audio.OpenAL, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Vintagestory.Common.ModContainer.GetModSystems(Assembly assembly) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModContainer.cs:line 518
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null', InnerException: . Will ignore asssembly. Loader exceptions:
19.9.2023 13:03:22 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'
19.9.2023 13:03:22 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'OpenTK.Mathematics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'
But it works
Heeeeeeeeeeeey, new version!!
Kaofan
We do not support 1.18.10 yet. This should be fairly clear at various points on the mod page and everywhere else it is posted. Although it is in the works.
Ridderrasmus
There is an error. Game and Server version 1.18.10
14.9.2023 13:38:17 [Server Error] [rpvoicechat] Exception thrown when attempting to retrieve all types of the assembly RPVoiceChat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Vintagestory.Common.ModContainer.GetModSystems(Assembly assembly) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModContainer.cs:line 518
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4', InnerException: . Will ignore asssembly. Loader exceptions:
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] System.IO.FileNotFoundException: Could not load file or assembly 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'. The system cannot find the file specified.
File name: 'OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4'
14.9.2023 13:38:17 [Server Error] [rpvoicechat] An exception was thrown when trying to load assembly:
System.Exception: /home/container/Mods/RP Voice Chat/RPVoiceChat.dll, /home/container/Mods/RP Voice Chat/Concentus.dll declared as code mod, but there are no .dll files that contain at least one ModSystem or has a ModInfo attribute
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModContainer.cs:line 455
We now have audio encodding! Also next version will be up in a week and should finally introduce support for the latest versions of the game, wooo!
gg
WOO new update!!
Cant wait for the currenrt Vs Version
Rythillian As soon as we have a solid and stable mod for 1.18.6 I'll probably start converting the mod over to the newest version of the game. My biggest focus for this however is getting it usable for the server we are planning to use it for and they're still on version 1.18.6 right now. But it's coming eventually! 😉
Looking forward to a net7 version of this!
Looking into this issue at this very moment. ^_^
Hey, I'm having an issue with this on my hosted server. Completely new to the game so I might be doing something dumb, anyways, the issue is that the host can't be heard or use voice chat in any capacity, the icon in the bottom right does not appear or anything. We have tried multiple different hosts and it is always the one hosting that it doesn't work for. The host can still open the settings menu for the mod but nothing else.
Very excited to see the new release, keep up the great work guys!
The audio system is undergoing a fairly big rewrite right now. It may give support for Linux but we're still having trouble with Mac. It should also give some big performance improvements. Basically we're nearing something that may be called decently stable. This is all thanks to Blakdragan7 who's been lending his expertise basically while I've been super busy with studies starting up. So make sure to show him some love!
Yeah that warning shouldn't be a problem. I'll have to look further into this issue. I've had a bit of a break over the last couple of days but I'm looking into this now.
Installed on server. Launched it and didn't get any errors, yet it doesn't work for some reason for me. When I talk, the icon appears in a bottom right corner, but other clients cannot hear nothing. I'm on Stable 1.18.6 version of a game.
The only message I get is that-one: [Warning] [rpvoicechat] Dependency 'game': Failed parsing version string '*' at index 0: Expected MAJOR version number, found '*' (best guess: 0.0.0)
But I assume that it should not have any effect on a performance.
I'm not going to test the mod for older game versions but it shouldn't be version limited in the modinfo file so you could try it out yourself. Not sure if setting compatible game versions here on the modDB is required as well. If it is let me know and I'll change the version on here so it that won't cause any issues.
1.18.1 ?
It is indeed VOIP. That's why the mod requires use of a separate port for a different kind of network traffic, why it currently might not work on OS's other than Windows, and why reverb, denoising, and better muffling is on the planned features list.
But I'll make sure to clarify through a small description of what the mod essentially does. That should clear it up entirely. 🙂
For the sake of clarification, does this mod allow us to use a Mic for VOIP, or is it tied into Text Chat? The description seems a bit Vague, despite literally stating Voice Chat in the name.
I don't know how the modtools work or codding/modding in general although I would like to learn, but as long as it works for the stable release, I don't think I can ask for more. The problem I am having is not directly related to your mod, but rather to the decision made by another modder to only support the .net7 build going forward. I was able to find a workaround for my issue by using an older version of the mod. Also, I would like to thank you for creating this mod. Ive been waiting for one like it since I started playing. Keep up the good work!
Not atm, as I haven't even had the chance to mess with the .net7 build myself. I'll have to do some testing on it today. I'll update this message with what I find out.
EDIT: So seems like I won't be able to get this to work. Got something to do with the project setup that'll need to change and until the modtools are updated I can't support the unstable version sadly.
It doesn't seem to work with the .net7 build server side but the client side seems to work aka I can open the gui. Is there a workaround for this?
Plans for the next update is the hud speech indicator which I've already finished (art thanks to Purplep_), the last additions to the configuration menu which is also done, and then config files to save settings properly so you don't have to redo them every time you launch anymore. This update will likely release either tomorrow or the 14th.
Super excited to add this to Knerd Story server once its a little more stable! I've been hoping someone would do this mod for a while! Keep up the good work.
Thank you Ridder, very cool!
I somehow borked the first release. Have a new one that should be fixed free of charge.
wow! I want to try this out on my server