Jump to content

Error after kill heli

Work in Progress 1.2.6 1.2.7

[Oxide] 11:48 [Error] Failed to call hook 'OnEntityKill' on plugin 'HeliSignals v1.2.3' (KeyNotFoundException: The given key 'patrolhelicopter[28085243]' was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <694551e795764b938030a3128fac2b36>:0 at Oxide.Plugins.HeliSignals.OnEntityKill (PatrolHelicopter heli) [0x000bd] in <efd387f524df464dbf06bf614ce07490>:0 at Oxide.Plugins.HeliSignals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005c2] in <efd387f524df464dbf06bf614ce07490>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0

Share this comment


Link to comment

[Oxide] 12:41 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'HeliSignals v1.2.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.HeliSignals.OnEntityTakeDamage (PatrolHelicopter heli, HitInfo info) [0x000a4] in <efd387f524df464dbf06bf614ce07490>:0 at Oxide.Plugins.HeliSignals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058a] in <efd387f524df464dbf06bf614ce07490>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0

Share this comment


Link to comment

Thanks, I will look into this. It would appear my plugin is trying to act on non Heli signal Helis. I’ll have a look into why, it shouldn’t.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.