Jump to content

Gather Configuration Error

Closed 1.0.9

I am unable to change any gether rate setting and recieve this error in console

Failed to call hook 'CMD_cmd' on plugin 'Loottable v1.0.9' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.Loottable+EditorConfig.get_UnlockGatherMultiplier () [0x00006] in <c332fb39c8164e9ea362069c0f32363a>:0 
  at Oxide.Plugins.Loottable.CMD_cmd (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args_0) [0x01c92] in <c332fb39c8164e9ea362069c0f32363a>:0 
  at Oxide.Plugins.Loottable.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0124e] in <c332fb39c8164e9ea362069c0f32363a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0 
 

Share this comment


Link to comment

There is currently a problem with gather rates that will be fixed with the next update. In case you want to fix it yourself refer to this post:

On 6/16/2022 at 5:24 PM, The_Kiiiing said:

In case you don't want to wait for the update you can fix it yourself. Open the file Loottable.cs and go to line 149. It should look like this:

public bool UnlockGatherMultiplier => flags["UnlocGatherMultiplier"];

Add a 'k' to UnlocGahterMultiplier. The line should look like this then.

public bool UnlockGatherMultiplier => flags["UnlockGatherMultiplier"];

That's it 🙂. Was just a small typo that caused this problem.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.8k

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.