• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum
1 2 3 4 5 Next »
fl-DarkBot

Server Time (24h)

Players Online

Active Events - Scoreboard
Corsair Kills - 0 / 1,000
Lawful Kills - 0 / 1,000
Red Hessian Kills - 0 / 1,000
Unlawful Kills - 0 / 1,000

Latest activity

Pages (5): « Previous 1 2 3 4 5 Next »
fl-DarkBot
Offline darkwind
02-22-2023, 12:22 AM, (This post was last modified: 02-22-2023, 10:42 AM by darkwind.)
#11
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer



A quick rush to new milestone was made (sun)

2023-02-21: New darkbot version v0.3.0 is released

# New Features
Bringing alerts to player amount and alerts to base states.
  • - if more than X neutral players are present
  • - if more than X enemy players are present
  • - if more than X friendly players are present
  • - if base health is decreasing
  • - if base health is below threshold like X%
  • - if base is under attack (triggered by rapid health decrease or spotted base name in attack declaration thread)
  • By default, only Discord server owner is pinged by those alerts! You can change this by setting different pinging target by running . alert ping_message @your_new_pinging_target
Example of alert
[Image: alert1.png]

Also base table view had added additional attributes
  • - Health change of base for the last 15 minutes
  • - And as warning red non-pinging statuses, if it has its health decreaing or under attack
[Image: base_render3.png]

# How to get started with new features
  • . --help to check all commands, . alert --help to check new alert commands, . alert base_health_is_lower_than --help to check specific sub commands available to certain alert command
  • . alert base_health_is_lower_than set 90 to set receiving alerts if any tracked base has health lower than 90%
  • . alert base_health_is_decreasing enable to set receiving alerts if base health is decreasing
  • . alert base_is_under_attack enable to set receiving alerts if base health is rapidly decreasing or mentioned in attack declaration thread
  • . alert player_enemy_count_above set 2 to set receiving alerts if 2 or more enemies appeared in tracked location
  • . alert player_friend_count_above set 1 to set receiving alerts if 1 or more friends appeared in tracked location
  • . alert player_neutral_count_above set 2 to set receiving alerts if 2 or more neutral ships appeared in tracked location
  • . alert player_neutral_count_above unset disabling alert which had set value (you can find it with --help command)
  • . alert player_neutral_count_above disable disabling alert which had enable value (you can find it with --help command)
  • . alert player_neutral_count_above status checking alert status (you can find it with --help command)

# Contacts
  • join Darklab discord server
  • write to Discovery forum account
  • or write to email dark.dreamflyer@gmail.com
  • Github repository of the project

P.S. thank you again @Xenon for moral support (sun)
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.


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
02-23-2023, 12:45 PM, (This post was last modified: 02-23-2023, 01:44 PM by darkwind.)
#12
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

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


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
02-26-2023, 01:04 AM, (This post was last modified: 11-25-2023, 10:07 PM by darkwind.)
#13
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

By request of Aingar, recreated link to invite bot with minimal set of permissions

Requested permissions:
  • Send messages - for main functionality
  • Read messages/View Channels - for main functionality
  • Read Message history - for properly working msg deletion in connected channel
  • Manage Messages - for properly working msg deletion in connected channel
  • Mention Everyone - for properly working alert configurations in edge cases

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.


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
02-26-2023, 01:55 PM, (This post was last modified: 03-02-2023, 10:40 PM by darkwind.)
#14
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

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:
  • bug with incorrect shown Health Change in last 15 minutes (NaN shown numbers)
  • bug with re triggered alerts during new darkbot deployment
  • bug with no response from darkbot, when you try to command him with insufficient permissions. It now responds in any case, with information what you need
  • bug with not working base attack declaration. Now it detects any bases mentioned at last page of Base Attack declaration thread


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline TheDoctorXI
03-02-2023, 02:25 AM,
#15
Member
Posts: 1,232
Threads: 60
Joined: Nov 2017

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!

[Image: 330px-Flag-liberty.png]
[Image: 5SPjwNr.gif]

Information ≛ Recruitment ≛ After Action Reports ≛ Feedback

"Honour. Courage. Commitment."
Discord Server: [X]
TheDoctorXI
Discord: thedoctorxi
Liberty Navy 46th Fleet


  Reply  
Offline darkwind
03-25-2023, 05:00 AM, (This post was last modified: 03-25-2023, 05:02 AM by darkwind.)
#16
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

23-03-25: Deployed version v0.3.10, which fixes:
  • bug with too much sensitive attack base declaration. Decreased threshold of sensitivity to 0.01 if health dropping in 15 minutes (reported by Xenon)
  • bug alerts of health lower than X, showing wrong bases instead. (reported by Zelliaind)


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
04-16-2023, 10:24 PM, (This post was last modified: 04-18-2023, 01:05 PM by darkwind.)
#17
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

2023-04-16 23-00: Small issue
  • Accidentally deleted server

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


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
08-11-2023, 02:38 PM, (This post was last modified: 08-11-2023, 04:16 PM by darkwind.)
#18
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

2023-08-11 15-00: Incident: Bot being barely online. Not responding to commands but still working
  • Notified by schmiddy93 to my discord: 370435997974134785 / darkwind8

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.


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline Xenon
08-11-2023, 02:53 PM,
#19
Member
Posts: 2,137
Threads: 191
Joined: Feb 2016

Thank you very much for keeping this bot alive and available for free for players Smile

[Image: 2aD52st.png]
NEBULA INFORMATION BOT ☆ NEBULA DISCORD SERVER
XENON WEAPONS MARKET ☆ NEBULA GRAND PLAZA ☆ NEBULA TECHNOLOGIES

THE DISCOVERY POBCAST ☆ DISCOVERY SERVER RULES

Reply  
Offline darkwind
08-11-2023, 03:02 PM, (This post was last modified: 08-11-2023, 03:03 PM by darkwind.)
#20
Frontier Sheriff
Posts: 1,177
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

(08-11-2023, 02:53 PM)Xenon Wrote: Thank you very much for keeping this bot alive and available for free for players Smile

[Image: cat-cat-pawsitive-cattitude-memegeneratornet]


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Pages (5): « Previous 1 2 3 4 5 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
2 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode