Jump to content

Failed to call hook

Gremlins 1.0.0 1.0.1

fullwiped

Posted

Hello, I'm encountering the following errors when starting the server. This might be a temporary issue with the server or API, but I wanted to inform you anyway.


(14:50:4) | Failed to call hook 'OnWCRequestedUIPanel' on plugin 'ServersUI v1.0.0' (DivideByZeroException: Attempted to divide by zero.)

at System.Decimal+DecCalc.VarDecDiv (System.Decimal+DecCalc& d1, System.Decimal+DecCalc& d2) [0x00036] in <e3aa8db986d7457ca73f10110f1283f5>:0

at System.Decimal.Divide (System.Decimal d1, System.Decimal d2) [0x0000e] in <e3aa8db986d7457ca73f10110f1283f5>:0

at Oxide.Plugins.ServersUI.UIUpdateServerInfo (BasePlayer player) [0x00250] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.UIMain (BasePlayer player, System.String command, System.String[] arg) [0x00170] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.OnWCRequestedUIPanel (BasePlayer player, System.String panelName, System.String neededPlugin) [0x00016] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00334] in <d835d20662514424b6251eae97087fbb>:0

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

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

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

(14:50:15) | Failed to call hook 'OnWCRequestedUIPanel' on plugin 'ServersUI v1.0.0' (DivideByZeroException: Attempted to divide by zero.)

at System.Decimal+DecCalc.VarDecDiv (System.Decimal+DecCalc& d1, System.Decimal+DecCalc& d2) [0x00036] in <e3aa8db986d7457ca73f10110f1283f5>:0

at System.Decimal.Divide (System.Decimal d1, System.Decimal d2) [0x0000e] in <e3aa8db986d7457ca73f10110f1283f5>:0

at Oxide.Plugins.ServersUI.UIUpdateServerInfo (BasePlayer player) [0x00250] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.UIMain (BasePlayer player, System.String command, System.String[] arg) [0x00170] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.OnWCRequestedUIPanel (BasePlayer player, System.String panelName, System.String neededPlugin) [0x00016] in <d835d20662514424b6251eae97087fbb>:0

at Oxide.Plugins.ServersUI.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00334] in <d835d20662514424b6251eae97087fbb>:0

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

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

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

Amino

Posted

Good catch! You max players must be set to 0 and the code is yelling because it doesn’t know how to handle that. I’ll have a patch out soon!

  • Like 1
Amino

Posted

Changed Status from Pending to Gremlins

Changed Fixed In to 1.0.1

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.