Jump to content

(NullReferenceException: Object reference not set to an instance of an object)

Closed 1.3.0

MichuX
MichuX

Posted

This is spamming on EVERY second on my console:

Failed to call hook 'OnCustomNpcTarget' on plugin 'Sputnik v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Sputnik+SputnikClass.IsSputnikAgressive () [0x0000f] in <c7ab2492c57048c0b571fd4cf2ede8a1>:0 
  at Oxide.Plugins.Sputnik.OnCustomNpcTarget (ScientistNPC npc, BasePlayer player) [0x0007c] in <c7ab2492c57048c0b571fd4cf2ede8a1>:0 
  at Oxide.Plugins.Sputnik.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001b6] in <c7ab2492c57048c0b571fd4cf2ede8a1>: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 <18d4f19bbc844191b11ed9e69284d09b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0 
Failed to call hook 'OnCustomNpcTarget' on plugin 'Sputnik v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Sputnik+SputnikClass.IsSputnikAgressive () [0x0000f] in <c7ab2492c57048c0b571fd4cf2ede8a1>:0 
  at Oxide.Plugins.Sputnik.OnCustomNpcTarget (ScientistNPC npc, BasePlayer player) [0x0007c] in <c7ab2492c57048c0b571fd4cf2ede8a1>:0 
  at Oxide.Plugins.Sputnik.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001b6] in <c7ab2492c57048c0b571fd4cf2ede8a1>: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 <18d4f19bbc844191b11ed9e69284d09b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0 

 

 

Adem

Posted

Changed Status from Pending to Work in Progress

Adem

Posted

The code has been completely rewritten, so I can't say 100% that this error is gone, but I think I got rid of it.

Adem

Posted

Changed Status from Work in Progress to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
10.9k
Customers served
Files Sold
157.5k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.