tzerk / bdo-watchdog Goto Github PK
View Code? Open in Web Editor NEWA monitoring tool for Black Desert Online with Telegram messaging support
License: MIT License
A monitoring tool for Black Desert Online with Telegram messaging support
License: MIT License
In some cases the whole internet connection will be lost, so sending a Telegram message will not work. The process should be terminated, but the Watchdog should try to stay alive and resend the Telegram message until succesfully delivered. Ony problem is how to distinguish between misconfigured (or missing) Telegram settings and lost internet connection. Will have to check http status codes.
Proper error handling is almost non-existing at the moment. Especially killing the processes "CoherentUI_Host" or the client itself will cause a panic and crash the program.
New feature, Low necessity:
I thought it could be nice to have an option, maybe a toggle button, to set all Black desert processes (including any CoherentUI_Host.exe instance) to low priority at once to further reduce their weight on system resources.
I don't know if it is possible to detect if BDO is minimized, if it is possible then it would be great to have an option to apply low priority automatically when the application gets minimized, and also restore it to normal priority as soon as it is not minimized anymore.
Add an integer penalty score that gets raised for each iteration the process is running, but disconnected. This is to avoid certain circumstances where the process is only temporarily "offline", e.g. when switching channels. The user must provide a penalty threshold value that must be reached to finally execute the exit conditions.
suggested by u/Xytech_
BDO spawns a couple of CoherentUI_Host.exe
processes, which are reported to be consuming too much RAM and/or have abnormal CPU usage. Maybe add another option to also find and kill all of these processes.
See reddit thread for reference.
Suggested by 7h4nt4zm on r/blackdesertonline
BlackDesert64.exe runs with elevated administration rights, which is why BDO Watchdog is not able to kill the process; unless it is started with elevated rights as well. Will need to figure out a way to have the compiled exe ask for elevated rights by default.
Add option to also send a timestamp in the Telegram message.
Suggested by u/itsprime on reddit
The application detects fine if the process is running or not, but it doesn't alert when the game dies after it has been running & connected before.
This should probably be fixed.
A notification doesn't have to be sent when it is first detected the game isn't running, but it should be when it closes after it has been up before.
For some reason the checkboxes always return false
.
Option to minimize to tray would be really nice.
Resources
Expected behavior:
Add an actionbutton that sends a test message to check whether the Telegram bot is working or not. This way the user does not need to wait for or provoke a disconnect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.