Jump to content

Feature request

Closed 1.0.9

Please make it so gather multipliers can go below 1.

I know you probably run into issues with this and that's why the minimum is 1. I'm using gathermanager on another server to do a 0.5x, but it only worked correctly when I changed the .cs code and added in a Math.Max() call to make sure that at least 1 of an item, so I didn't get glitched mushrooms and berries that I couldn't eat, or glitched items in the case of items that you would usually only get 1 of, it tried to give you 0.  Im using both plugins and they work fine together, but I just though I would mention this, so maybe in the future I can get rid of gathermanager.

Share this comment


Link to comment

I enabled the flag but actually any value I try to enter in the gather multiplier section just goes back to 1 and I get a console error on save.

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 <8fcd2d74257549a2a46c0f10c63e3708>:0
  at Oxide.Plugins.Loottable.CMD_cmd (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args_0) [0x01bf6] in <8fcd2d74257549a2a46c0f10c63e3708>:0                                             2kb/s in, 8kb/s out
  at Oxide.Plugins.Loottable.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0124e] in <8fcd2d74257549a2a46c0f10c63e3708>: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
1.1m

Downloads

Total number of downloads.

5.8k

Customers

Total customers served.

83.9k

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.