A framework for recording and simulating user interactions in RuneScape's Grand Exchange interface. This project captures human-generated input patterns and replicates them in a manner that emulates natural human behavior.
- Record mouse movements, clicks, and keyboard inputs
- Simulate recorded actions with human-like variations
- Hotkey controls for pause/resume functionality
- Window targeting and focus management
- Configurable timing and movement patterns
- Extensible pattern storage and analysis
- Python 3.8 or higher
- RuneScape client installed
- Windows operating system
- Clone the repository:
git clone https://github.com/yourusername/runescape_ge_automation.git
cd runescape_ge_automation- Create and activate a virtual environment:
python -m venv venv
.\venv\Scripts\activate # Windows- Install dependencies:
pip install -r requirements.txt- Configure the application:
- Copy
config.ini.exampletoconfig.ini - Update the paths and settings in
config.inito match your system
- Copy
- Start the application:
python main.py-
Control the application:
- Use
<Control>+<Alt>+Pto pause/resume recording or simulation - Add commands to
suggested_actions.txtto trigger recording or simulation
- Use
-
Recording a new pattern:
- Add a new command to
suggested_actions.txt - The application will enter recording mode
- Perform the desired actions
- Press
<Control>+<Alt>+Pto stop recording
- Add a new command to
-
Simulating a pattern:
- Add a command to
suggested_actions.txtthat matches a recorded pattern - The application will automatically simulate the recorded actions
- Add a command to
runescape_ge_automation/
├── main.py # Main application entry point
├── config.ini # Configuration settings
├── core/ # Core functionality
│ ├── command_parser.py
│ ├── recorder.py
│ ├── simulator.py
│ ├── state_manager.py
│ └── hotkey_manager.py
├── patterns/ # Stored action patterns
├── utils/ # Utility functions
│ └── window_utils.py
├── tests/ # Test files
└── requirements.txt # Project dependencies
- Set up development environment:
pip install -r requirements-dev.txt- Run tests:
python -m pytest tests/- Code style:
black .
flake8- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This tool is for educational purposes only. Use at your own risk and in accordance with RuneScape's terms of service.