Discovery Gaming Community
POB and player monitoring/alerting bot for Discord - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Developers Forum (https://discoverygc.com/forums/forumdisplay.php?fid=183)
+---- Forum: Discovery Unofficial Development (https://discoverygc.com/forums/forumdisplay.php?fid=389)
+---- Thread: POB and player monitoring/alerting bot for Discord (/showthread.php?tid=169754)

Pages: 1 2 3 4 5


RE: POB and player monitoring/alerting bot for Discord - evanz - 06-21-2019

trying to add 2nd base, its not working, ive tried "!addbase" and "!add base" both with the base name, nothing happens


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 07-02-2019

(06-21-2019, 07:22 PM)evanz Wrote: trying to add 2nd base, its not working, ive tried "!addbase" and "!add base" both with the base name, nothing happens
Did you sort yourself out?
My assumption is that Pobbot is either not a member of the server/channel or you have removed it's permissions to send messages?


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 06-10-2020

Update 12:
This has been running on my test server for 6 months - I didn't add everything I wanted to so it wasn't release it at that time, but it is confirmed as stable and better than the current version.

Note - there are some permission changes so that pobbot configuration commands require MANAGE MESSAGES permissions. I'm not sure if these restrictions work or not.
I last modified this 6 months ago so there may be items not listed below which have changed that I have not mentioned.

Improvements:
  • Base health is now displayed constantly, so !base command is no longer relevant. This is displayed in the same way as Player status messages.
  • Player Alert messages are now removed when there is no longer any player within the defined area. This was previously removed after 2 hours whether still relevant or not.
Fixes:
  • If the bot asks Discord about a channel and Discord gives an invalid response this no longer wipes the channel configuration.
  • The previous pobbot status messages are removed more reliably.

Thanks again for your continued use and feedback. I may have some hosting problems in the near future but will update when this is more clear.


RE: POB and player monitoring/alerting bot for Discord - Xenon - 06-10-2020

Your work is amazing @dr lameos - Thanks for the great bot Smile


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 06-11-2020

Current alerts:
I am aware that channels are being sent incorrect 'Under Attack' notifications. As far as I can see this is due to the forums page https://discoverygc.com/forums/bases.php not updating correctly/not updating on the same schedule. The players API is also currently unavailable so I will investigate further if it continues when the dust settles from the server migration.

This behaviour is known when the forum page misses an update cycle. It may also be that POB degradation has been increased, and so this is over the threshold for an attack - but in this case I would expect the base to be under constant attack, not intermittent as it is currently.

Instead of this:
100%
99.995% (degrading)
99.99% (degrading)
99.985% (degrading)
99.980% (degrading)

The page is doing this:
100%
99.995% (degrading)
99.995% (static)
99.985% (attack)
99.98% (attack end - degrading)


RE: POB and player monitoring/alerting bot for Discord - Alex. - 06-11-2020

(06-11-2020, 05:06 PM)dr lameos Wrote: the forums page https://discoverygc.com/forums/bases.php not updating correctly/not updating on the same schedule. The players API is also currently unavailable so I will investigate further if it continues when the dust settles from the server migration.

The API should be working again as of 1806 UTC. AFAIK bases.php should be working fine.


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 06-12-2020

(06-11-2020, 10:29 PM)Alex. Wrote:
(06-11-2020, 05:06 PM)dr lameos Wrote: the forums page https://discoverygc.com/forums/bases.php not updating correctly/not updating on the same schedule. The players API is also currently unavailable so I will investigate further if it continues when the dust settles from the server migration.

The API should be working again as of 1806 UTC. AFAIK bases.php should be working fine.
Thanks for the reply Alex, it's been a lot more stable today vs yesterday.
Great work on the migration too, I gather it's been pretty smooth. I know first-hand what a pain they can be to organise and perform. Smile


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 08-24-2020

(06-10-2020, 04:30 PM)dr lameos Wrote: I may have some hosting problems in the near future but will update when this is more clear.
Due to changes at work I have needed to move this bot from a private server. This is now running on glitch.com.
The latest code is now always available at https://glitch.com/~live-pobbot

This also includes some changes!
Update 14:
FIX Bot no longer restarts every night but will restart automatically if it encounters an error/network issue
NEW FEATURE The base status messages are now colour coded (pc only)
NEW FEATURE If a base you are monitoring is mentioned in the Attack Declaration thread it will notify you

There might be some teething problems with the transition, please bear with me.


RE: POB and player monitoring/alerting bot for Discord - TheKusari - 10-05-2020

(08-24-2020, 05:28 PM)dr lameos Wrote:
(06-10-2020, 04:30 PM)dr lameos Wrote: I may have some hosting problems in the near future but will update when this is more clear.
Due to changes at work I have needed to move this bot from a private server. This is now running on glitch.com.
The latest code is now always available at https://glitch.com/~live-pobbot

This also includes some changes!
Update 14:
FIX Bot no longer restarts every night but will restart automatically if it encounters an error/network issue
NEW FEATURE The base status messages are now colour coded (pc only)
NEW FEATURE If a base you are monitoring is mentioned in the Attack Declaration thread it will notify you

There might be some teething problems with the transition, please bear with me.

Your github page for the bot says it was updated 2 years ago. Any other way to get the updated bot files if I wanted to host the bot myself?


RE: POB and player monitoring/alerting bot for Discord - Juan Loppez - 11-14-2020

Hey all, good work here< Thanks
Just a question, the Pobbot keeps forgetting the added bases, am i doing any wrong or how to fix this?