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

error console #52

Closed yw1gara closed 3 years ago

yw1gara commented 3 years ago

Error invoking callback for event SaltyChat_Initialize: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Tried to access invalid entity: 180312 at CitizenFX.Core.ScriptContext.InvokeInternal (CitizenFX.Core.fxScriptContext cxt, System.UInt64 nativeIdentifier, CitizenFX.Core.IScriptHost scriptHost) [0x00025] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:358 at CitizenFX.Core.ScriptContext.Invoke (CitizenFX.Core.fxScriptContext cxt, System.UInt64 nativeIdentifier) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\ScriptContext.cs:322 at CitizenFX.Core.Native.API.InternalGetEntityType (System.Int32 entity) [0x00022] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:3752 at CitizenFX.Core.Native.API.GetEntityType (System.Int32 entity) [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\NativesServer.cs:3738 at CitizenFX.Core.Ped.FromPlayerHandle (System.String handle) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\Server\Ped.cs:23 at CitizenFX.Core.Player.get_Character () [0x00000] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\Server\ServerWrappers.cs:40 at SaltyServer.Util.GetPosition (CitizenFX.Core.Player player) [0x00001] in D:\saltychat\fivem\SaltyServer\Util.cs:13 at SaltyServer.VoiceManager.OnInitialize (CitizenFX.Core.Player player) [0x001e9] in D:\saltychat\fivem\SaltyServer\VoiceManager.cs:264 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0 Exception_EndOfInnerExceptionStack at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in :0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in :0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in :0 at CitizenFX.Core.EventHandlerEntry.Invoke (System.String sourceString, System.Object[] args) [0x00064] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\EventHandlerDictionary.cs:89

xPiwel commented 3 years ago

Do you have more details ?

When does this error occures ? Any action before getting it ? Is SaltyChat working on startup ?

May you provide full log of your FiveM Client & Server ?

yw1gara commented 3 years ago

Do you have more details ?

When does this error occures ? Any action before getting it ? Is SaltyChat working on startup ?

May you provide full log of your FiveM Client & Server ?

random time. i dont know when and why but it happen random time and so suddenly. i don't do anything before this issues occured Saltychat work fine after we restart our servers. maybe arround 2-3 hours after that, this issues occured

xPiwel commented 3 years ago

Do you have more details ? When does this error occures ? Any action before getting it ? Is SaltyChat working on startup ? May you provide full log of your FiveM Client & Server ?

random time. i dont know when and why but it happen random time and so suddenly. i don't do anything before this issues occured Saltychat work fine after we restart our servers. maybe arround 2-3 hours after that, this issues occured

Ok but if you do not / can not provide any repro / logs I can not help you. ^^

Could you provide more details ? What does not work when this error show on your console ? Can you reproduce this error by making a specific action ?

xPiwel commented 3 years ago

Think it can be closed as there's no response ? ^^

BlackFlash5 commented 3 years ago

This is a common issue with old artifacts. Reopen this issue if you have this issue with current artifacts, then i'll add a workaround for it.