lightphoenix2 / LPX

LPX for Rocket
5 stars 8 forks source link

Error. #7

Closed weespin closed 8 years ago

weespin commented 8 years ago
[Error] Error in MulticastDelegate PlayerUpdateStance: 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 LIGHT.LIGHT.OnPlayerUpdateStance (Rocket.Unturned.Player.UnturnedPlayer player, Byte stance) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at Rocket.Core.Extensions.MulticastDelegateExtension.TryInvoke (System.MulticastDelegate theDelegate, System.Object[] args) [0x00000] in <filename unknown>:0 

I'm having this error everytime.

weespin commented 8 years ago

Maybe becouse some players are using some special symbols?

lightphoenix2 commented 8 years ago

Its something related to entering and exiting the vehicle.

weespin commented 8 years ago

Okay, when player want to sit in the unbought car i will have this error in console. Thanks for resolving my problem.