Jump to content

Failed to call hook when pressing top 30 gui button

Pending 2.1.0

When you press the top 30 gui button below is console output. 

 

 

Failed to call hook 'ClanUI' on plugin 'PlayerRanks v2.1.0' (FormatException: Input string was not in a correct format.)

at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ae] in <fb001e01371b4adca20013e0ac763896>:0

at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <fb001e01371b4adca20013e0ac763896>:0

at System.String.Format (System.String format, System.Object[] args) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.PlayerRanks.CallTopThirty (BasePlayer player, System.String button, System.Boolean clan, System.Int32 page, System.String sort, System.Boolean ascending, System.String oldsort) [0x005eb] in <a01e74e764c6429596177ad578deecd1>:0

at Oxide.Plugins.PlayerRanks.ClanUI (ConsoleSystem+Arg arg) [0x0009d] in <a01e74e764c6429596177ad578deecd1>:0

at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0114c] in <a01e74e764c6429596177ad578deecd1>:0

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

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

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

Share this comment


Link to comment

Hi,

Sorry I didn't see this sooner.
I'm not aware of issues right now so I guess this is an obscure one - Maybe something to do with a specific character in some clan name?
If it's a persistent issue would you mind sending me a copy of your /data/PlayerRanks.json privately?

Thanks.

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.