Giter Site home page Giter Site logo

Comments (9)

AvarianKnight avatar AvarianKnight commented on June 4, 2024

Hey, so first off the idea behind the 'updateRoutingBucket' export is for it to be called after you set the routing bucket in another resource.

So lets say if you're in esx_property and you change the players routing bucket then you would do the following code inside esx_property

SetPlayerRoutingBucket(src, routingBucket)
exports['pma-voice']:updateRoutingBucket(src)

Secondly, the max routing buckets is currently 0-63 (64 in total (this could be outdated, they did recently change routing buckets more)) so you couldn't do instance.host+2000 first off, as it would be out of bounds for the SetPlayerRoutingBucket, and secondly the server only makes 220~ channels (making more than 1000~ leads to the mumble server completely dying, don't recommend trying).

I'm not sure how they're still managing to talk between zones (as the offset is something along the lines of 31 + (0-63 * 2). I could understand if they're hearing each other if they're in one of the lower zones (which I'll release something here soon to hopefully fix it, if it is that).

from pma-voice.

bitlewis avatar bitlewis commented on June 4, 2024

Thanks for your input, I'll attempt to make it work with the routing buckets further and will report back.

Also thanks for the pointers towards the channels, I'll for sure look this up. This will restrict the amounts of radio channels we can use for sure.

from pma-voice.

AvarianKnight avatar AvarianKnight commented on June 4, 2024

Thanks for your input, I'll attempt to make it work with the routing buckets further and will report back.

Also thanks for the pointers towards the channels, I'll for sure look this up. This will restrict the amounts of radio channels we can use for sure.

Radio channels aren't done through the same system that voices are (voices are done through mumble channels, while radios are just setting a players volume override for them), you can have as many radios as you want and it wouldn't affect anything (To my understanding.)

from pma-voice.

bitlewis avatar bitlewis commented on June 4, 2024

Makes sense. I thought radios were tied to mumble channels.

Would you have any other ideas to implement instancing without voice across instances in the same location?

It was once possible using the two following natives:
NetworkSetVoiceChannel()
NetworkClearVoiceChannel()

However it appears that the sync from mumble/pmavoice overlaps this therefore you can speak to other players inside the instance.

from pma-voice.

AvarianKnight avatar AvarianKnight commented on June 4, 2024

The issue was that if they were in 1 routing bucket difference they could still hear each other (which should be fixed on the latest update).

from pma-voice.

bitlewis avatar bitlewis commented on June 4, 2024

Thanks for the info. I'll keep searching to figure how I can make players not hear each other inside instances outsides of buckets, otherwise might have to use them.

from pma-voice.

AvarianKnight avatar AvarianKnight commented on June 4, 2024

Thanks for the info. I'll keep searching to figure how I can make players not hear each other inside instances outsides of buckets, otherwise might have to use them.

Try the latest update and see if it works for you

from pma-voice.

AvarianKnight avatar AvarianKnight commented on June 4, 2024

Going to close this as there is no issue.

from pma-voice.

YisusOnDev avatar YisusOnDev commented on June 4, 2024

Hi, recently moving mumble-voip to pma-voice because pma' already support routing bucket "voice", but, i think i found a problem, when i enter an instance:

SetPlayerRoutingBucket(src, routingBucket)
exports['pma-voice']:updateRoutingBucket(src)

first join hear others but others doesn't hear the first who join. (Only tested with 2 persons.)

Maybe i'm using to high ids? (5 digits ids), cause with for exmaple id 5 its seems to work?

How much higher can i go with
exports['pma-voice']:updateRoutingBucket(src)?

Thanks

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.