Jump to content

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

Closed 0.1.2

Omega
Omega

Posted

 

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

 

IIIaKa

Posted

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?

Omega

Posted

I think it only add adapters to several deployables. I contacted bmgjet for that. I let u know what she said.

IIIaKa

Posted

Hello, are there any news or updates?

Omega

Posted

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.

IIIaKa

Posted

Then I will close the request. If needed, you can reopen the request again.

  • Like 1
IIIaKa

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.