Problem Continues
DiscordMessages
Moved
Total Downloads: 1,769 - First Release: May 26, 2017 - Last Update: Feb 6, 2018
- 5/5, 16 likes
-
-
-
got an interesting error:
Code:In RCon I did a message:(21:37:19) | say:: Hi Mocher how goes it? (21:37:20) | { "Message": "(MalS) Hi Mocher how goes it?", "UserId": 0, "Username": "SERVER", "Color": "#eee", "Time": 1515332245 } (21:37:44) | [Better Chat] [Player] [Assassin] [Murderer] Mocher_Anger: hey, all good, thx, lots of fun with bots at airfield :) (21:37:44) | { "Message": "[Player] [Assassin] [Murderer] Mocher_Anger: hey, all good, thx, lots of fun with bots at airfield :)", "UserId": 76561197985578175, "Username": "Mocher_Anger", "Color": null, "Time": 1515332269 } (21:37:44) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 "UserId": 76561198068046723,"Username": "MalS","Color": null,"Time": 1515332869}(21:47:44) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0(21:47:56) | [Better Chat] [Player] [Assassin] [Murderer] Mocher_Anger: okay(21:47:57) | {"Message": "[Player] [Assassin] [Murderer] Mocher_Anger: okay","UserId": 76561197985578175,"Username": "Mocher_Anger","Color": null,"Time": 1515332881}(21:47:57) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Jan 7, 2018 -
every discord plugin using webhooks creates that error as it sends a message
Code:[Oxide] 14:38 [Error] Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in :0 at Oxide.Core.Libraries.WebRequests+WebRequest.b__42_0 () [0x00000] in :0
-
Ok so i just woke up to my message log in discord getting FLOODED with one of my players saying rip every single second.
https://i.gyazo.com/5d6e31cc91c8790c9ae469214de3678f.png
Code:(07:04:44) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:46) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:48) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:50) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:52) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:54) | Web request callback raised an exception in 'DiscordMessages v1.6.6' plugin (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:56) | Web request callback raised an exception in 'DiscordMessages v1.6.6' plugin (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0 (07:04:58) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
-
For those experiencing the NullReferenceException errors, I have a edited version of this plugin that doesn't have this issue. Send me a message, and I will gladly send you the file.
-
Slut updated DiscordMessages with a new update entry:
1.7.0
-
Thanks for the update.
-
Hi
I really like this plugin I was wondering if there was also a plugin that could send messages from discord to the in game server? -
Wulf Community Admin
-
is there a way to config the discord message like right now when a report is sent it shows the info and then send another message saying @here. If there a way i can change it to say my discord name or a specific group name and also to prevent it from spamming it?
-
Slut updated DiscordMessages with a new update entry:
1.7.1
-
-
-
[DOUBLEPOST=1516524901][/DOUBLEPOST]
EDIT:
Figured it out, I'm so stupid. Sorry. -
hello, thank you for a great plugin!
i have errors in my log however:
[DiscordMessages] Voted1True
[DiscordMessages] ServerWicked RustTrue
[DiscordMessages] Reward(s)- You have received 1x Supply Signal
False
[DiscordMessages] Request callback raised an exception! (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordMessages+<API_SendFancyMessage>c__AnonStorey0.<>m__0 (Int32 Callback) [0x00000] in <filename unknown>:0
at Oxide.Plugins.DiscordMessages+<Request>c__AnonStorey2.<>m__1 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 -
-
Hi, it's possible to add Time before pseudo in message ? Like "14:02 Sorrow: It's my message"
Edit : I added this between line 397 and 398
Code:discordMessage = String.Concat(DateTime.Now.ToString("HH:mm"), ' ', discordMessage);
Last edited by a moderator: Jan 22, 2018 -
Is there any way to have this plugin also grab chat from the server console user? (for instance, when the "say" command is used from the console, this plugin does not currently capture the text that was posted as the "server" user. )
I have setup a regex filter in rustadmin to detect certain filtered words and ban a player (instead of the apps default kick). In my discord chat, they see everything that was said up to the point where the macro bans the user, but they don't see the server message in chat that said "<player> has been banned for chat content". I would like this message to be captured too.