Welcome to the RPG MO Puppeteer Bot! This is a comprehensive automation bot that facilitates RPG MO gameplay. This bot can handle various tasks including gathering resources, combat, and stash management.
- Node.js and npm installed on your machine.
- Clone this repository.
- A 2Captcha API Key, for handling captchas.
The bot's configuration is done through the initializer.yaml
file. There is an example file included (initializer-example.yaml
) in the repository. Simply rename initializer-example.yaml
to initializer.yaml
and adjust its content according to your needs.
This bot uses the 2Captcha service to automatically solve the captchas that are occasionally presented by RPG MO. You must update the 2Captcha API key in the 2captcha/main.py
file to enable this feature.
The initializer.yaml
is where you set up the details of your bot instances. For each bot instance, the parameters that can be set include:
username
andpassword
: Your RPG MO account login details.proxy
: A boolean indicating if you want to use a proxy server.proxy-address
andproxy-port
: The address and port of the proxy server (required ifproxy
is set totrue
).proxy-username
andproxy-password
: Proxy authentication details, if required.login
: A boolean indicating whether the bot should log in.act
: A boolean indicating whether the bot should start operating after login.bot-type
: Determines the bot's behavior. Set to 'gathering
' for resource gathering, 'combat
' for fighting enemies.enemy-to-fight
: The enemy that the bot should fight (required ifbot-type
is set to 'combat
'). Note: The specified enemy must be in the same map.target
: The coordinates of the resource to gather (required ifbot-type
is set to 'gathering
').chest
: The coordinates of the chest where the bot will stash gathered resources.
All game data are exposed in the global scope. You can find new data and methods by logging "this" in the dev console of your browser while playing the game.
The target (resource/enemy) should be in the same map as the bot for the bot to function as intended. This bot operates in a simplistic way, making it open to improvements. Feel free to contribute to make the bot better and more efficient.
We look forward to expanding the bot's functionality in the future, perhaps making it able to traverse different maps and take on more advanced tasks. Contributions are welcome!
Use this bot responsibly and consider the RPG MO's terms and conditions. Do not use it to harm the game or other players. Enjoy!
This project is licensed under the MIT License. See the LICENSE
file for more details.