Jump to content

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

Pending 2.1.9

Tanki
Tanki

Posted

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

 

 

  • Administrator
Steenamaroo

Posted

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.

Tanki

Posted

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?

  • Administrator
Steenamaroo

Posted

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.

Tanki

Posted

Ok thanks for the information.

 

yes we have removed plugins to see if the server behaves better

  • Like 1
  • Administrator
Steenamaroo

Posted

Ok, hope that helps.
If the errors persist with a normal server load just ping me back here and I'll look into it.

  • Like 1
Tanki

Posted

You can close, I no longer manage the server in question so I couldn't tell you if this will happen again or not

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

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.