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

gcphone error #38

Closed BonderosaAT closed 3 years ago

BonderosaAT commented 3 years ago

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:\FxServer\server\resources\saltychat\SaltyServer\VoiceManager.cs:147) handler (@gcphone/server/server.lua:472)

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:\FxServer\server\resources\saltychat\SaltyServer\VoiceManager.cs:147) handler (@gcphone/server/server.lua:472)

What can I do ? Is onesync required ?

BlackFlash5 commented 3 years ago

Quote from the readme: An example implementation of Salty Chat for FiveM OneSync and OneSync Infinity. So yes... OneSync is required...

You have to call the export with the net IDs of the players, the first player logging into the server would be e.g. 1, the second 2, etc.

Maurice037 commented 3 years ago

I have the same error but on my own phone the ids are correct and ascyn we use :(