Error message: "Reference System.Web.dll from Oxide.Ext.Discord.dll not found" appearing 3 times instantly after reloading Rustcord ONLY when my bot was offline on discord. Reloading Rustcord put the 3 errors then saw my bot back online (was not active to send the chat messages from ingame to disc). After that, reloading plugin no longer showed the error. Any way to stop the bot from going offline after x hours without having to reload the plugin?
Rustcord
Moved
Total Downloads: 557 - First Release: May 24, 2018 - Last Update: May 24, 2018
- 5/5, 8 likes
-
-
I have this error when someone talk in the channel in discord:
Code:Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.0.1' (IndexOutOfRangeException: Index was outside the bounds of the array.) at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x00047] in <3fe64bae14a641178756afc86e26f712>:0 at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00304] in <3fe64bae14a641178756afc86e26f712>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
Last edited by a moderator: Jun 19, 2018 -
Hi, probably a silly question, but where do I "install" the oxide.ext.discord.dll file?
-
-
-
writes one message then it and silence
Code:PrefabInfo.SetBehaviourEnabled (System.Boolean state) (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) PrefabInfo.EnterPool () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) PrefabPool.Push (PrefabInfo info) (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) PrefabPoolCollection.Push (UnityEngine.GameObject instance) (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) GameManager.Retire (UnityEngine.GameObject instance) (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) DecorPatch.DestroyInstances () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) DecorPatch.Spawn () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) DecorSpawn+<UpdateCoroutine>c__Iterator0.MoveNext () (at <ffbd04b0381845ed99bc2b8616f3c2c4>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e62018e11c0a49d48c08c9fbcfd3623f>:0)
Code:Failed to call hook 'OnPlayerDisconnected' on plugin 'Rustcord v1.0.1' (InvalidOperationException: Collection was modified; enumeration operation may not execute.) at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00053] in <e1a80661d61443feb3dbdaac88eeb776>:0 at Oxide.Ext.Discord.REST.RESTHandler.BucketRequest (Oxide.Ext.Discord.REST.Request request, System.Action`1[T] callback) [0x0000e] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.REST.RESTHandler.CreateRequest (Oxide.Ext.Discord.REST.RequestMethod method, System.String url, System.Collections.Generic.Dictionary`2[TKey,TValue] headers, System.Object data, System.Action`1[T] callback) [0x0007b] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.REST.RESTHandler.DoRequest[T] (System.String url, Oxide.Ext.Discord.REST.RequestMethod method, System.Object data, System.Action`1[T] callback) [0x0000f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x0001f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Plugins.Rustcord+<OnPlayerDisconnected>c__AnonStorey3.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <96d71109974d4ab0ba797c6c193da1ba>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1a80661d61443feb3dbdaac88eeb776>:0 at Oxide.Plugins.Rustcord.OnPlayerDisconnected (BasePlayer player, System.String reason) [0x0004d] in <96d71109974d4ab0ba797c6c193da1ba>:0 at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a6] in <96d71109974d4ab0ba797c6c193da1ba>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
Code:Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.0.1' (InvalidOperationException: Collection was modified; enumeration operation may not execute.) at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00053] in <e1a80661d61443feb3dbdaac88eeb776>:0 at Oxide.Ext.Discord.REST.RESTHandler.BucketRequest (Oxide.Ext.Discord.REST.Request request, System.Action`1[T] callback) [0x0000e] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.REST.RESTHandler.CreateRequest (Oxide.Ext.Discord.REST.RequestMethod method, System.String url, System.Collections.Generic.Dictionary`2[TKey,TValue] headers, System.Object data, System.Action`1[T] callback) [0x0007b] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.REST.RESTHandler.DoRequest[T] (System.String url, Oxide.Ext.Discord.REST.RequestMethod method, System.Object data, System.Action`1[T] callback) [0x0000f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x0001f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0 at Oxide.Plugins.Rustcord.DiscordToGameCmd (System.String command, System.String param, Oxide.Ext.Discord.DiscordObjects.User author, System.String channelid) [0x000ca] in <96d71109974d4ab0ba797c6c193da1ba>:0 at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x000e8] in <96d71109974d4ab0ba797c6c193da1ba>:0 at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00304] in <96d71109974d4ab0ba797c6c193da1ba>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
Last edited by a moderator: Jun 19, 2018 -
how to change the encoding, I use the Cyrillic alphabet on the server
Code::speech_left: Lex: "?????)" :speech_left: ben0md: "???" :speech_left: ben0md: "novaja karta" :speech_left: Lex: "??? ????"
Last edited by a moderator: Jun 20, 2018 -
Trying different options (on the Cyrillic server) I came to the conclusion:
in the Discord goes the whole text ???????
from Discord is normal, even in Cyrillic
no posts from Death Notes
please explain to the developer how it works, because there is a suggestion that all my problems are due to the Cyrillic (on the Cyrillic server) -
Hello, I'm getting an OnMessage event error, and it happens whenever I change a role in the discord or anything to do with the discord really, and It's annoying to have come up in the console, any fix [image 1]? Also this at the startup [image 2].
Last edited by a moderator: Jun 25, 2018 -
Is there a way you could add a Direct Message to a Discord user with this plugin?
-
Im getting this error. And it force closes the server sometimes.
Code:Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v1.0.1' (ArgumentNullException: Value cannot be null. Parameter name: source) at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 at Oxide.Plugins.Rustcord.OnPlayerChat (ConsoleSystem+Arg arg) [0x0002a] in <cda7a51fd17142d7bc1d8413632ef0f8>:0 at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0014d] in <cda7a51fd17142d7bc1d8413632ef0f8>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <c42b530987394b2da63b2e4218904439>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0f58cfbbba844942876db6036f28ac86>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0f58cfbbba844942876db6036f28ac86>:0
Last edited by a moderator: Jul 9, 2018 -
Another silly question. The said config file should be generated and to be found in ..\oxide\plugins folder? I cant seem to find it anywhere. Please help.
-
Why i got that problem please help me
Attached Files:
-
-
New error issues cropping up are due to the Discord Extension needing to be updated.
-
Can you give me updated discord extension link
-
Kiro finally has some time off to put in some work, and will be re-working the plugin in the coming week. We hope to have an improved version out this month.
-
-
Working for me still but getting a few errors every now and then also would love to see a way to DM admin.
-
It was sending chat logs, join/leave logs, etc...
Now, nothing.