Jump to content
Maintenance Notice: Certain sections of the site will be unavailable off and on but vital services will remain online and no downtime is expected. ×

Failed to call hook

Fixed 1.0.0 1.0.1

fullwiped
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!

Amino

Posted

Changed Status from Pending to Gremlins

Changed Fixed In to 1.0.1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.9k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.