Git Product home page Git Product logo

bdo-watchdog's People

Contributors

tzerk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bdo-watchdog's Issues

Resend Telegram messages if first try was unsuccessful

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.

Improve error handling

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.

Addition: Add option to set BlackDesert64.exe process as low priority process

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 penalty score to avoid false-positives

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_

Kill all 'Coherent UI' processes

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

Activate 'kill on disconnect' option

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.

Message/alert not sent when process dies

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.

Add Telegram test button

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.