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 5


RE: DarkBot - darkwind - 11-25-2023

## Deployment **v1.5.0**2023-11-25 v1.4.0...v1.5.0

## Features
### feat
* u can order bases by different columns

Feature request is fulfilled for @Aingar
[Image: hSmmx6A.png]

New available command examples:
* . base order_by to check available ordering keys
* . base order_by set name
* . base order_by set affiliation
* . base order_by status checking current ordering rule
* . base order_by unset unsetting ordering rules


RE: DarkBot - darkwind - 12-14-2023

new deployment

changelog Wrote:v1.5.1 2023-12-18 (6f0a2c3b...ff227881)
Fixes
fix

<@381567591816364034> , Fenrir reported unusual behavior of the Darkbot. investigation lead to discovery of potential memory corruption in handling commands.
rewrote a bit memory initialization which should increase durability against memory leaks.

Command that stopped responding was as example `. forum thread watch add The Enigma Confederacy`
It just printed broken help information instead.
I added extra memory initialization to command buffers, so in theory should be solved
But better to be monitored for reaapearing

UPD 2023-12-17. 3 days observation showed bug did not resurface. discontinuing monitoring. Marking bug as solved


RE: FlDarkBot - darkwind - 12-18-2023

This msg was deleted


RE: Darkbot - darkwind - 06-03-2024

[Image: 232cd780-b25f-11ea-9d76-552e8e4182f8]

Anouncement - Wubba, lubba, dub, dub!



RE: Darkbot - darkwind - 06-09-2024

2023-06-09 12-46: Small incident
  • App stopped running yesterday

For mysterious reason, app stopped responding correctly in microk8s cluster. Rebooting server did not fix it. microk8s got broken.
Investigation did not find any root reason what happened with microk8s cluster.
Thankfully i had plan in advance regarding that, and just made fallback to good old running as regular docker container, that is way more reliable and stable.

Restoring status: OK, app is back to normal

Postmortem thoughts: could be nice to add healthcheck status with automated alerting.
Probably i should cleanup microk8s cluster from server. May be reinstalling it from zero with help to it.

=====

Another update: Actually just running snap remove microk8s --purge and getting it back helped to get things back to normal too.


RE: fl-DarkBot - darkwind - 07-19-2024

## Deployment **v1.6.1**2024-07-20

added quality of life feature to query all configurations for a channel in one command . conf




RE: fl-DarkBot - darkwind - 07-29-2024

## Deployment **v1.6.10**2024-07-29

Just fixes to documentation pretty much and general maintenance with dependencies updates

For player "Shelco" was discovered problem with forum tracking bot features sending only empty msgs.
Problem appeared to be with insufficient permissions granted to bot. Discord at some point added "Embed Link" as separate permission apparently not present in older generated invite link.
As long term solution changed as default recommendation to invite bot as admin in documentation
Offering as non admin only as optional choice to use Angel


RE: fl-DarkBot - darkwind - 11-22-2024

## Deployment **v1.6.11**2024-11-22 - Aligning escapings in darkbot responses

a player reported issue regarding escaping problems to match players with nicknames like R\-Smth

The confusion appeared from
  • Discord input escaping things
  • Golang standard fmt.Println escaping things when showing how stuff is in . conf command
  • Discord escaping things on render in addition
it was all not aligned how escapes are in the end work, as each level showed them differently.

I aligned all darkbot responses to be showing exactly the same amount of escaping. (When dealing with \ characters )
U will see right away how you added tag, how it is seen in . conf command
and you will see exactly the same in rendered tables now.

That will help you eliminate the confusion.

At the end of a day you just needed to add target as . player friend add R\- without any extra escapings. You added escapings and that's why things became not valid due too extra not needed escapings.
Deployed version of a darkbot will help to eliminate all the confusions as it has all escapings made to a same level.

Tested in game until i was able to match R\Nickname\-Tester correctly with just writing . player friend add R\Nick
I did not escape anything during command writing (sun)




RE: fl-DarkBot - darkwind - 02-03-2025

## Deployment **v1.9.0** - Info quering search command
  • funny info quering command. It can get info about Bases, Cloaks, Missiles, Mines, Engines, Tractors/IDs, Thrusters, Pobs, Commodities, Scanners, Shields, Ammo, Factions, Player Owned Bases, and etc same stuff as tabs exist for in darkstat
  • it can search entities by partial or full names (including from first line of infocard), or can get exact one by nickname ^_^
  • it prints data about entity right away if it finds only a single match, or if you inserted precise nickname
  • If it matches multiple entities, it offers up to 10 entities to specify your request more precisely.
  • The data is pulled from darkstat, so if item has for example crafting recipes, it will be printed as part of its infocard
  • The command prints some parameters of an object, and then its infocard + whatever darkstat prints into infocard






RE: fl-DarkBot - darkwind - 03-15-2025

## Deployment **v1.10.0** - Players online as status ( implemented for @"Henry320" ) Code diff
  • Showing players online in bot status

[Image: status_players.png]