Skip to content

Sod-ers/BB-Tracker

Repository files navigation

BB-Tracker

Scripts to detect map changes at BB Game Servers.

Dependencies:

BB GraphQL api key
Postfix
S-nail
Mailutils
Epson TM-T20II Software & Documents Disc (tmx-cups-2.0.3.0.tar.gz)

Automatic Execution & Request Rate Adjustment:

Adjust the directory structure for your system & add the following code blocks to your crontab file using the command crontab -e.

Set the path so the system will recognize the script.

PATH=/bin:/usr/bin:/home/soders/BB-Tracker/

Adjust the rate of execution by changing the star values. The current configuration executes every minute.

* * * * * bash -lc /home/soders/BB-Tracker/BB-Tracker.sh

Tip

https://crontab.guru/ is a good resource for this.

Enable & Disable:

Revoke permissions to execute the script. +x to enable.

chmod -x "~/BB-Tracker/BB-Tracker.sh"

Results:

When a map change is detected, print relevant info. Scanning the qr code sends a command to join the server:

steam steam://connect/149.56.38.33:27015

1

Asking Siri for the current maps:
2

Receiving an email when any of my favorite maps are detected:
3

Troubleshooting:

  • Check executable permissons on each script.
  • /dev/usb/lp1 may change, I print to lp0-2 to avoid this issue. You need to add your user to the group to have printing permissions.

Example: sudo usermod -a -G lp soders

  • Any other errors: Bailing out, you are on your own. Good luck.

About

Scripts to detect map changes at BB Game Servers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages