OverflowException at AddUserPageInfoLabelsFixed
This happens when i open the UI and when i click on a player it dont do anything.
Failed to call hook 'PlayerAdministrationSwitchUICallback' on plugin 'PlayerAdministration v1.3.21' (OverflowException: Value was either too large or too small for an Int32.)
  at System.Convert.ToInt32 (System.Double value) [0x00084] in <ac823e2bb42b41bda67924a45a0173c3>:0
  at Oxide.Plugins.PlayerAdministration.AddUserPageInfoLabels (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, System.String aParent, System.String aUiUserId, System.UInt64 aPlayerId, BasePlayer& aPlayer) [0x0040e] in <69db1e0d9cd84cefbc2afac44b9fc38a>:0
  at Oxide.Plugins.PlayerAdministration.BuildUserPage (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.UInt64 aPlayerId) [0x00147] in <69db1e0d9cd84cefbc2afac44b9fc38a>:0
  at Oxide.Plugins.PlayerAdministration.BuildUI (BasePlayer aPlayer, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.String aArg, System.Boolean aIndFiltered) [0x000c0] in <69db1e0d9cd84cefbc2afac44b9fc38a>:0
  at Oxide.Plugins.PlayerAdministration.PlayerAdministrationSwitchUICallback (ConsoleSystem+Arg aArg) [0x00210] in <69db1e0d9cd84cefbc2afac44b9fc38a>:0
  at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x016b8] in <69db1e0d9cd84cefbc2afac44b9fc38a>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
That's a very dubious error...
I'll have a look. Might be that I need to use a uint or something.

Thanks for the report. :)
I think it might be because of a plugin cause i had it working before.
Could also be that a server or umod update broke it. Still worth having a look.
In response to ThibmoRozier ():
Could also be that a server or umod update broke it. Still worth having a look.
Hasn’t been any updates to Oxide, only Rust.
Right, so I was converting a double value from Economics to an int32, bit strange and not sure why I did this in the past, but I now used Math.Round(balance, 2) instead.
The coming update should fix your issue. :)
Locked automatically