Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

RdpControl logo

RdpControl

See what your macro is doing, from Discord.
Screenshots on demand, alerts when your game crashes or your screen freezes, and remote key presses, all in your DMs.


Inspired by Natro's /ss. RdpControl runs next to any macro for any game and DMs you when something goes wrong.

Commands

All commands work in your DMs with the bot, and only for you.

Command What it does
/ss [screen] Screenshot every screen, or just one (1 = leftmost). Big screenshots are auto-compressed to fit Discord.
/status Bot uptime, internet, CPU / RAM / disk, PC uptime, the active window, and whether your watched game is running.
/watch <minutes> Send a screenshot every N minutes. /watch 0 stops it.
/key <keys> Press a key on the PC, e.g. f1 to start your macro, f3 to stop it, or a combo like ctrl+shift+r.
/stop Shut RdpControl down.

Automatic alerts

  • 🔴 Game closed. Set watch_process (e.g. RobloxPlayerBeta.exe) and you get a DM with a screenshot the moment it closes or crashes, and another when it's back.
  • 🧊 Frozen screen. Set freeze_alert_minutes and you get a DM when nothing on screen has changed for that long, which usually means your macro is stuck.
  • 📶 Internet outage. When your connection drops and comes back, you get one report with when it went down, when it came back, and how long it was out.

Setup

  1. Make a bot.
    • Open the Discord Developer Portal and click New Application.
    • Go to Bot → Reset Token, and copy the token.
    • Go to Installation, tick Guild Install, and use the link to add the bot to a private server you're in. You need to share a server with the bot to DM it.
  2. Get your user ID. In Discord, turn on Settings → Advanced → Developer Mode, then right-click yourself → Copy User ID.
  3. Install and run. You need Python 3.10+.
    pip install -r requirements.txt
    python Main.py
    The first run asks for your token, your user ID, the name of this PC, and the optional alerts. Your settings are saved in config.json.

To change your settings later, run python Main.py --setup. New slash commands can take a few minutes to show up in Discord.

🔒 config.json contains your bot token. Never share it or commit it (it's already in .gitignore). You can also pass the token with the RDPCONTROL_TOKEN environment variable.

Settings (config.json)

Key Default
node_name your PC's name Shown in alerts, so you can run it on several PCs
check_interval_seconds 10 How often to check the internet and the watched process
watch_process "" Process to watch, e.g. RobloxPlayerBeta.exe
freeze_alert_minutes 0 (off) Alert after the screen is unchanged this long
freeze_sensitivity 1.5 Raise it if clocks or small animations stop the alert from firing

Upgrading from v1? Your old config.txt is converted to config.json automatically.

Development

python -m unittest      # offline tests, no Discord or screen needed

The code lives in rdpcontrol/:

  • bot.py: commands and watchers
  • capture.py: screenshots
  • system.py: internet, stats, processes, keys
  • config.py: settings

⭐ If RdpControl saves your grind, a star helps a lot.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages