Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 6323756

Browse files
authored
Update README.md
1 parent fb7f4fe commit 6323756

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,29 @@ If you still think there is a suspicious line, you can [ask us about it, and war
2020
### Usage:
2121
- 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)).
2222
- 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 excute [install_packets.py](https://github.com/e-sim-python/scripts/blob/master/Help_functions/install_packets.py), or install `requests` and `lxml` manually (type `pip install requests` on your start menu, or `py -m pip install requests` on your CMD). ([More help for this step](https://packaging.python.org/tutorials/installing-packages/))
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/))
2424
- 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)). If you need help, execute `print (function_name.__doc__)`
25+
- Alternative (advanced): import the function to another script ([examples](https://github.com/e-sim-python/scripts/blob/master/bot.py)).
2626

2727
### Few notes:
2828
- You can edit the scripts by right click on it -> edit with IDLE, or click "Fork" at the top of this page.
2929
- Everything written after the pound (#) in the same line, is a note that can help you understand the code, or for the developers.
3030
- 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"`.
3131

32-
The uploaded scripts (Basic folder mainly) are mostly raw, and they can be used in many other ways.
32+
Those scripts (Basic folder mainly) are mostly raw, and they can be used in many other ways.
3333

3434
**Beginner idea:**
35-
- Add `time.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.)
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.)
3636

3737
**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.).
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`)
3939
- Alternative, you can do that with multies and VPS ;)
4040

4141
### Errors:
4242
- First try to search for solution online.
43-
- For example: `ImportError: No module named requests` -> [google search](https://www.google.com/search?q=No+module+named+requests) 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)
43+
- 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)
4444
- Sometimes all you need is to login via script again, because your cookies are too old.
4545
- See if there are updates in the code source.
4646
- 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+
48+
# Good luck & have fun!

0 commit comments

Comments
 (0)