Jump to content

Console Hook Errors

Work in Progress 0.5.2 0.5.3

Willy Wonka
Willy Wonka

Posted

Getting a ton of hook errors in console.  

Failed to call hook 'OnEntityKill' on plugin 'Contracts v0.5.2' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.Contracts.OnEntityKill_UntrackAttackers (BaseNetworkable instance) [0x00004] in <79ca645f60b548e68b5b7189a91ad17b>:0 
  at Oxide.Plugins.Contracts.OnEntityKill (BaseNetworkable instance) [0x00000] in <79ca645f60b548e68b5b7189a91ad17b>:0 
  at Oxide.Plugins.Contracts.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b9f] in <79ca645f60b548e68b5b7189a91ad17b>: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 <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

MaxiJonson

Posted

Hey sorry you're seeing this! I'll investigate it today. I already have a pretty good idea of why this might be happening, but if you have any more details regarding this, it could help, since I'm not seeing the same behavior on my Oxide production server. Things like:

- Framework: Oxide / Carbon
- Branch: Production / Staging
- What was killed?
- What quests were active? (this hook fires when Kill or Loot objectives are in rotation)

If you don't know the last 2, no problem, I should still be able to fix it. I'm just trying to understand why I'm not seeing it on my public server or any of my 4 test servers (Oxide/Carbon Production/Staging).

MaxiJonson

Posted

Just published version 0.5.3 to address the issue. Let me know if you still get the issue!

MaxiJonson

Posted

Changed Status from Pending to Work in Progress

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
11.2k
Customers served
Files Sold
160.4k
Total sales
Payments
3.5m
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.