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 #35

Closed GroofyTV closed 3 years ago

GroofyTV commented 3 years ago

Error invoking callback for event SaltyChat_IsSending: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at SaltyServer.RadioChannel.Send (SaltyServer.VoiceClient voiceClient, System.Boolean isSending) [0x0005f] in C:\Users\Timmy\Desktop\saltychat-fivem-master\saltychat\SaltyServer\Radio.cs:104 at SaltyServer.VoiceManager.OnSendingOnRadio (CitizenFX.Core.Player player, System.String radioChannelName, System.Boolean isSending) [0x00037] in C:\Users\Timmy\Desktop\saltychat-fivem-master\saltychat\SaltyServer\VoiceManager.cs:347 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in <4fffd39960df419684f9b9cb5ce46688>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00051] in <4fffd39960df419684f9b9cb5ce46688>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <4fffd39960df419684f9b9cb5ce46688>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <4fffd39960df419684f9b9cb5ce46688>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <4fffd39960df419684f9b9cb5ce46688>:0 at CitizenFX.Core.EventHandlerEntry.Invoke (System.String sourceString, System.Object[] args) [0x00064] in /src/code/client/clrcore/EventHandlerDictionary.cs:89

Tyron197 commented 3 years ago

Add me on Discord i will help you TYRON#0001

BlackFlash5 commented 3 years ago

As stated in the readme, this script only supports OneSync and a NullReferenceException in Radio.cs:104 is a common indicator for a non-OneSync server.