Jump to content

Error

Closed 2.0.4

mythicalcreature
mythicalcreature

Posted

Hello!

Ive been using your plugin for some time now and at first it worked wonderful. A couple of days ago, it's started spamming my console with errors and the plugin loads, but is broken. Have any idea what's causing it?

Error:


Failed to call hook 'OnWaterCollect' on plugin 'TotalControl v2.0.4' (KeyNotFoundException: The given key 'smallWaterCatcher' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <e605204d165a49d89ae7579f3d894429>:0 
  at Oxide.Plugins.TotalControl.ApplyWaterGatherMultiplier (WaterCatcher waterCatcher) [0x00085] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.TotalControl.OnWaterCollect (WaterCatcher waterCatcher) [0x0000e] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.TotalControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f36] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

Thank you!

Mat993hew

Posted

11 minutes ago, mythicalcreature said:

Hello!

Ive been using your plugin for some time now and at first it worked wonderful. A couple of days ago, it's started spamming my console with errors and the plugin loads, but is broken. Have any idea what's causing it?

Error:


Failed to call hook 'OnWaterCollect' on plugin 'TotalControl v2.0.4' (KeyNotFoundException: The given key 'smallWaterCatcher' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <e605204d165a49d89ae7579f3d894429>:0 
  at Oxide.Plugins.TotalControl.ApplyWaterGatherMultiplier (WaterCatcher waterCatcher) [0x00085] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.TotalControl.OnWaterCollect (WaterCatcher waterCatcher) [0x0000e] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.TotalControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f36] in <cfa2472560164eadabe2343917b75840>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

Thank you!

Hi sorry it looks like you are missing smallWaterCatcher in your Gather.json file in your TotalControl Data folder you can delete the Gather.json file and reload TotalControl which should fix the error but you will lose all your Gather Rates settings and will need to redo them otherwise if you would like to send me your Gather.json file i will have a look and fix it for you im more than happy to do that.

mythicalcreature

Posted

I appreciate it. I just hit the x3 button since that's the server im doing, so im not losing much. I'll delete the file. Thanks!

 

  • Like 1
Mat993hew

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.4k
Customers served
Files Sold
162.6k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.