Jump to content

Error trying to open GUI

Closed 2.0.9

So when I updated to the latest version I removed and re done the config, removed the lang and data files and cleared all logs. But now when I use /vq in chat I get this:

Failed to call hook 'VirtualQuarriesCommand' on plugin 'VirtualQuarries v2.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.VirtualQuarries.ShowQuarryMenuUI (BasePlayer player, System.Int32 page, System.Int32 quarryId) [0x01435] in <1400f06e2ef344c0a39b4cbdff6edd86>:0
at Oxide.Plugins.VirtualQuarries.VirtualQuarriesCommand (BasePlayer player) [0x00000] in <1400f06e2ef344c0a39b4cbdff6edd86>:0
at Oxide.Plugins.VirtualQuarries.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004b4] in <1400f06e2ef344c0a39b4cbdff6edd86>: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

I have also ran my config thru a json validator as well and says its all good. I have also attached my config below... data file wont have anything as its basically as if I did a fresh install.

VirtualQuarries.json

Share this comment


Link to comment

Problem solved...

Solution:
When transfering from the old 1.0 format to the new 2.0 format under the permissions I used the old multi word for pumpjack and miningquarry and it wasnt making the addon happy XD

I noticed when comparing my config to the default config on the addons main page XD Sorry

Share this comment


Link to comment

Hey! Yeah, there was a lot of changes from 1.0 to 2.0, almost whole new code. It was recommended to create backup of config and generate new one for reference.

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.