Bot goes offline / NullReferenceException at UpdateStatusError
Maybe a oxide.reload timer could be set for the plugin every so often so it refreshes the mod? every time i reload the mod it works fine also i noticed it stays on for longer if someone is on the server, so maybe a plugin that uses oxide.reload could help this issue if its possible to manipulate the oxide command just a thought.
This is working ok for me running for the last week
{
  "EnableInGameTime-Timer": false,
  "EnableRealTime-Timer": false,
  "EnableTimerOnce": false,
  "EnableTimerRepeat": true,
  "InGameTime-Timer": {},
  "RealTime-Timer": {},
  "TimerOnce": {},
  "TimerRepeat": {
    "o.reload DiscordAuth": 600,
    "o.reload DiscordStatus": 620
  }
}​
For everyone, please note: Use the version of this plugin ( V2.0.3 ) 

I'm running this version for approx 7 hours without issues. stats are up, reloads nice without issues. still wonder why it was removed on "request" while rust cord has the same.
5e741289efca0.png knoepert
I'm running this version for approx 7 hours without issues. stats are up, reloads nice without issues. still wonder why it was removed on "request" while rust cord has the same.

No plugin should be reloading themselves. The isuse is something that the Discord extension needs to have fixed, but the maintainers have yet to do so. Plugins reloading themselves just causes unnecessary resource usage and potential issues.

5e13a8d5b2bc5.jpg Wulf

No plugin should be reloading themselves. The isuse is something that the Discord extension needs to have fixed, but the maintainers have yet to do so. Plugins reloading themselves just causes unnecessary resource usage and potential issues.

what kind of issues if I may ask? Could you pinpoint certain aspects and examples? 

(19:29:01) | [Discord Extension] Discord socket opened!
(19:29:02) | [Discord Extension] Your bot was found in 1 Guilds!
(19:29:02) | Rustcord has replaced the 'report' chat command previously registered by Rustcord
(19:29:02) | Rustcord has replaced the 'bug' chat command previously registered by Rustcord
(19:31:54) | [Discord Extension] Discord connection closed uncleanly: code 1006, Reason: An exception has occurred while receiving.
(19:31:54) | [Discord Extension] Attempting to reconnect to Discord...
(19:31:55) | [Discord Extension] Discord socket opened!
(19:31:55) | [Discord Extension] Attempting resume opcode...
(19:31:55) | [Discord Extension] Session resumed!
(19:34:56) | Unloaded plugin Discord Status v2.0.3 by Tricky
(19:34:56) | Loaded plugin Discord Status v2.0.3 by Tricky
(19:34:57) | [Discord Extension] Discord socket opened!
(19:34:57) | [Discord Extension] Your bot was found in 1 Guilds!

normally, when this error happens, the bot dies with a thick NRE. But, when using the 2.0.3 version, nothing is going on. No lag spikes, no weird errors or issues.  

5e741289efca0.png knoepert

what kind of issues if I may ask? Could you pinpoint certain aspects and examples? 

Console/log spam, dependencies needing to be reloaded, server thread being clogged up while all of this happens constantly, etc.
hmm, that's disturbing indeed. Is this confirmed on multiply hosting? Let's hope tricky will update it someday. I believe its the only plugin that can make this happen if I'm correct for the rust servers? or are there other possibilities as well? 

Merged post

could this be a possible issue depending on the bot its usage? 

------

Devices using a proxy might show limited or no internet connection status

Devices using a manual or auto-configured proxy, especially with a virtual private network (VPN), might show limited or no internet connection status in the Network Connectivity Status Indicator (NCSI) in the notification area. This might happen when connected or disconnected to a VPN or after changing the state between the two. Devices with this issue might also have issues reaching the internet using applications that use WinHTTP or WinInet. Examples of apps that might be affected on devices in this state are as follows but not limited to Microsoft Teams, Microsoft Office, Office365, Outlook, Internet Explorer 11, and some version of Microsoft Edge.

Affected platforms:
Client: Windows 10, version 1909; Windows 10, version 1903; Windows 10, version 1809; Windows 10 Enterprise LTSC 2019; Windows 10, version 1803; Windows 10, version 1709

Server: Windows Server, version 1909; Windows Server, version 1903; Windows Server, version 1809; Windows Server 2019; Windows Server, version 1803; Windows Server, version 1709

The reason why I think this is that the bot basically keeps crashing is that it can't connect properly. Users with more than 1 Gameserver with similar IP but different ports could be affected.

Just roughly and hard thinking of course, yet again I don't know sack about modding ofc ( some people say it, not mine words. )
Sorry, im being abit stupid.
Is there a temp fix (how to i make the plugin autoload every 30min)
SpikyZA
Is there a temp fix (how to i make the plugin autoload every 30min)

knoepert recommendation of going back to version V2.0.3 worked for me. 

DuckTales

knoepert recommendation of going back to version V2.0.3 worked for me. 

As of today, the bot still didn't die, there was only 1 hiccup where it could not be reloaded but that was due to a discord related issue. This was however automatically resolved as the plugin still does its reloading. Way better than reloading it 20 times a day manually.

So, yes. its an idea to go back, but as Wulff said, it could get nasty.. even tho i still haven't seen any issues yet. Still use at own risk ofc.

5e741289efca0.png knoepert

As of today, the bot still didn't die, there was only 1 hiccup where it could not be reloaded but that was due to a discord related issue. This was however automatically resolved as the plugin still does its reloading. Way better than reloading it 20 times a day manually.

So, yes. its an idea to go back, but as Wulff said, it could get nasty.. even tho i still haven't seen any issues yet. Still use at own risk ofc.

Understood. I've also rolled back DiscordAuth, where i was getting similiar issues from the auto reload being removed.

The Bot goesoffline after a time. When i make oxide.reload DiscordStatus then the bot goes back online
Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <2688a15389244ccaaf252508c836b983>:0 
  at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <2688a15389244ccaaf252508c836b983>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0
An overwrite of the existing .cs file from downloading the plugins again solve the issue.