Jump to content

thoughts on errors

Pending 2.1.7

saintmichel13
saintmichel13

Posted

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

  • Administrator
Steenamaroo

Posted

Hi,

Thanks for that. I'll get it sorted out shortly.

  • Administrator
Steenamaroo

Posted

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
saintmichel13

Posted

uploaded let me get back to you if it has stabilized with no errors

plasmac0r

Posted

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!

  • Administrator
Steenamaroo

Posted

Thank you.
I'll make this public shortly.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.