Uh delete plugin/reinstall plugin/set code to something other than 1234, i have it set to do something weird with 1234 somewhere.

QuarryLocks
Ads customizable locks to a quarry
Total Downloads: 870 - First Release: Apr 8, 2016 - Last Update: May 9, 2016
- 5/5, 1 like
-
Code:[Oxide] 07:50 [Error] Failed to call hook 'cmdQLock' on plugin 'QuarryLocks v1.0.2' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 07:50 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.QuarryLocks+ExtraData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.cmdQLock (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
[DOUBLEPOST=1460179244][/DOUBLEPOST]error occurs only with quarries that stood up to install the plugin. new quarries problemm no
Code:[Oxide] 08:17 [Error] Failed to call hook 'OnLootEntity' on plugin 'QuarryLocks v1.0.2' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 08:17 [Debug] at Oxide.Plugins.QuarryLocks.OnLootEntity (.BasePlayer looter, .BaseEntity entry) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 9, 2016 -
Yeah I have it saving quarrys to a list, old quarries are a problem.
-
-
Ill add it soon enough, simple try() catch(), ill do it when I finish my rewrite of IGather
-
you have opportunity to fix plugin?
-
Yup, just finished the IGather fix. Ill have to look through the forum and find any bugs! Can you list me some when possible?
-
DylanSMR updated QuarryLocks with a new update entry:
1.0.3
-
-
-
Code:[Oxide] 03:22 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'QuarryLocks v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 03:22 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.QuarryLocks+ExtraMessage].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.PlayerAlertMessages (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.OnPlayerSleepEnded (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
DylanSMR updated QuarryLocks with a new update entry:
1.0.4
[DOUBLEPOST=1460593853][/DOUBLEPOST]Theres a small update if it keeps happening, that should fix it -
-
-
-
-
but this error can not be removed in any way?
Code:[Oxide] 03:47 [Warning] [Quarry-Locks] Error with hook: OnLootEntity! Please consider removing all quarrys installed before the plugin. [Oxide] 03:47 [Error] Failed to call hook 'OnLootEntity' on plugin 'QuarryLocks v1.0.4' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 03:47 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.QuarryLocks+ExtraData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.QuarryLocks.OnLootEntity (.BasePlayer looter, .BaseEntity entry) [0x00000] in <filename unknown>:0
-
I added that just for a warning, if you really want just go in the CS and go to change it so the catch looks like:
Original:
Code:catch(System.Exception) { if(WarningE == false) { PrintWarning("Error with hook: OnLootEntity! Please consider removing all quarrys installed before the plugin."); WarningE = true; timer.Once(60, () => { WarningE = false; }); throw; } }
Code:catch(System.Exception) { return; }
-
[DOUBLEPOST=1460595900][/DOUBLEPOST]no more problems. remain fix that players can not get into their quarry