Giter Site home page Giter Site logo

Comments (25)

Legacy-TacticalGamingInteractive avatar Legacy-TacticalGamingInteractive commented on May 24, 2024

Its interesting.. Hmm.. This is an issue that I was sure pma-voice was attempting to fix in the first place

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Hey are you using native audio or 3d audio?

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Also can you provide the server version too?

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

Here is what I use:

setr voice_defaultCycle "M"
setr voice_enableUi 1

setr voice_useNativeAudio "true"

setr voice_use3dAudio "true"
setr voice_use2dAutio "false"
setr voice_useSendingRangeOnly "true"

setr voice_enableUi 1
setr voice_enableRadioSubmix 1
setr voice_defaultCycle "M"
setr voice_defaultRadio "CAPITAL"
setr voice_externalAddress ""
setr voice_externalPort ""
setr voice_debugMode 1

Probably, looking at it now, 3d audio and native audio cannot be used together, right ?
Server version is 3452

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

No, it shouldn't matter as the check for native audio is before 3d audio so if you enable both it'll automatically just be native.

Going to ask a redundant question, are you using the latest version (where channel precreation got re-enabled?

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

Yes, latest version with loop for creating channels, if you are referring to those.
As mentioned, voice channels are created:
image

But, as I can see, loop is for 1024 iterations, but I only can see max of 64. Or I am just stupid :D

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Weird, I wonder why it's not precreating the channels.

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

If it means anything, I created 1024 channels on the external murmur server, issues persisted even then...

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

With the debug on in the client logs are all of the players getting set to the proper channel?

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

Yes, players are moved to the correct channels for their position/grid and they are moved correctly around the map. Also if I enter channel I can hear them all saying "Can you hear me?" :D

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

Here is the video of grid and channel changing, if it helps
https://streamable.com/2nr0il

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Can't watch the video right now, it sounds a lot like the issue with NetwoekSetVoiceChannel or whatever it's called

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

If you are referring to that there is some other resource that is manipulating voice, I searched in ALL files here is the result:
image

"Nesreca" resource is turned off, gcphone, have it commented out since pma is used to connect and disconnect voice :D

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Not what I was referring to, was referring to a race condition that happens when you don't precreate channels. But you said you had the same issue with an external, so I really have no idea.

from pma-voice.

Legacy-TacticalGamingInteractive avatar Legacy-TacticalGamingInteractive commented on May 24, 2024

Are you running any other scripts n mods on your server? If its possible you should try removing some for now and see what happens if something is conflicting

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

Weird, I wonder why it's not precreating the channels.

Ignore previous reply, filtering was on, all channels are created, however, still only 64 channels at max are used, players are never moved to the rest of channels...

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Weird, I wonder why it's not precreating the channels.

Ignore previous reply, filtering was on, all channels are created, however, still only 64 channels at max are used, players are never moved to the rest of channels...

That's pretty usual, quite few are in the ocean. The rest of the channels only get used if you use routing buckets, as it offsets the channels.

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

Did any of them use the radio/phone with each other beforehand? If so do they have the same issue if they don't use the radio/phone before hand?

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

No, for example, if I restart server and shortly after starting it up, when I went to player, we can hear each other fine, but at some point, after minute or two, it just breaks, no longer able to hear each other, but character lips are moving and networkisplayertalkin is firing up. Issue occurs even while radio and phone is turned off as resource.

from pma-voice.

BennoArnautovic avatar BennoArnautovic commented on May 24, 2024

For now, setting native audio to false will fix this issue as mentioned on the discord.
I will try to find out why this happens on test server, if you need our live server to test anything, just ping me on discord. :D

from pma-voice.

Legacy-TacticalGamingInteractive avatar Legacy-TacticalGamingInteractive commented on May 24, 2024

You mean this is what fixes it for now? Is this confirmed to be working for more than 64?
This problem with people cutting out is the same problem we were having on our server too so I'm curious how to fix it.

setr voice_defaultCycle "M"
setr voice_enableUi 1

setr voice_useNativeAudio "false"

setr voice_use3dAudio "true"
setr voice_use2dAutio "false"
setr voice_useSendingRangeOnly "true"

setr voice_enableUi 1
setr voice_enableRadioSubmix 1
setr voice_defaultCycle "M"
setr voice_defaultRadio "CAPITAL"
setr voice_externalAddress ""
setr voice_externalPort ""
setr voice_debugMode 1

Also how does one use routing buckets
Forgive me I'm totally new to all of this

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

You mean this is what fixes it for now? Is this confirmed to be working for more than 64?
This problem with people cutting out is the same problem we were having on our server too so I'm curious how to fix it.

...

Also how does one use routing buckets
Forgive me I'm totally new to all of this

While yes, turning off native audio does fix the issue with voices, it doesn't help solve the problem. The main thing needed right now is some solid reproduction steps for how it happens.

Some possibly useful information would be:

  1. Does it happen if everyone stays in one area and doesn't swap grids (which triggers NetworkSetVoiceChannel).
  2. If there is no issue in that case, then if someone else comes in from a different grid do they have the issue?

Regarding routing buckets, there's no 'native' system currently, no other resource built to work with it. It's mainly for custom solutions that player want to use.

Main use is to use
exports['pma-voice']:updateRoutingBucket(source) or exports['pma-voice']:updateRoutingBucket(source, routingBucket)
The 'routingBucket' variable being an optional variable, if its set, instead of getting the players current routing bucket, it will set it to whatever number is provided which will offset it by 31 + (5 * routingBucket) channels (iirc).

Be careful setting this over 200~ currently as then it goes out of the 'precreated channels' which can result in times where you can't hear players around you when entering at the same time.

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

https://forum.cfx.re/t/difference-in-voip-recovery-between-nativeaudio-and-non-nativeaudio/2122338

from pma-voice.

Legacy-TacticalGamingInteractive avatar Legacy-TacticalGamingInteractive commented on May 24, 2024

voice_zoneRadius update is supposed to help with this as well?

from pma-voice.

AvarianKnight avatar AvarianKnight commented on May 24, 2024

No it's for a completely separate issue posted on matrix

from pma-voice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.