Jump to content

Failed to call hook 'OnTurretTarget'

Closed 1.0.0 1.0.2

Chit Show

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.

Link to comment

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?  

Link to comment

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

Link to comment

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

 

Link to comment

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

  • Like 1
Link to comment

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

 

Link to comment

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

Link to comment
1.2m

Downloads

Total number of downloads.

6.1k

Customers

Total customers served.

90.3k

Files Sold

Total number of files sold.

1.8m

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.