Jump to content

probem with custom voice lines

Pending 0.5.2

jauski
jauski

Posted

hello i tried record custom voice lines using like meme clips etc and record them to rust trough soundpad to my mic and i got problem it records it nicely but when i replay it, i hear only end of the sound and i get errors or soemthng my f1 console.

I tried multiple different clips and most was around 2-5 and couple 2-9seconds and the error what i get is voice buffer is too large. i will put a image of that.

Coudl this be some code side i tryed solve this with my personal ai and he noticed and suspected this 

In the PlaySounds method, the code sends all VoiceData packets at once using a foreach loop over the Sounds list during a single server tick. This instantly floods and overflows the Rust client's voice buffer.

 Instead of sending all packets instantly in a single foreach loop, the packets could to be sent using a Coroutine with a small delay between each Send() call (for example, yield return new WaitForSeconds(0.06f);). This mimics natural microphone data transmission and prevents the client buffer from skipping the audio.

but ofcourse you know better

Thank you in advance

Näyttökuva 2026-06-26 203754.png

walkinrey

Posted

i'll take a look on that, i think devs made some changes in recent updates that may be related to that

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

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.