Jump to content

thoughts on errors

Pending 2.1.7

Failed to call hook 'CanBeWounded' on plugin 'PlayerRanks v2.1.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 <eae584ce26bc40229c1b1aa476bfa589>:0 at Oxide.Plugins.PlayerRanks.IsTeamMate (System.UInt64 playerID, System.UInt64 friendID) [0x00005] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.FriendCheck (BasePlayer player, BasePlayer victim) [0x00115] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.CanBeWounded (BasePlayer player, HitInfo hitInfo) [0x00070] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0123c] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

Failed to call hook 'OnEntityDeath' on plugin 'PlayerRanks v2.1.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 <eae584ce26bc40229c1b1aa476bfa589>:0 at Oxide.Plugins.PlayerRanks.IsTeamMate (System.UInt64 playerID, System.UInt64 friendID) [0x0001e] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.FriendCheck (BasePlayer player, BasePlayer victim) [0x00115] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.ProcessPVPKill (BasePlayer player, BasePlayer victim) [0x00000] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.OnEntityDeath (BaseEntity entity, HitInfo hitinfo) [0x00543] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0091d] in <fd326e836bda4103ae0e26272249183f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in

Share this comment


Link to comment

Would you mind confirming that this fixes it?


The config entry for Alias has changed from one string to a list of strings to allow for multiple.
If you used a chat alias you'd need to re-enter that.

Examples

One - "chatCommandAlias": ["ranks"],

Multiple - "chatCommandAlias": ["stats", "ranks", "rank"],

PlayerRanks.cs

  • Like 1

Share this comment


Link to comment

I had the same problem. I changed the config file according to your suggestion and deployed the updated plugin file. I can confirm that after that no exception occurred after plugin load and an hour runtime.

Thanks for the fix!

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.4k

Customers

Total customers served.

77.7k

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.