Jump to content

Failed to call hook 'OnNpcTarget' on plugin 'BotSpawn v2.1.9'

Pending 2.1.9

Quote

 

(15:10:41) | Failed to call hook 'OnNpcTarget' on plugin 'BotSpawn v2.1.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.BotSpawn.OnNpcTarget (NPCPlayerApex npcPlayer, BaseEntity entity) [0x000d5] in <44c00a37b7c34597a210f11ae612c86e>:0

at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005a6] in <44c00a37b7c34597a210f11ae612c86e>:0

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

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

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

(15:10:42) | Failed to call hook 'OnNpcTarget' on plugin 'BotSpawn v2.1.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.BotSpawn.OnNpcTarget (NPCPlayerApex npcPlayer, BaseEntity entity) [0x000d5] in <44c00a37b7c34597a210f11ae612c86e>:0

at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005a6] in <44c00a37b7c34597a210f11ae612c86e>:0

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

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

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

 

 

Share this comment


Link to comment

Hi,

I'm not aware of any outstanding targeting hook issues.
Any chance you've borked the config or one of the data files?
 

If that is the case you should see errors more or less immediately if you reload the plugin.

Share this comment


Link to comment
Quote

Any chance you've borked the config or one of the data files?

no, all worked fine, just saw this error (spammed)

 

Il need to reload plugin for you?

Share this comment


Link to comment

I think, looking at those logs, your server's under way too much pressure.
It's possible there's an issue in BotSpawn targeting hook but I'm not getting other reports and it's a widely used plugin.

All the time warnings saying Calling 'X' on 'Y plugin' took average (over a second) are a pretty bad sign.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

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.