|
| 1 | + |
1 | 2 | # E-sim python library |
2 | 3 | [](https://info.flagcounter.com/5j6R) |
| 4 | +##### Table of Content: |
| 5 | +1. [Introduction](https://github.com/e-sim-python/scripts#you-always-wanted-to-use-automated-software-but-did-not-have-the-necessary-knowledge) |
| 6 | +2. [Installation and usage](https://github.com/e-sim-python/scripts#usage) |
| 7 | + 1. [Installation]() |
| 8 | + 1. [PC]() |
| 9 | + 1. [Installing]() |
| 10 | + 2. [Usage]() |
| 11 | + 2. [Android]() |
| 12 | + 3. [Notes]() |
| 13 | + 4. [Customization and Advanced usage]() |
| 14 | +4. [Troubleshooting]() |
| 15 | + |
| 16 | +## Introduction |
| 17 | +#### You always wanted to use automated software, but did not have the necessary knowledge? |
| 18 | +- #### Here are few examples: |
| 19 | + - Auto-fight every hp restore. |
| 20 | + - Bid on all auctions with a single click |
| 21 | + - Dump all limits with a single click. |
| 22 | + - Complete all the missions with a single click. |
| 23 | + - Auto-hunt BHs |
| 24 | + - Discord bot (control each of your trusted group accounts via commands) |
| 25 | + - And much more! |
| 26 | +--- |
| 27 | +Currently there are 2 available versions of these scripts, which both of them does the same thing, but the lastest version is using **Asyncio** and **AIOHTTP** Library which is a non-blocking version of previous release for Discord bot usage, you can access both versions from this Link : [**Releases**](https://github.com/e-sim-python/scripts/releases) |
| 28 | + |
| 29 | +As far as we know, no one has ever been punished for using these scripts. However, the use is at your own risk, of course. |
| 30 | + |
| 31 | +**This project is open-source, so anyone can check any line and see if it's harmful. |
| 32 | +Everything written is pretty much plain English, so you can see search for traps, and understand what each code really does. |
| 33 | +If you still think there is a suspicious line, you can [ask us about it, and warn other users as well](https://github.com/e-sim-python/scripts/issues)** |
| 34 | + |
| 35 | +## Installation and usage: |
| 36 | +- ### Installation: |
| 37 | + - **PC Users**: |
| 38 | + - **Installing**: |
| 39 | + 1. Download and Install [python 3.6+](https://www.python.org/downloads/) and [add to path](http://prntscr.com/uwvy5z). |
| 40 | + 2. Open your CMD ( Command Line ), type `pip install eSim` then press enter and wait for everything to get installed on your computer. |
| 41 | + 3. Download the e-sim library as a zip file ([Code -> download ZIP](https://github.com/e-sim-python/scripts/archive/master.zip)) and extract it. (If you can't extract, [download WinRAR](https://www.rarlab.com/) first) |
| 42 | + - **Usage:** |
| 43 | + - Head back to the folder you extracted in Step 2, `Double click (in your computer) on any script you want`, or right click -> `open with IDLE` and `Press F5` or from `Run Menu` select `Run Module` |
| 44 | + - *advanced usage* : import the function to another script ([examples](https://github.com/e-sim-python/scripts/blob/master/bot.py)). |
| 45 | + |
| 46 | + - **Android users**: |
| 47 | + 1. Download the e-sim library as a zip file on your Android device from [Here](https://github.com/e-sim-python/scripts/releases) : [**Download Link**](https://github.com/e-sim-python/scripts/archive/aee27a71a54e8e7e2fc2b660611e122fe354fbe7.zip) |
| 48 | + 2. Extract the downloaded zip file. |
| 49 | + 3. Install **Pydroid 3 - IDE for Python 3** from Google Play Store. |
| 50 | + |
| 51 | + 4. Install **Pydroid repository plugin** from Google Play Store. |
| 52 | + |
| 53 | + 5. Open **Pydroid 3**, from top left side of app, click on menu, there are a few options, such as Get premium, interpreter, Terminal, etc,Now you should choose **Pip**. |
| 54 | + |
| 55 | + 6. In **Library name** field, first type **lxml** (its LXML not ixmi) and click on install, after its finished, enter **Requests** in that field and go ahead and click install. ( you can do this for any missing module in future if you needed it) |
| 56 | + |
| 57 | + 7. Now, just go back in main menu and click on folder icon in top right side of the app ( near light bulb icon ) and choose open, find your desired script in your phone file manager and open it. |
3 | 58 |
|
4 | | -## You always wanted to use automated software, but did not have the necessary knowledge? |
5 | | -### Here are few examples: |
6 | | -- Auto-fight every restore. |
7 | | -- Bid on all auctions with a single click |
8 | | -- Dump all limits with a single click. |
9 | | -- Complete all the missions with a single click. |
10 | | -- Auto-hunt BHs |
11 | | -- Discord bot (control each of your trusted group accounts via commands) |
12 | | -- And much more! |
13 | | - |
14 | | -(As far as we know, no one has ever been punished for using those scripts. However, the use is at your own risk, of course.) |
15 | | - |
16 | | -This project is open-source, so anyone can check any line and see if it's harmful. |
17 | | -Everything written is pretty much plain English, so you can see search for traps, and what each code really does. |
18 | | -If you still think there is a suspicious line, you can [ask us about it, and warn other users as well](https://github.com/e-sim-python/scripts/issues) |
19 | | - |
20 | | -### Usage: |
21 | | -- Download and Install [python 3.6+](https://www.python.org/downloads/) and [add to path](http://prntscr.com/uwvy5z). (Android users click [here](https://github.com/e-sim-python/scripts/issues/2#issuecomment-698446627)). |
22 | | -- Download the e-sim library as a zip file ([Code -> download ZIP](https://github.com/e-sim-python/scripts/archive/master.zip)) and extract it. (If you can't extract, [download WinRAR](https://www.rarlab.com/) first) |
23 | | -- At the first run, you will have to execute [install_packets.py](https://github.com/e-sim-python/scripts/blob/master/Help_functions/install_packets.py), or install `aiohttp` and `lxml` manually (type `CMD` at your start menu, and `py -m pip install aiohttp` at your CMD). ([More help for this step](https://packaging.python.org/tutorials/installing-packages/)) |
24 | | -- Double click (in your computer) on any script you want, or right click -> open with IDLE. |
25 | | -- Alternative (advanced): import the function to another script ([examples](https://github.com/e-sim-python/scripts/blob/master/bot.py)). |
26 | | - |
27 | | -### Few notes: |
28 | | -- You can edit the scripts by right click on it -> edit with IDLE, or click "Fork" at the top of this page. |
29 | | -- Everything written after the pound (#) in the same line, is a note that can help you understand the code, or for the developers. |
30 | | -- Every line with `input` can be replaces (instead of typing the same choice every time you run the script). For example: `server = input("Server: ")` can be replaced into `server = "alpha"`. |
31 | | - |
32 | | -Those scripts (Basic folder mainly) are mostly raw, and they can be used in many other ways. |
33 | | - |
34 | | -**Beginner idea:** |
35 | | -- Add `await asyncio.sleep(time_in_sconds)` at the beginning of the script to do action with a delay (For example: Bid auctions just before it's end, propose a law while you are sleeping etc.) |
36 | | - |
37 | | -**Advanced idea:** |
38 | | -- Run the [discord bot](https://github.com/e-sim-python/scripts/blob/master/bot.py) in each of your trusted group devices, and let everyone do specific actions in each other accounts (fight, vote laws etc.) (you will have to install `discord.py`) |
39 | | -- Alternative, you can do that with multies and VPS ;) |
40 | | - |
41 | | -### Errors: |
42 | | -- First try to search for solution online. |
| 59 | + 8. Once you opened it, there should be a **Run yellowish play button** in left bottom of screen, go ahead and run it. |
| 60 | + 9. Now after you ran the script in your phone, on top right side of the screen, there is a menu. In that menu, choose **Take wakelock** and **Take wifilock**, Now it should be able to run as long as you don't close the app from your phone's app manager. [Screenshot](http://prntscr.com/uo9dxh) |
| 61 | + |
| 62 | + |
| 63 | +- ### Few Notes: |
| 64 | + - You can edit the scripts by right click on it -> edit with IDLE, or click "Fork" at the top of this page. |
| 65 | + - Everything written after the pound (#) in the same line, is a note that can help you understand the code, or for the developers. |
| 66 | + - Every line with `input` can be replaces (instead of typing the same choice every time you run the script). For example: `server = input("Server: ")` can be replaced into `server = "alpha"`. |
| 67 | + - Those scripts (Basic folder mainly) are mostly raw, and they can be used in many other ways. |
| 68 | + - in [Discord bot](https://github.com/e-sim-python/scripts/blob/master/bot.py), if you want to run command in a specific server, **Channel name should be the same as the server you want to run the command on**. ( Ex: if it you wish to run command in alpha server, name of channel should be `alpha`) |
| 69 | +- ### Customization and Advanced usage: |
| 70 | + - **Beginner idea:** |
| 71 | + - Add `await asyncio.sleep(time_in_sconds)` at the beginning of the script to do action with a delay (For example: Bid auctions just before it's end, propose a law while you are sleeping etc.) |
| 72 | + |
| 73 | + - **Advanced idea:** |
| 74 | + - Run the [discord bot](https://github.com/e-sim-python/scripts/blob/master/bot.py) in each of your trusted group devices, and let everyone do specific actions in each other accounts (fight, vote laws etc.) (you will have to install `discord.py`) |
| 75 | + - you can do that with multies and VPS ;) |
| 76 | + |
| 77 | +## Troubleshooting: |
| 78 | +- Make sure that you have python 3.6+ installed by typing `python --version` or `py --version` in CMD. [SCREENSHOT](http://prntscr.com/wmrbkn) |
| 79 | +- First try to search for the solution online. |
43 | 80 | - For example: `ImportError: No module named aiohttp` -> [google search](https://www.google.com/search?q=No+module+named+aiohttp) will tell you how to install packet (via pip). In that specific error you can also run [install_packets.py](https://github.com/e-sim-python/scripts/blob/master/Help_functions/install_packets.py) |
44 | 81 | - Sometimes all you need is to login via script again, because your cookies are too old. |
45 | | -- See if there are updates in the code source. |
| 82 | +- See if there are updates in the source code. |
46 | 83 | - If you believes that the error is made by us, you can describe it [here](https://github.com/e-sim-python/scripts/issues) and we will try to fix. This is also the place for suggestions and any contact. |
47 | 84 |
|
| 85 | + |
48 | 86 | # Good luck & have fun! |
0 commit comments