Jump to content

error in console

Closed 1.0.1 1.0.2

Fallen Angel
Fallen Angel

Posted

Failed to call hook 'ServerCommand' on plugin 'DiscordServerPanel v1.0.1' (InvalidEmbedException: Embed Fields cannot have a null or empty value)
  at Oxide.Ext.Discord.Builders.DiscordEmbedBuilder.AddField (System.String name, System.String value, System.Boolean inline) [0x00078] in <04348bf9a35746d283d4a8b439245576>:0 
  at Oxide.Plugins.DiscordServerPanel.ServerCommand (Oxide.Ext.Discord.Entities.Messages.DiscordMessage message, System.String cmd, System.String[] args) [0x00183] in <7ba7f2e7a35f42b9856003bd4096bec6>:0 
  at Oxide.Plugins.DiscordServerPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00259] in <7ba7f2e7a35f42b9856003bd4096bec6>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 
Failed to call hook 'ServerCommand' on plugin 'DiscordServerPanel v1.0.1' (InvalidEmbedException: Embed Fields cannot have a null or empty value)
  at Oxide.Ext.Discord.Builders.DiscordEmbedBuilder.AddField (System.String name, System.String value, System.Boolean inline) [0x00078] in <04348bf9a35746d283d4a8b439245576>:0 
  at Oxide.Plugins.DiscordServerPanel.ServerCommand (Oxide.Ext.Discord.Entities.Messages.DiscordMessage message, System.String cmd, System.String[] args) [0x00183] in <7ba7f2e7a35f42b9856003bd4096bec6>:0 
  at Oxide.Plugins.DiscordServerPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00259] in <7ba7f2e7a35f42b9856003bd4096bec6>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 
Saved 24,432 ents, cache(0.01), write(0.01), disk(0.01).

Eimon

Posted

Did the server command appear ? If yes can you screenshot the result ? It seems like there are some values that are empty being added in the embed

Fallen Angel

Posted (edited)

that error is when I type the command in the the discord. The command !server shows that error. The command !plugins is working.  pics attached here

discord server command doing nothing.png

server command error.png

Edited by Fallen Angel
Eimon

Posted

I have sent you a version in private messages that contain a version that will pinpoint the problem, Would you test it out and screenshot the result in console ?
 

Eimon

Posted

I have pinpointed the problem, it will be fixed by the next update ^^ 

Eimon

Posted

Changed Fixed In to 1.0.2

Eimon

Posted

Can you test out with the new version ?

Eimon

Posted

Changed Status from Pending to Closed

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
156.3k
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.