Jump to content

hook error 1.03 update

Closed 1.0.3

any update to the hook error on version 1.03?

 

Failed to call hook 'CanCraft' on plugin 'Professions v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Plugins.Professions.CanCraft (ItemCrafter itemCrafter, ItemBlueprint bp, System.Int32 amount) [0x0000e] in <399500aa0aa246b0b4c60236d27cc9c6>:0

at Oxide.Plugins.Professions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e90] in <399500aa0aa246b0b4c60236d27cc9c6>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

Share this comment


Link to comment
On 2/26/2022 at 9:57 AM, ChaoticStryfe said:

any update to the hook error on version 1.03?

 

Failed to call hook 'CanCraft' on plugin 'Professions v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Plugins.Professions.CanCraft (ItemCrafter itemCrafter, ItemBlueprint bp, System.Int32 amount) [0x0000e] in <399500aa0aa246b0b4c60236d27cc9c6>:0

at Oxide.Plugins.Professions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e90] in <399500aa0aa246b0b4c60236d27cc9c6>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

May have identified the issue. Will add it to the next release.

Was contemplating doing a rewrite of the plugin anyway.

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.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.