v10networkscom / saltychat-fivem

FiveM implementation of Salty Chat (TeamSpeak 3 based Voice Plugin)
https://gaming.v10networks.com
GNU General Public License v3.0
70 stars 64 forks source link

saltyradio won't work #34

Closed ItzeMeeMario closed 3 years ago

ItzeMeeMario commented 3 years ago

3h So I installed Saltychat and a GCPhone for FiveM. Everything works fine except if I call someone and he accepts I cannot hear him because Saltychat did not unmute each other so we cannot hear the other person. And the Error is:

SCRIPT ERROR in reference call: System.NullReferenceException: Object reference not set to an instance of an object

void SaltyServer.VoiceManager.EstablishCall(int callerNetId, int partnerNetId) (@saltychat/SaltyServer.net.dll <- C:\Users\yanni\Desktop\SaltyChat + GCPhone + Hud[SaltyChat]\saltychat\SaltyServer\VoiceManager.cs:147) handler (@gcphone/server/server.lua:472)

Second Problem: I can open the radio go in a Channel and if I press Caps that Error comes

Error: https://prnt.sc/w3zz3x

ItzeMeeMario commented 3 years ago

I fixed it. It was a problem with one sync. U need to start it with Putty, not with the server.cfg With the command: screen bash /home/FiveM/server/run.sh +exec server.cfg +set onesync legacy

CTron28 commented 3 years ago

Hey, i am having the same issue. What does that mean to start it with Putty, not the server.cfg?

I have no server.cfg at all but starting the configure via fxmanifest. The talking person to person ingame works, but Telephone and Radio does not work. There is just no connection.

I tried to replace the Saltychat Folder by the default fresh download ( https://github.com/saltminede/saltychat-fivem ) and edited the config with my custom data but this one didnt work at all. Not only no telephone and radio, but also no talking for person nearby.

Then somehow i got the same issue with "void SaltyServer.VoiceManager.EstablishCall(int callerNetId, int partnerNetId) (@saltychat/SaltyServer.net.dll <- C:\Users\yanni\Desktop**SaltyChat + GCPhone + Hud[SaltyChat]**\saltychat\SaltyServer\VoiceManager.cs:147) handler (@gcphone/server/server.lua:472) "

I HAVE DOWNLOADED JUST THE SAME FOLDER and have the same issue. So please tell me. What does that mean to start it with Putty, not the server.cfg?

I have OneSync and tried so much. Hope you can help me somehow.

fx_version 'adamant'

game 'gta5'

ui_page 'NUI/SaltyWebSocket.html'

client_scripts {
    'SaltyClient/bin/Debug/SaltyClient.net.dll'
}

server_scripts {
    'SaltyServer/bin/Debug/netstandard2.0/SaltyServer.net.dll'
}

files {
    'NUI/SaltyWebSocket.html',
    'Newtonsoft.Json.dll',
}

exports {
    'SetPlayerAlive',

    'EstablishCall',
    'EndCall',

    'SetPlayerRadioSpeaker',
    'SetPlayerRadioChannel',
    'RemovePlayerRadioChannel',
    'SetRadioTowers'
}

VoiceEnabled 'true'
ServerUniqueIdentifier 'EMPTY'                                          -- Server UID: --
RequiredUpdateBranch ''                                         -- Nix --
MinimumPluginVersion ''                                         -- Nix --
SoundPack 'default'                                             -- Nix --
IngameChannelId 'EMPTY'                                             -- Channel ID --
IngameChannelPassword 'EMPTY'                                       -- Channel PW --
SwissChannelIds 'EMPTY'                                             -- Channel ID --        

@ItzeMeeMario
Where do i have to use this command "screen bash /home/FiveM/server/run.sh +exec server.cfg +set onesync legacy" ? Please help ..

KanaFumei commented 2 years ago

@CTron28 Did you fixed it? Same issue here...