Jump to content

Failed to call hook 'CanLootPlayer' on plugin 'StaticLootables v2.0.6'

Closed 2.0.6 2.0.13

Failed to call hook 'CanLootPlayer' on plugin 'StaticLootables 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 <eae584ce26bc40229c1b1aa476bfa589>:0 at Oxide.Plugins.StaticLootables+RootData.IsLootingLootable (BasePlayer player) [0x00053] in <d1388a30e85448a685a39abd4b63aad0>:0 at Oxide.Plugins.StaticLootables.CanLootPlayer (BasePlayer looted, BasePlayer looter) [0x00006] in <d1388a30e85448a685a39abd4b63aad0>:0 at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0051b] in <d1388a30e85448a685a39abd4b63aad0>: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

When opening a new type of entity (toilet for exemple), the loot window pop up, then close itself within a fraction of a second, then this console error.

Installed the StaticLootables.json then reloaded the plugin.

Share this comment


Link to comment
14 minutes ago, Jeff.Thibault1 said:

Failed to call hook 'CanLootPlayer' on plugin 'StaticLootables 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 <eae584ce26bc40229c1b1aa476bfa589>:0 at Oxide.Plugins.StaticLootables+RootData.IsLootingLootable (BasePlayer player) [0x00053] in <d1388a30e85448a685a39abd4b63aad0>:0 at Oxide.Plugins.StaticLootables.CanLootPlayer (BasePlayer looted, BasePlayer looter) [0x00006] in <d1388a30e85448a685a39abd4b63aad0>:0 at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0051b] in <d1388a30e85448a685a39abd4b63aad0>: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

When opening a new type of entity (toilet for exemple), the loot window pop up, then close itself within a fraction of a second, then this console error.

Installed the StaticLootables.json then reloaded the plugin.

I've fixed this in the just-released update.

Share this comment


Link to comment
18 minutes ago, Raul-Sorin Sorban said:

What's your servers' average FPS and online player count?

25 fps and about 6/50 players

it worked at 2.0.7 for about 20min, now all loot window close again on opening.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.5k

Files Sold

Total number of files sold.

1.5m

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.