Discovery Gaming Community
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)

Pages: 1 2 3 4


fl-DarkBot - darkwind - 05-08-2021

Darkbot - Introduction

[Image: fulllogo.png]
  • - 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


Important links

See documentation for getting started


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, player of forum tracking
  • - Adding forum post for tracking
  • - Event helping to check participants.

base tracking view:
[Image: base_render3.png]

player tracking view:
[Image: player_render2.png]

forum posting notifications:
[Image: forum_tracking.png]

event people helping tracker:
[Image: events_table.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
  • Forum tracking is inspired by Biqqles project forumlancer

Contacts
Developers

@darkwind (Golang / Testing / Deployment)
@Alex. (API access)




RE: DarkBot - SlappyTheRoach - 05-08-2021

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.


RE: DarkBot - darkwind - 07-17-2021

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.

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

[Image: forum_example.png]


RE: DarkBot - Xenon - 06-25-2022

is it coming back anytime soon buddy?


RE: DarkBot - darkwind - 01-25-2023

Moved to first post


RE: DarkBot - darkwind - 01-25-2023

Reported Issue:
Storage was ephemeral and self deleted itself during auto recovery from problems

Status:
Issue is solved
Storage is changed to persistent


RE: DarkBot - darkwind - 01-25-2023

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


RE: DarkBot - Xenon - 01-29-2023

Excellent progress @darkwind --- 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.



RE: DarkBot - darkwind - 02-19-2023

[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 @Xenon 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.


RE: DarkBot - Xenon - 02-20-2023

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