Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aegis-dev/simple_mmo_simpler_bot
Simpler bot for SimpleMMO
https://github.com/aegis-dev/simple_mmo_simpler_bot
bot js puppeteer
Last synced: 20 days ago
JSON representation
Simpler bot for SimpleMMO
- Host: GitHub
- URL: https://github.com/aegis-dev/simple_mmo_simpler_bot
- Owner: aegis-dev
- License: mit
- Created: 2021-10-12T17:44:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T18:24:56.000Z (over 3 years ago)
- Last Synced: 2024-11-19T11:11:51.396Z (3 months ago)
- Topics: bot, js, puppeteer
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple_mmo_simpler_bot
Simpler bot for SimpleMMOThis project is no longer maintained and is/was stable at the date of publishing.
I made this bot for personal educational purposes and I was using it until I got banned.
Cheating is bad and you will get punished!I am publishing this project for educational and archival purposes only. Seriously, don't cheat!
## Features
* Walking
* Attacking mobs (bot might be too obvious and that might be the reason I got banned)## Usage
Restore dependencies:```
npm install
```Common usage:
```
node bot.js [email protected] P4sw0rd
```You can use -a flag to enable mob fighting. You may get noticed earlier and banned. Use it at your own risk.
```
node bot.js [email protected] P4sw0rd -a
```You can use minimal bot which can only walk. You will need walking API token. You can use API token that is printed after bot.js initializes after authentication
ore you can go to web version of this game in the browser and get one from the walk HTTPS request body like shown in the image below.![API token extraction](api-token.png)
```
node minimal-bot.js cCHFGrc23tWGTzynGEolacsdM3HExdutEBVpmqbPcszdaQrN9935Iv3KdM7
```## Insights
From the beginng of the bot development I noticed that walking API absolutely differs from all activities in the game.
I always had a feeling as if they simplified access to walking action so people could try to attempt writing bots (checkout minimal-bot.js).
It was really trivial to analyze walking action and simplest replay attack in the browser just worked. I noticed that they are also sending cursor coordinates
so I just randomized it a little bit to simulate human clicks. After adding some natural delay between walks the minimal bot became pretty stealthy and got me hundreds of levels.