People will put in the code, and the bot doesn't respond, but then I redownload the plugin and then the new code they get works, but then randomly after that, it doesn't work again for new players and I have to keep redownloading the plugin for them to be able to get the bot to respond to them.
Code not accepted unless plugin reloaded
Did you reload the plugin after setting your custom code? The Discord extension also has a known issue where the bot status is not refreshed, and sometimes will stop working.
Yeah I always reload it. It works immediatly after I reload it, but then an hour or something later, people still send the bot the code and it doesn't reply. And the code even gets reset, I have it set to only give numbers out, but the code people get will have letters in it as well. Its like the plugin just resets itself every hour.
Hi - Everything has been working fine but then a player said they could not complete the process.
- They type /verify and receive code
- They type code into the bot
- No response from the bot
- I reload plugin
- They repeat steps above and the process completes: they receive message, rewards, and they are assigned Discord role
- In my console, I noticed the Discord extension had thrown an error and then immediately reconnected around the time the user contacted me. Knowing it had reconnected, I had the user try /verify again but they still had the same issue.
- When investigating, I noticed the data file did not have their code, steamID, or discordID in the data file. After reloading, it was saved to the data file. I asked them to /verify again and they were then able to complete the process successfully.
i have to reload the plugin after every completed verify .
and console print this error after someone gived his reward :
(15:48:26) | [ServerRewards] You have given Doreks. 200 points
(15:48:27) | [Discord Extension] An error has occured: Response: An exception has occurred during an OnMessage event.
(15:48:27) | [Discord Core] WebSocketError: System.ArgumentNullException: Value cannot be null.
Parameter name: o
at Newtonsoft.Json.Linq.JToken.FromObjectInternal (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00038] in <7126fb4f5c5b40029458a4f975f98d13>:0
at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <7126fb4f5c5b40029458a4f975f98d13>:0
at Newtonsoft.Json.Linq.JObject.FromObject (System.Object o) [0x00006] in <7126fb4f5c5b40029458a4f975f98d13>:0
at Oxide.Ext.Discord.WebSockets.SocketListner.SocketMessage (System.Object sender, WebSocketSharp.MessageEventArgs e) [0x00f72] in <a141f1996e934ec597a4fcdd8f3a7ede>:0
at WebSocketSharp.Ext.Emit[TEventArgs] (System.EventHandler`1[TEventArgs] eventHandler, System.Object sender, TEventArgs e) [0x00009] in <7126fb4f5c5b40029458a4f975f98d13>:0
at WebSocketSharp.WebSocket.messagec (WebSocketSharp.MessageEventArgs e) [0x00003] in <7126fb4f5c5b40029458a4f975f98d13>:0
An exception has occurred during an OnMessage event.
(15:48:27) | [Discord Extension] Attempting to reconnect to Discord...
(15:48:28) | [Discord Extension] Discord socket opened!
(15:48:28) | [Discord Extension] Your bot was found in 1 Guilds!
=========================================
- They type /verify and receive code
- They type code into the bot
- No response from the bot
- I reload plugin
- it works again but i need to reload the plugin again after that so the next player can verify without porblems .
===============================
this problem is reported here 3 monthes ago .. but no fix for it still ?
Yep cool mod but need be fixed
Hello.
I have had multiple users complain that the bot doesnt reply to their verification code, 1 person even live streamed it while he tried - so i could guide him.
Im using my own bot, it works as it should - replies like 95% of the persons.
Could it be caused by the Discord-Rust hook not working all the time?
Please help :)
I have had multiple users complain that the bot doesnt reply to their verification code, 1 person even live streamed it while he tried - so i could guide him.
Im using my own bot, it works as it should - replies like 95% of the persons.
Could it be caused by the Discord-Rust hook not working all the time?
Please help :)
Dear,
if i give in the code i get it says nothing.
If i reload everything and it works that is not a valid code it says.
what do i have to do to fix this problem ?
if i give in the code i get it says nothing.
If i reload everything and it works that is not a valid code it says.
what do i have to do to fix this problem ?
{
"Command": "verify",
"Discord bot key (Look at documentation for how to get this)": "My Bot key (i deleted the key for abusing reasons)",
"Verification Role (role given when verified)": "769486256475471895",
"Commands to execute when player is verified (use {0} for the player's steamid)": [
"inventory.giveto {0} scrap 300"
],
"Amount of characters in the code": 6,
"Erase all verification data on wipe (new map save)?": false,
"Characters used in the verification code": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
} send the code again, took me like 3 times.