Jump to content

NRE with OnHammerHit

Can't Reproduce 3.0.0 3.0.1

scarecr0w12
scarecr0w12

Posted

(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
Jerimiah

Posted

Could you provide what you did? So I can try to recreate this issue?

scarecr0w12

Posted

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
scarecr0w12

Posted

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
Jerimiah

Posted

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.

scarecr0w12

Posted (edited)

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

Edited by scarecr0w12
wrong plugin mentioned
  • Like 1
Jerimiah

Posted

Has the plugin been working other than this incident?

scarecr0w12

Posted

I haven't gotten any reports of issues for it. So i'd have to assume it is working, im just seeing the errors a ton, so its concerning 

  • Like 1
Jerimiah

Posted

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.

Jerimiah

Posted

Changed Status from Pending to Can't Reproduce

scarecr0w12

Posted

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
scarecr0w12

Posted

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
Jerimiah

Posted

Changed Fixed In to 3.0.1

Jerimiah

Posted

I've confirmed that the the tool gun is working in the latest release. If there are anymore issues I would check oxide version.

scarecr0w12

Posted

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

 

Jerimiah

Posted

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.

scarecr0w12

Posted

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.

Jerimiah

Posted

Do you mind adding my discord so we can try to resolve this issue? Discord: jerimiah._.

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.3k

Files Sold

Total number of files sold.

2.1m

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.