Jump to content

NRE with OnHammerHit

Can't Reproduce 3.0.0 3.0.1

(20:24:25) | [Oxide] 20:24 [Error] Failed to call hook 'OnHammerHit' on plugin 'BaseFixer v3.0.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BaseFixer.OnHammerHit (BasePlayer player, HitInfo info) [0x00090] in <9b7f202a52e0464192347ab7e479cdbd>:0 
  at Oxide.Plugins.BaseFixer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ae] in <9b7f202a52e0464192347ab7e479cdbd>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

 

  • Like 1

Share this comment


Link to comment

Unfortunately i can't myself. I'll need to talk to my players, but i'd have to assume they are either fixing or upgrading their buildings. But i will get a accurate answer soon.

  • Love 1

Share this comment


Link to comment

It looks like it is happening only when someone is using that gmod tool rather than a normal hammer. I'm also seeing this when they switch between any item and the gmod tool.

 

(22:47:38) | [Oxide] 22:47 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'BuildTools v1.5.18' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BuildTools.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x000c1] in <4fbc974de54441f5baa42741f53b94ad>:0 
  at Oxide.Plugins.BuildTools.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007a3] in <4fbc974de54441f5baa42741f53b94ad>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

 

  • Like 1

Share this comment


Link to comment

I've just ran a few tests using the gmod tool gun and it's working as expected. Only think I can make out is that it's a plugin conflict of some sorts.

Share this comment


Link to comment

Only other hammer plugin im using is Buildtools from Mevents. I think XPerience may too?

Edited by scarecr0w12
wrong plugin mentioned
  • Like 1

Share this comment


Link to comment

I'll try to look more into this issue further, if anything there will be an update if I find anything. I'm gonna mark this as cannot reproduce, but I'll continue to look at this. Thank you for bringing this to my attention.

Share this comment


Link to comment

Yeah i sent a support ticket to mevent for Build Tools as well. Im, sure its due to some conflict between the 2 (They are the only ones giving any NREs). so probably just something that needs to be added to have them work better together

 

  • Like 1

Share this comment


Link to comment

Still getting spammed by NRE's when someone uses teh Garrys mod tool to repair

 

(10:20:15) | [Oxide] 10:20 [Error] Failed to call hook 'OnHammerHit' on plugin 'BaseFixer v3.0.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BaseFixer.OnHammerHit (BasePlayer player, HitInfo info) [0x00084] in <357a76e391604c59a41de59b5cd55bc2>:0 
  at Oxide.Plugins.BaseFixer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ae] in <357a76e391604c59a41de59b5cd55bc2>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

 

  • Like 1

Share this comment


Link to comment

Still getting the NRE's, and its not the oxide version, i have it checked and updated automatically.

 

(17:35:28) | [Oxide] 17:35 [Error] Failed to call hook 'OnHammerHit' on plugin 'BaseFixer v3.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BaseFixer.OnHammerHit (BasePlayer player, HitInfo info) [0x00085] in <dfa7a24565bd45ac97f0aca0a4248d1d>:0 
  at Oxide.Plugins.BaseFixer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001ae] in <dfa7a24565bd45ac97f0aca0a4248d1d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

 

Share this comment


Link to comment

Sorry for the delay, I've still yet to encounter this issue myself. Neither have any of the other customers, I cannot recreate the issue as well. Unfortunately, I will not be able to solve this issue as it's most likely a plugin conflict. The plugin works as expected every time I've tested it, and haven't received any other support requests about this issue.

Share this comment


Link to comment

Well the issue is there, and yours is the only one out of the 120 plugins i have that is giving me any error like this, So i'd have to say the issue is with your plugin specifically.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

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.