Jump to content

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

Closed 2.0.6 2.0.13

Jeff.Thibault1
Jeff.Thibault1

Posted

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.

  • Administrator
Raul-Sorin Sorban

Posted

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.

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Work in Progress

Jeff.Thibault1

Posted

Its now working, but there is a long delay before the loot window open.

  • Administrator
Raul-Sorin Sorban

Posted

6 minutes ago, Jeff.Thibault1 said:

Its now working, but there is a long delay before the loot window open.

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

Jeff.Thibault1

Posted

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.

  • Administrator
Raul-Sorin Sorban

Posted

Please get the latest version, that should fixed lots issues stated here & heavy performance improvements.

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 2.0.13

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.