Jump to content

Failed to call Hook

No Response 2.0.6

Shark-A-Holic
Shark-A-Holic

Posted

Failed to call hook 'VirtualQuarriesCommand' on plugin 'VirtualQuarries v2.0.6' (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) [0x0138c] in <550c558a038040babe3ee86bc7d5bb2c>:0 
  at Oxide.Plugins.VirtualQuarries.VirtualQuarriesCommand (BasePlayer player) [0x00000] in <550c558a038040babe3ee86bc7d5bb2c>:0 
  at Oxide.Plugins.VirtualQuarries.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004b4] in <550c558a038040babe3ee86bc7d5bb2c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>: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 

Shark-A-Holic

Posted

Players can no longer access the /vq UI. I wiped the Data, Lang Files, and did a fresh install as well to see if it would fix the issue and it did not. This just started following update.

ThePitereq

Posted

Are you sure that you cleared the data? Maybe you deleted config and data has been restored.
For me everything works fine. I'll add more understandable error logs in next update.

Shark-A-Holic

Posted

8 hours ago, ThePitereq said:

Are you sure that you cleared the data? Maybe you deleted config and data has been restored.
For me everything works fine. I'll add more understandable error logs in next update.

Yeah I fully cleared everything 😞 Data, Lang Files, Config and .CS file. Still doing it and then just, randomly stopped working as a whole. Let me try the new version out and get back to you here in a couple hours. Thanks for being so quick to respond as always Pitereq! ❤️

Shark-A-Holic

Posted

Okay, so the error appears to have stopped.

However, now we're having an issue with the icons refusing to load (I've tried overriding and putting URLs in as well), Pumpjacks giving out Stone and not Crude....any ideas? I'm attaching my config file because I'm sure it's something I'm missing lol. (Ignore the (1), that's just from me downloading a buncha versions to keep track.

 

Thanks!

VirtualQuarries (1).json

ThePitereq

Posted

Not sure if links like that will work. I recommend using imgur as image host.
If you want to override the icons you must set Override ImageLibrary Icons to true.


It shouldnt be possible for pumpjack to dig stones. Maybe your data files are messed up, idk.
As i can see you;'ve added explosives and supply signal as items but they should work as normal.

Not sure what can cause problems.

Shark-A-Holic

Posted

I've completely wiped all of the data files. This is occurring on a fresh install, so it's not the Data as it doesn't exist. 😞

Shark-A-Holic

Posted (edited)

[VirtualQuarries] Profile  is missing from the configuration, but is found in data. Quarry with ID 0 will not work!
Failed to call hook 'VirtualQuarriesConsoleCommand' on plugin 'VirtualQuarries v2.0.7' (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+VirtualQuarry.TryRun () [0x0005c] in <911f1232b2e340a28843057dfee6cbef>:0 
  at Oxide.Plugins.VirtualQuarries.TryStartQuarry (BasePlayer player, System.Int32 quarryId) [0x000bd] in <911f1232b2e340a28843057dfee6cbef>:0 
  at Oxide.Plugins.VirtualQuarries.VirtualQuarriesConsoleCommand (ConsoleSystem+Arg arg) [0x0035e] in <911f1232b2e340a28843057dfee6cbef>:0 
  at Oxide.Plugins.VirtualQuarries.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00486] in <911f1232b2e340a28843057dfee6cbef>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>: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 

 

Not sure if this helps any, but it keeps setting a quarry to ID 0, and then my console floods with this info. I have tried manually changing the ID, but when I reload and someone places a new one it's putting that as 0.

Edited by Shark-A-Holic
Additional Info about the Issue
ThePitereq

Posted

Changed Status from Pending to No Response

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.