- It implements Discord bot to track player bases, players themselves and forum posting with notifications to Discord.
- The logic of it: User connects darkbot to some discord channel, and sets settings which space bases, player tags or space systems to track. Darkbot repeatedly updates information to discord channel
darkbot 0.3
since forumlancer bot is broken, I added its features to darkbot now.
funny enough, you can thank @Groshyr again for kicking me to do that.
new feature:
You can track appearance of new forum messages.
Reported issue:
Unexpected high CPU and disk writing takes place at some point of time. Taking up to 100% of resources, including high disk resource writing
Leading at some point to auto reboot of kube cluster
Status:
2023-01-25: Temporal solution #1 for autorecovery during this problem is ensured to be. Application will autorelaunch on its own during if problem will happen again
2023-01-25: Temporal solution #2 is found. Added limit to running POD in terms of CPU, which will force its automated restart if it goes above the limit. It will ensure automated restart within healthy parameters of a server
2023-01-26: 24 hours passed without repeated incident in CPU peaks, monitoring for few days more.
2023-01-29: Reason is identified: in 1 hour RAM storage is overfilled with scrapped data, which leads to using disk swap, which causes intensive desk reading/writing, which leads to cluster death and reboot.
2023-02-05: Source reason is found, not closed DB connections in factored objects prevented their garbage collections and accumulated in ram memory. Together with slice copying of array of pointers, which prevents garbage collection of memory objects too.
2023-02-05: Source reason is fixed, and monitored in staging as being passing solution
2023-02-05: Awaiting deployment 2023-02-12: deployed memory overflow fixed version v0.1.1
Excellent progress @darkwind --- This is awesome!
Keep up the good work and thanks for all the efforts
I am looking forward to seeing a better fancy layout/format for the POBs information by the bot.
Ability to add neutral, friend and enemy players for tracking
# How to get started with new features
. --help to check all commands, . player --help to check new player commands, . player friend --help to check specific sub commands available to certain player group
. player region add Liberty to track all neutral ships in Liberty region
. player system add Kepler to track all neutral ships in Kepler system
. player friend add RN to add to friends RN, which will be tracked across all universe
. player enemy add TTT to add to enemy tracking faction TTT, which will be tracked only in Liberty and Kepler
P.S. thank you @Xenon for your kind words, inspiring to move forward
P.P.S. next milestone to achieve is v0.3.0, to bring alerting features
P.P.P.S. 2023-02-19: version v0.2.1 is released.
- fixed unnecessary message resending with player tables, if no players were present and then appeared.
I like your work a lot dude, and I think that the view for the bases information can be enhanced more
The messages in an embed style are against your opinion, yet you gave it a shot.
I am glad that you are of those developers that communicate with the community and check what they want.
Please, keep on the good work flowing into discovery, and best of luck on the next update