Jump to content

A Few Issues - Interactions and Bot is Thinking

Closed 1.0.5 1.0.5

MandyMoose
MandyMoose

Posted

It worked fine for 30 minutes now 90% of the interactions are having errors or will say the bot is thinking. None of the commands work in the /info panel. View Inventory and Backpack worked for 30 minutes and then it now just says Bot is Thinking and won't load. Combat Log command times out. Not sure what's going on.

ViolationHandler.exe

Posted

20 minutes ago, MandyMoose said:

image.png.4477d01b8e20ee14badf2034f9bdf802.png

 

Do you have the plugin in more than 1 Rust server?

MandyMoose

Posted

I did but removed it. I made another bot and tried it but it's still having the same issues.

MandyMoose

Posted

[DiscordExtension] [Warning]: Using Discord Test Version: 3.0.0.RC.1
Loaded plugin AdminTools v1.0.5 by ViolationHandler
[DiscordExtension] [Info]: Discord socket connected!
[AdminTools] AdminTools Bot Ready
[DiscordExtension] [Info]: Your bot was found in 1 Guilds!
[AdminTools] Adding Discord Commands
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.UnWatchlistModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.InventoryClear Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.WatchlistModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.EditBanModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.KickModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.WarnModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.ResetNameModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.UnMuteModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.MuteModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.RenameModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.InventoryView Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.UnbanModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[DiscordExtension] [Exception]: RegisterTemplateCallback<DiscordModalTemplate>.CallbackInternal had exception. Callback Data: Template ID: Plugin: AdminTools Template: Modals.BanModal Language: en Type: DiscordModalTemplates (JsonException: No parameterless constructor defined for 'System.Collections.Specialized.StringEnumerator'.)
  at Newtonsoft.Json.Serialization.JsonTypeReflector+<>c__DisplayClass18_0.<GetJsonConverterCreator>b__0 (System.Object[] parameters) [0x00094] in <271c58b7a8684db5a2c92be17a81f252>:0 
[RaidProtection] Integration with 'Abandoned Bases' is set to 'true' in your configuration file, however this plugin is not installed on this server. This option will be temporarily set to 'false' to avoid issues. Once this plugin is installed, you will no longer see this warning and your configuration settings will be followed.
[RaidProtection] Integration with 'Skill Tree' is set to 'true' in your configuration file, however this plugin is not installed on this server. This option will be temporarily set to 'false' to avoid issues. Once this plugin is installed, you will no longer see this warning and your configuration settings will be followed.

ViolationHandler.exe

Posted (edited)

4 minutes ago, MandyMoose said:

I did but removed it. I made another bot and tried it but it's still having the same issues.

And I assume you updated the bot token in the config and reloaded the plugin? Always gotta cover all the bases to be sure lol sorry if it's a dumb question. 

 

Also in response to the latest message, do you by chance use a Windows Server as your OS?

 

Someone else had the same issues with with modals like you have in those errors, wondering if there's some funkiness with different operating systems

Edited by ViolationHandler.exe
MandyMoose

Posted

30 minutes ago, ViolationHandler.exe said:

And I assume you updated the bot token in the config and reloaded the plugin? Always gotta cover all the bases to be sure lol sorry if it's a dumb question. 

 

Also in response to the latest message, do you by chance use a Windows Server as your OS?

 

Someone else had the same issues with with modals like you have in those errors, wondering if there's some funkiness with different operating systems

I did. I even restarted the server just to make sure it wasn't the discord.dll. I have other Plugins that rely on Discord.dll. Signlogger, ClansDiscord & another plugin. Would one of those conflict with the DLL. I don't know if ClansDiscord works with 3.0V. I haven't tried it yet. I rent a dedicated server with 5 servers on one node and pterodactyl. I believe it's a linux based system. 

ViolationHandler.exe

Posted (edited)

29 minutes ago, MandyMoose said:

I did. I even restarted the server just to make sure it wasn't the discord.dll. I have other Plugins that rely on Discord.dll. Signlogger, ClansDiscord & another plugin. Would one of those conflict with the DLL. I don't know if ClansDiscord works with 3.0V. I haven't tried it yet. I rent a dedicated server with 5 servers on one node and pterodactyl. I believe it's a linux based system. 

Ah, well this plugin relies on 3.0.0, but I'm not positive who made ClansDiscord, but if it was MJSU, there's likely a version that'd work on his GitHub, otherwise not positive. And hmm, darn, was hoping it'd be a Windows server lol, the other guy was having issues on a Windows server.

If it's the same bot for all 3 plugins that may affect it, but you stated above that you tried doing it with another separate bot, so can't really be that.

I don't see any reason the other plugins would affect this plugin unless they were using the same bot and had the same command. I only ever had the already acknowledged error stuff when I had the plugin in 2 servers with the same bot and was using commands, that's why I asked originally too.

 

I should be able to help more once I get home (likely a little over an hour from now), then I can actually look through the plugin and the interactions more thoroughly.

 

Edit: Question for you, which modding framework do you use? Oxide or Carbon?

Edited by ViolationHandler.exe
MandyMoose

Posted

1 hour ago, ViolationHandler.exe said:

Ah, well this plugin relies on 3.0.0, but I'm not positive who made ClansDiscord, but if it was MJSU, there's likely a version that'd work on his GitHub, otherwise not positive. And hmm, darn, was hoping it'd be a Windows server lol, the other guy was having issues on a Windows server.

If it's the same bot for all 3 plugins that may affect it, but you stated above that you tried doing it with another separate bot, so can't really be that.

I don't see any reason the other plugins would affect this plugin unless they were using the same bot and had the same command. I only ever had the already acknowledged error stuff when I had the plugin in 2 servers with the same bot and was using commands, that's why I asked originally too.

 

I should be able to help more once I get home (likely a little over an hour from now), then I can actually look through the plugin and the interactions more thoroughly.

 

Edit: Question for you, which modding framework do you use? Oxide or Carbon?

Oxide

ViolationHandler.exe

Posted (edited)

Update:

These errors were a result of a bad Discord Extension version. If you have these errors, please download the latest release in the DEPENDS ON section of the plugin. After stopping server and putting in the new DLL, your plugin should have no errors relating to modals and should work fine.

Edit: for anyone who is looking here and wondering, I worked with them through discord and we figured out the issue that way.

Edited by ViolationHandler.exe
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.