Darts-extern automates multiple dart-web-platforms accordingly to the state of an https://autodarts.io game. A running instance of https://github.com/lbormann/darts-caller is needed that sends thrown points from https://autodarts.io to this application.
You will be able to play 1vs1 on supported dart-web-platforms with your autodarts-setup.
Functional principle (Using Lidarts as an example):
Platform | Bulling | X01 Single-In, Double-Out | Cricket Standard |
---|---|---|---|
Lidarts | ✔️ | ✔️ | ✔️ |
Nakka01-Online | ✔️ | ✔️ | |
Dartboards | ✔️ | ||
Webcamdarts |
Bulling supported does NOT mean it is automated; it only means that it is working properly without crashing the app.
git clone https://github.com/lbormann/darts-extern.git
Go to download-directory and type:
npm install
Create a shortcut of the executable; right click on the shortcut -> select properties -> add arguments in the target input at the end of the text field.
Example: C:Downloadsdarts-extern.exe --autodarts_user="your-autodarts-email" -autodarts_password="your-autodarts-password" --autodarts_board_id="your-autodarts-board-id" --extern_platform="lidarts" --lidarts_user="your-lidarts-email>" --lidarts_password="your-lidarts-password"
Save changes. Click on the shortcut to start the program.
node . --browser_path="path-to-your-chrome-browser-executable" --autodarts_user="your-autodarts-email" -autodarts_password="your-autodarts-password" --autodarts_board_id="your-autodarts-board-id" --extern_platform="lidarts | nakka | dartboards" --lidarts_user="your-lidarts-email>" --lidarts_password="your-lidarts-password" ... see full list of arguments below
--connection
Host address to data-feeder (darts-caller). By Default this is 127.0.0.1:8079 (means your local ip-address / usually you do NOT need to change this)
--browser_path
Absolute path to chrome or chromium executable. On Linux-os you can type "whereis chromium" to display installation-path in terminal. Replace "chromium" depending on which browser-package is installed, e.g. "google-chrome", "google-chrome-stable", "chromium-browser". You can also use "which" as an alternative to "whereis". On macos the path to google chrome is: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
--autodarts_user
autodarts.io user-email-adress
--autodarts_password
autodarts.io user-password
--autodarts_board_id
autodarts.io board-id
--extern_platform
Setup which platform is your target. Choose between lidarts, nakka, dartboards
--time_before_exit
How long the app wait before it exits after a match on target platform ended
--lidarts_user
lidarts user-email-adress
--lidarts_password
lidarts user-password
--lidarts_skip_dart_modals
Automates lidarts-dialogs (how many darts did you use)
--lidarts_chat_message_start
Chat text to send on match start
--lidarts_chat_message_end
Chat Text to send on match end
--lidarts_cam_fullscreen
Fullscreens opponent`s camera
--nakka_skip_dart_modals
Automates nakka-dialogs (how many darts did you use)
--dartboards_username
dartboards user-name
--dartboards_password
dartboards user-password
--dartboards_skip_dart_modals
Automates dartboards-dialogs (how many darts did you use)
This application requires a running instance of darts-caller https://github.com/lbormann/darts-caller
Thanks to Timo for awesome https://autodarts.io. It will be huge! Thanks to Reepa86 for the idea!