Jump to content

On Entity Take Damage

Closed 1.4.13 1.5.0

LizardMods
LizardMods

Posted

I don't think Skilled Tree likes the Barrelless scientist. I found this in my server console today.

 

[Barrelless] Kit for BarrelScientist lesa[1240847] succesfully equiped.
Failed to call hook 'OnEntityTakeDamage' on plugin 'SkillTree v1.4.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x00d74] in <08a5befe0c474768bf20e84fe4d88573>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x05992] in <08a5befe0c474768bf20e84fe4d88573>: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 <cd7231f30b444d86bc6cca8a53cdd2ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0 

 

The Friendly Chap

Posted

(01:16:34) | Failed to call hook 'OnEntityTakeDamage' on plugin 'SkillTree v1.4.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.AddItemsToBarrel (ItemDefinition itemDef, System.Int32 quantity, LootContainer entity) [0x00006] in <81cd592b6f8949279080b7b6dc00e23b>:0 
  at Oxide.Plugins.SkillTree.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x00ce6] in <81cd592b6f8949279080b7b6dc00e23b>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x05992] in <81cd592b6f8949279080b7b6dc00e23b>: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 <cd7231f30b444d86bc6cca8a53cdd2ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0

Getting this as well.

The Friendly Chap

Posted

And this : 
 

(01:00:44) | Failed to call hook 'OnEntityTakeDamage' on plugin 'SkillTree v1.4.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x00d74] in <81cd592b6f8949279080b7b6dc00e23b>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x05992] in <81cd592b6f8949279080b7b6dc00e23b>: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 <cd7231f30b444d86bc6cca8a53cdd2ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
(01:00:45) | Failed to call hook 'OnEntityTakeDamage' on plugin 'SkillTree v1.4.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x00d74] in <81cd592b6f8949279080b7b6dc00e23b>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x05992] in <81cd592b6f8949279080b7b6dc00e23b>: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 <cd7231f30b444d86bc6cca8a53cdd2ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0

 

imthenewguy

Posted

The second error may be related to an invalid item in config. I have added a failsafe to return if the item is null after creation.

The other direct call hooks MAY have been fixed in 1.5.0. It's available on my discord if you wanted early access.

imthenewguy

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.