Jump to content

Failed to call hook 'SplitterCommand'

Work in Progress 1.1.1 1.1.2

Omega

Hi, got this

(13:10:21) | Failed to call hook 'SplitterCommand' on plugin 'OGSplitter v1.1.1' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)

at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <fb001e01371b4adca20013e0ac763896>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <fb001e01371b4adca20013e0ac763896>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.OGSplitter.OvenSplitter (BaseOven oven, BasePlayer player) [0x00181] in <56ac7d237ca74844a0a4850b65a9c05f>:0

at Oxide.Plugins.OGSplitter.SplitterCommand (Oxide.Core.Libraries.Covalence.IPlayer iplayer, System.String command, System.String[] args) [0x0005a] in <56ac7d237ca74844a0a4850b65a9c05f>:0

at Oxide.Plugins.OGSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00338] in <56ac7d237ca74844a0a4850b65a9c05f>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Share this comment


Link to comment

I have this issue to. It happens when someone puts just wood in the furnace and then clicks Run Splitter. It puts the players wood back into the players inventory and then throws that error into the console. The function is fine as I like it moving the wood back into the inventory if the player doesn't provide any ore to split with it, but maybe just get rid of the error spam and you're good 🙂  I don't notice any function issues when the error pops up. 

Share this comment


Link to comment

I get this error message when the furnace sees a partially cooked item if you try to use the splitter again after putting wood in it the error message continues and your wood disappears it does not go back into inventory. there seems to be an issue with amount of wood and the cook time desyncing or the plugin not properly placing the correct amount. If you speed up any of the cook times this issues increases. Not sure how this is happening but I do notice it definitely happens when the furnace thinks an item is partially cooked I get this message even when I just killed a pig and place the item in the furnace it reads it sometimes not all the time as partially cooked for some reason. The wood being taken is definitely not returned to my inventory it just vanishes.

Share this comment


Link to comment

Long time but just found the reason. The message appears when i use plugin UItemSort to fill the oven and than split it.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.5k

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.