Jump to content

Failed to call hook 'OnTurretTarget'

Closed 1.0.0 1.0.2

Chit Show
Chit Show

Posted

Failed to call hook 'OnTurretTarget' on plugin 'HeavyCargoShipEvent v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.HeavyCargoShipEvent.OnTurretTarget (AutoTurret turret, BaseCombatEntity entity) [0x00035] in <d57f38f3b9234b8c9bafd562522cc7f9>:0

at Oxide.Plugins.HeavyCargoShipEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009e2] in <d57f38f3b9234b8c9bafd562522cc7f9>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

 

On load spams console.

Cahnu

Posted

Hmm interesting. I haven't run into this myself. Can you download the newest version 1.0.1 and see if you are still running into this issue?  

Chit Show

Posted

Yeah, still getting it.

 

Failed to call hook 'OnTurretTarget' on plugin 'HeavyCargoShipEvent v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.HeavyCargoShipEvent.OnTurretTarget (AutoTurret turret, BaseCombatEntity entity) [0x00035] in <7259344a206443ec89ac8497b5837516>:0

at Oxide.Plugins.HeavyCargoShipEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a33] in <7259344a206443ec89ac8497b5837516>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Covfefe

Posted

same here 

Quote

Failed to call hook 'OnTurretTarget' on plugin 'HeavyCargoShipEvent v1.0.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.HeavyCargoShipEvent.OnTurretTarget (AutoTurret turret, BaseCombatEntity entity) [0x00035] in <80e207dc7569424fa5288bc385926486>:0 at Oxide.Plugins.HeavyCargoShipEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a33] in <80e207dc7569424fa5288bc385926486>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

Cahnu

Posted

This should now be fixed in the latest version. Please let me know if you still experience any issues after updating. 🙂

  • Like 1
Cahnu

Posted

Changed Fixed In to 1.0.2

Cahnu

Posted

Changed Status from Pending to Closed

Covfefe

Posted

I'm still getting it every once in a while and no one is even near the event

Quote

 

Failed to call hook 'OnTurretAuthorize' on plugin 'HeavyCargoShipEvent v1.0.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.HeavyCargoShipEvent+c__AnonStorey4.<>m__0 (BaseEntity x) [0x00000] in <7c35ef57301a43afb07554e8ca34fcb3>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Oxide.Plugins.HeavyCargoShipEvent.OnTurretAuthorize (AutoTurret turret, BasePlayer player) [0x0000d] in <7c35ef57301a43afb07554e8ca34fcb3>:0 at Oxide.Plugins.HeavyCargoShipEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a65] in <7c35ef57301a43afb07554e8ca34fcb3>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

Cahnu

Posted

This issue should be completely resolved as of now. Please let me know if you have any issues while running the current version 1.0.4

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

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.