fl-DarkBot - 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) +--- Thread: fl-DarkBot (/showthread.php?tid=188040) |
RE: DarkBot - darkwind - 02-22-2023 A quick rush to new milestone was made 2023-02-21: New darkbot version v0.3.0 is released # New Features Bringing alerts to player amount and alerts to base states.
Also base table view had added additional attributes
# How to get started with new features
# Contacts
P.S. thank you again @Xenon for moral support P.P.S. next milestone to achieve is v0.4.0 P.P.P.S. small notification that all Darkbot settings are individual to connected Discord server channel. Another channel at the same server can be having completely different configuration. RE: DarkBot - darkwind - 02-23-2023 Reported issue: Message of some tables is deleted and recreated, causing unexpected unnecessary message sending. Also during same issue, becomes calculated wrong base health change causing unnecessary alarm regarding baseUnderAttack Status: 23-02-23: Investigating issue. Old issue with memory overflow is not detected. 23-02-23: Possible clue discovered: Only information regarding player bases malfunctioned. 23-02-23: Origin of error is discovered. Failure in quering Freelancer Base API, with returned not expected response body causes those issues, period of Freelenacer Base API failure from 12:04:54 to 12:12:57 23-02-23: Making fix 23-02-23: Deployed fixed version v0.3.3 with properly handled data from errored Freelancer Discovery Base API data 23-02-23: Monitoring applied solution RE: DarkBot - darkwind - 02-26-2023 By request of Aingar, recreated link to invite bot with minimal set of permissions Requested permissions:
P.S. due to discord changing permissions from time to time, having admin level of permissions is still less of a hassle in a long run. Keeping admin link. RE: DarkBot - darkwind - 02-26-2023 Reported issue: Aingar reported problem of not having access to bot commands Status: 23-02-26: Deployed version v0.3.4, which fixes access for people with bot_controller role to work Due to security reasons, access to bot commands is restricted to Server owner or person with role bot_controller. Because bot deletes all messages in channel to which it is connected (after u run `. connect` command in some channel. run `. disconnect` command to stop this behavior) Added message regarding that to main post with instruction P.S. also 23-03-01: Deployed version v0.3.9, which fixes:
RE: DarkBot - TheDoctorXI - 03-02-2023 Just put this back to work on a server after crawling out from underneath a rock. Great work @darkwind, thank you very much. Looks great! RE: DarkBot - darkwind - 03-25-2023 23-03-25: Deployed version v0.3.10, which fixes:
RE: DarkBot - darkwind - 04-16-2023 2023-04-16 23-00: Small issue
Raising server: OK Deploying microk8s: OK Restoring backup: OK (found 2023-04-03 dated backup. two weeks ago made) Deploying darkbot: OK 2023-04-16 23-59: Restoring status: OK, server is fully restored back to normal. two weeks data loss. Postmortem thoughts: everyday backup with cron job to S3 bucket will be made later. If it would have been present today, restoring process could have been with less data loss. 2023-04-18: added automated daily backups RE: DarkBot - darkwind - 08-11-2023 2023-08-11 15-00: Incident: Bot being barely online. Not responding to commands but still working
Discovered insufficient hardware resources at server. That led to infinity rebooting loop of application, that made it barely, but functional Looks like increased amount of resources as server was all that was required to fix situation 2023-08-11: Restoring status: OK Postmortem thoughts: Could be nice to setup more through monitoring system with automated alerts. eventially Postmortem thoughts #2: I should replace microk8s with simple terraform docker provider ^_^. It will be far less resource hungry solution. RE: DarkBot - Xenon - 08-11-2023 Thank you very much for keeping this bot alive and available for free for players RE: DarkBot - darkwind - 08-11-2023 (08-11-2023, 02:53 PM)Xenon Wrote: Thank you very much for keeping this bot alive and available for free for players |