8000 GitHub - auto-dev-repos/Old-Python-Stuff
[go: up one dir, main page]

Skip to content

auto-dev-repos/Old-Python-Stuff

Repository files navigation

Old Python Stuff

Automation scripts for RuneLite interactions, using Python and screen-based inputs. This project uses screenshot detection, hotkeys, and custom mouse/keyboard handling to automate certain game activities such as construction, crafting, fletching, potions, and pickpocketing.


🔧 Installation

  1. Install Python 3.10+

    Recommended: Use a virtual environment.

    python -m venv venv
    source venv/bin/activate  # or venv\Scripts\activate on Windows
  2. Install dependencies

    pip install -r requirements.txt
  3. (Optional) Set up screen resolution and DPI scaling

    The bot is image-dependent. Run at 100% display scaling and in fixed windowed mode at the resolution the screenshots were captured in.


▶️ Running a Script

Each .py file in the root directory performs a specific task. Run them individually using:

python construction.py

or

python potions.py

Check each script for hotkey bindings or controls (e.g., pressing F8 to start).


📁 File & Folder Structure

FUNFUNFUN/
│
├── autoclick.py             # General-purpose auto clicker
├── construction.py          # Automates Construction training
├── coords_builder.py        # Tool to build and debug coordinate mappings
├── custom_keyboard.py       # Abstraction for simulating keyboard input
├── custom_mouse.py          # Abstraction for mouse actions
├── fletch.py                # Automates Fletching tasks
├── pickpocket.py            # Automates pickpocketing
├── potions.py               # Automates potion-making
├── pray_hotkey.py           # Prayer toggling or hotkey helper
├── requirements.txt         # Python dependencies
│
├── bank/                    # Screenshots for bank UI interactions
├── construction/            # Screenshots needed for Construction script
├── craft/                   # Icons used in Crafting context
├── inv/                     # Inventory item screenshots (required for all tasks)
│
└── __pycache__/             # Auto-generated cache from Python; safe to ignore

🖼️ Screenshots Required

For the scripts to work, you must have matching screenshots in these folders:

  • bank/ – includes buttons like “deposit-all”, “withdraw-14”, “close”, and banker NPC
  • construction/ – includes building UI (e.g., build.png, talk.png, dialogue.png)
  • craft/ – potion level icons and prayer item icons
  • inv/ – inventory items like feather.jpg, log.jpg, pouch.png, and potions

If your screen or UI looks different, you’ll need to capture fresh images and replace the ones in these folders.

Use PNG or JPG as appropriate (stick to the existing formats).


✅ Notes

  • This project does not interact with the game client directly. It uses screen scraping and keyboard/mouse emulation.
  • Scripts assume RuneLite is in focus and UI elements are static.
  • You may need to tweak coordinates or delays if behavior is inconsistent.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0