Jump to content

Failed to call hook 'OnItemStacked' on plugin 'IndustrialDung v0.1.2

Closed 0.1.2

 

I run extendedindustrial and there seems to be a conflict. Possible to fix that somehow? When i unload extendedindustrial there is no problem.

With every single dung the composter take or you split something in it i get this.

 

(14:33:58) | Failed to call hook 'OnItemStacked' on plugin 'IndustrialDung v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.IndustrialDung.SplitDungs (Item item, ItemContainer container) [0x00009] in <99c72c4ac6a74e14980139177c541a85>:0

at Oxide.Plugins.IndustrialDung.OnItemStacked (Item destinationItem, Item sourceItem, ItemContainer destinationContainer) [0x00036] in <99c72c4ac6a74e14980139177c541a85>:0

at Oxide.Plugins.IndustrialDung.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005ec] in <99c72c4ac6a74e14980139177c541a85>: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

Hi! If is it allow(if plugin developer agree), I need to see extendedindustrial's OnItemStacked hook. In my plugin in the OnItemStacked hook, I check all varibles before using, maybe extendedindustrial doing something with them, that's why in the SplitDungs they become null and you get NullReferenceException.
And what exactly extendedindustrial do, except adding adapters?

Share this comment


Link to comment

Hi, for some reason she don´t want to help here out. I got a other plugin from her that is much easier and compatible with extended industrial. It collect direct in the composter without any boxes and conveyors.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.8k

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.