The tool for analysis oases (free or occupied) and searching animals (Elephant and etc).
Tested in Shadow Empires, Fire and Sand and Legends (4).
- clone the repo
- install the dependencies,
yarn install
- run
npm run preinstal
ornpm run preinstal-windows
- you should probably register new fake account for these manipulations.
Set correct configuration in:
.env
filesrc/config/cookie.txt
file
-
Open map, https://your-game-world.travian.com/karte.php
-
Open DevTools(F12 Chrome), Network tab’s, filter by XHR:
-
Select random request from list (F5 if it’s empty) and copy cookie from request:
-
Insert selected cookie value into
src/config/cookie.text
file
The Top Left Corner Co-Ordinate of the Map Area to be searched.
The Bottom Right Corner Co-Ordinate of the Map Area to be searched.
Position of search (your village or cap, probably), calculate distance (for sorting oases closest to you)
npm run clean
- command clean data directory and create filesnpm run collect
- (collecting oases position) and wait… It will take a lot of time (depends on your config (MIN_X, MIN_Y, MAX_X, MAX_Y, DELAY_MIN, DELAY_MAX) etc)
npm run find
- find animals in oases
Result in excel file: data/elephant_*.xlsx
x | y | Elephant | Another animal | hasCrocodile | hasTiger | totalAnimal |
---|---|---|---|---|---|---|
-18 | 5 | 7 | 6 | 1 | 1 | 141 |
-14 | 3 | 4 | 5 | 0 | 0 | 34 |
-42 | 14 | 3 | 4 | 0 | 0 | 77 |
-48 | -7 | 3 | 4 | 0 | 0 | 84 |
- JavaScript;
- NodeJS;
- Axios;
- Cheerio.
This project is licensed under the MIT License - see the LICENSE file for details
Please note that this is a research project, I am by no means responsible for any usage of this tool.
Use on your own behalf, I am also not responsible if your accounts get banned due to extensive use of this tool.