The OneSync EAP and you


#195

Do you have any voice distance change script? Like whisper etc? I noticed that that breaks voice, also if you loose voice, go into settings and then voice settings and turn it off and on again and it should start working again :slightly_smiling_face:
Works on our server :slightly_smiling_face:


#196

By ‘breaks’ you mean actually disconnect users from Mumble?

We do use: NetworkSetTalkerProximity(distance float)


#197

Here is also a silly workaround for the facial speaking animation which is not currently synchronized on onesync

Citizen.CreateThread(function()
    RequestAnimDict("facials@gen_male@variations@normal")
    RequestAnimDict("mp_facial")

    local talkingPlayers = {}
    while true do
        Citizen.Wait(300)

        for k,v in pairs(GetPlayers()) do
            local boolTalking = NetworkIsPlayerTalking(v)
            if v ~= PlayerId() then
                if boolTalking then
                    PlayFacialAnim(GetPlayerPed(v), "mic_chatter", "mp_facial")
                    talkingPlayers[v] = true
                elseif not boolTalking and talkingPlayers[v] then
                    PlayFacialAnim(GetPlayerPed(v), "mood_normal_1", "facials@gen_male@variations@normal")
                    talkingPlayers[v] = nil
                end
            end
        end
    end
end)

#198

Yes you can set it, but not change it during runtime, ye ours did the same as for you. I can show you what we have to make it work by not beeing global but not breaking when I’m home


#199

We have been using OneSync for a while now, it is quite stable but the server crashes from time to time. It kind of feels like about 60 players is the limit, but it has also crashed with about 50 People online. Another big problem ist the voice chat, if it works, it sounds great but when it isn’t working people sound like they’re talking into a toaster. They then need to deactivate their voice chat, close the menu and activate it again, then they sound normal. I haven’t been experiencing disconnects from the voice chat like @mickeygeecom so i can’t say anything to that problem.


#200

We won’t magically know what ‘crashes’ are, provide actual dumps.


#201

Please do.
If your on the Discord I am Gee#1337 there :blush:


#202

I added you, i send you a compy of our esx_voice that has been working perfectly for us, it’s nothing special, just took out the voice control, so you could only have one distance the default one. If you change voice distance during runtime voice breaks for everyone for us


#203

esx is badly optimized for onesync
and esx_voice is not compatible with the new voip

you should fix it yourself or move to another framework


#204

Ye, but our server runs fine with esx, actually no issues at all regarding esx. Yes esx_voice dosent working out of the box properly, what I was saying is that I was going to show him how we fixed our esx_voice to work with OneSync in our server. Yes we can’t change to shout or whisper etc but everything else in it works. It’s probebly easy to make shout and that to work, but we haven’t bothered with it


#205

Nice
I love drift


#206

We reach 64 players but the server crashes without errors is this cause OneSync and can we fix it maybe


#208

This could potentially be an issue with one of your resources. Have you tried with a ‘vanilla’ server, using the resources on the GitHub repository, then slowly add your custom resources and see if the problem persists. This may be an ineffective method so maybe start a few more than just one resource at a time. Also, make sure you’re on the latest server version.


#209

Hey
Okay I will Try it. We can play normally but sometimes its just crash


#210

Make sure you’re also on the latest server artifcat version.


#211

Okay, thx i will try it


#212

how can i sign up for the whitelist


#213

? what do you mean


#214

Open wide…


#215

I know patience