monsterqueen
Supporter
getting this error now and then in my server log.
InvalidCastException: Object must implement IConvertible.
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00040] in <f98723dd4586469db5213ec59da723ca>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <f98723dd4586469db5213ec59da723ca>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
at Oxide.Plugins.CustomHelicopterTiers2+FriendsUtil.GetFriendList (System.UInt64 playerId) [0x0000d] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+PlayerUtil.GetAllies (System.UInt64 playerId) [0x0001c] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+TieredHelicopterComponent.GetPreferredLockOnTarget () [0x00057] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+PatrolHelicopterAI_GenerateRandomDestination_Patch.Prefix (PatrolHelicopterAI __instance, System.Boolean forceMonument, UnityEngine.Vector3& __result) [0x00045] in <ab3f7adcf762418a9df07200dde98a93>:0
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PatrolHelicopterAI.GenerateRandomDestination_Patch2(PatrolHelicopterAI,bool)
at PatrolHelicopterAI.FindValidDestination (System.Int32 maxAttempts) [0x0004a] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.GetRandomPatrolDestination () [0x00000] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.State_Patrol_Enter () [0x00007] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.State_Idle_Think (System.Single timePassed) [0x00006] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.AIThink () [0x00048] in <a3148f13afc149549234be0c76bbd845>:0
at Oxide.Plugins.CustomHelicopterTiers2+PatrolHelicopterAI_Update_Patch.Prefix (PatrolHelicopterAI __instance) [0x0005a] in <ab3f7adcf762418a9df07200dde98a93>:0
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PatrolHelicopterAI.Update_Patch2(PatrolHelicopterAI)
InvalidCastException: Object must implement IConvertible.
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00040] in <f98723dd4586469db5213ec59da723ca>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <f98723dd4586469db5213ec59da723ca>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
at Oxide.Plugins.CustomHelicopterTiers2+FriendsUtil.GetFriendList (System.UInt64 playerId) [0x0000d] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+PlayerUtil.GetAllies (System.UInt64 playerId) [0x0001c] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+TieredHelicopterComponent.GetPreferredLockOnTarget () [0x00057] in <ab3f7adcf762418a9df07200dde98a93>:0
at Oxide.Plugins.CustomHelicopterTiers2+PatrolHelicopterAI_GenerateRandomDestination_Patch.Prefix (PatrolHelicopterAI __instance, System.Boolean forceMonument, UnityEngine.Vector3& __result) [0x00045] in <ab3f7adcf762418a9df07200dde98a93>:0
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PatrolHelicopterAI.GenerateRandomDestination_Patch2(PatrolHelicopterAI,bool)
at PatrolHelicopterAI.FindValidDestination (System.Int32 maxAttempts) [0x0004a] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.GetRandomPatrolDestination () [0x00000] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.State_Patrol_Enter () [0x00007] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.State_Idle_Think (System.Single timePassed) [0x00006] in <a3148f13afc149549234be0c76bbd845>:0
at PatrolHelicopterAI.AIThink () [0x00048] in <a3148f13afc149549234be0c76bbd845>:0
at Oxide.Plugins.CustomHelicopterTiers2+PatrolHelicopterAI_Update_Patch.Prefix (PatrolHelicopterAI __instance) [0x0005a] in <ab3f7adcf762418a9df07200dde98a93>:0
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PatrolHelicopterAI.Update_Patch2(PatrolHelicopterAI)