Discovery Gaming Community

Full Version: Darkbot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
looking how old pobbot got broken and stopped showing players,
and after being asked by to try repairing the old one, I decided

[Image: qngO445.png]

and here it comes the FlDarkBot

[Image: FdcH5P2.png]

... Some time gap later...

[Image: 8675309.jpg]

FlDarkbot returns with 3-hd remake from zero.
  • It underwent a major refactorization and now reimplemented in golang with clean architecture for code scalability to add new features
  • general stability added, because all errors are now handled way better with Golang approach that handles most of them at compile time.
  • project saves ready for deployment docker images at docker hub
  • fldarkbot has its own server now only for itself

# Features
  • Adding player bases for tracking in discord channel
  • Adding players for tracking based on tag in nickname or star systems / regions to track
  • Adding configurable alert triggers to base and player tracking
  • Adding forum post for tracking
# Project status
  • (sun) in maintenance mod (sun). All planned features were delivered.

# How to get started
  • invite both to server by link
  • You must be Server owner or having bot_controller role in order to command the bot.
  • add to some channel by writing . connect
  • get help which commands are available by . --help or requesting help on sub commands . base --help
  • add base tag for tracking . base tags add Research Station
  • confirm it was added . base tags list
  • in around 20 seconds you should see rendered and constantly updated view at this channel
  • remove tag by . base tags remove Research Station or by . base tags clear

[Image: base_render.png]

# Acknowledgements
  • Freelancer Discovery API provided by Alex as a way to deliver info from Flhook to the bot
  • Pobbot originally made by dr.lameos sparkled this project
See up to date wiki here

# Contacts
Developers

(Golang / Testing / Deployment)
(FLhook and API)
Looking good, nice easy commands to follow through the wiki you have linked. Be cool to see what else this bot can do. Keep up the good work.
darkbot 0.3
since forumlancer bot is broken, I added its features to darkbot now.
funny enough, you can thank again for kicking me to do that.

new feature:
You can track appearance of new forum messages.

how to use in docs:
https://dd84ai.github.io/darkbot/info/forum.html

[Image: forum_example.png]
is it coming back anytime soon buddy?
Moved to first post
Reported Issue:
Storage was ephemeral and self deleted itself during auto recovery from problems

Status:
Issue is solved
Storage is changed to persistent
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.

[Image: Screenshot_20230128_195634.png]


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 --- This is awesome!
Keep up the good work and thanks for all the efforts Smile
I am looking forward to seeing a better fancy layout/format for the POBs information by the bot.
[Image: _128410661_rick-and-morty-s4-image.jpg]

2023-02-19: New darkbot version v0.2.0 is released

# New Features
  • New base view suggested by Xenon.
  • Ability to add neutral, friend and enemy players for tracking

[Image: base_render2.png]
[Image: player_render2.png]

# 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


# Contacts
P.S. thank you for your kind words, inspiring to move forward Heart
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 Wink
Pages: 1 2 3 4