Jump to content

Failed to call Hook

Pending 1.0.26

m3dus4
m3dus4

Posted

 

Hi we get some Rcon Messages.

00:19 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'ItemPerks v1.0.26' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.ItemPerks.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00184] in <b749e1ddcacf4e54b28d253a9419b135>:0 
  at Oxide.Plugins.ItemPerks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0286b] in <b749e1ddcacf4e54b28d253a9419b135>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 


00:25 [Error] Failed to call hook 'GiveLegendaryCMD' on plugin 'ItemPerksLegendaryItems v1.0.5' (NullReferenceException: Object reference not set to an instance of an object)
  at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason) [0x0004c] in <194c814d6c8a49c3b6eb5270571eef80>:0 
  at Oxide.Plugins.ItemPerksLegendaryItems.GiveLegendaryCMD (ConsoleSystem+Arg arg) [0x0016e] in <3d463100b1d44ebe9e0b1bcb210ca189>:0 
  at Oxide.Plugins.ItemPerksLegendaryItems.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00c7f] in <3d463100b1d44ebe9e0b1bcb210ca189>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
00:25 [Warning] [DEBUG] Plugin compilation is already queued: CustomizableWeapons (0.023 ago)
 

grafik.png

  • Curator
imthenewguy

Posted

Any idea what's taking damage?

m3dus4

Posted

13 hours ago, imthenewguy said:

Any idea what's taking damage?

all npcs also animals, affected normal m2 or customss like 2x 3x

  • Curator
imthenewguy

Posted

Can you send me your config?

  • Curator
imthenewguy

Posted

It's not throwing errors for me with your config.

How do I replicate the errors?

m3dus4

Posted

so happends today again with 1 m2

grafik.png

  • Curator
imthenewguy

Posted

I can't replicate the issues. I can't get the errors to throw when testing.

Only thing  ican do is add additional null checks.

 

m3dus4

Posted

letz give it a try 🙂

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

137.6k

Files Sold

Total number of files sold.

2.9m

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.