Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bb62a9642 | ||
|
|
27388b82fc | ||
|
|
35b5d7d6f8 | ||
|
|
883aa4468a | ||
|
|
64908630f4 | ||
|
|
56bde23156 | ||
|
|
9c0fa2207c | ||
|
|
a1a1a5f375 | ||
|
|
4e35b8a1a8 | ||
|
|
589fda539f | ||
|
|
c65ae545df | ||
|
|
5ae6194d23 | ||
|
|
b83dbb8e8d | ||
|
|
f8e41d525b | ||
|
|
d9624e04c1 | ||
|
|
f4ff1b953f | ||
|
|
da6ccc6250 | ||
|
|
a87d72a044 | ||
|
|
ab1d496fff | ||
|
|
5d4e7e8dec | ||
|
|
e4f2ae4826 | ||
|
|
1315d9decb | ||
|
|
c358282e68 | ||
|
|
c57e820d63 | ||
|
|
6b1e155197 | ||
|
|
47c5e20238 | ||
|
|
36d3c2e913 | ||
|
|
06623142f7 | ||
|
|
1b9fdad539 | ||
|
|
c0a598cc34 | ||
|
|
e3fd1b61f5 | ||
|
|
2dcc8fcdfe | ||
|
|
6fe9a18d43 | ||
|
|
9f8bed6efb | ||
|
|
0121c7af2e | ||
|
|
1d84a86e0b | ||
|
|
99f8c65c2e | ||
|
|
0ec7ced4d6 | ||
|
|
551a547ddb | ||
|
|
09caab2120 | ||
|
|
2905ee5d31 | ||
|
|
e9d31f220f | ||
|
|
27f0e3d793 | ||
|
|
5e1a783394 | ||
|
|
7aef2a6a73 | ||
|
|
9761f87826 | ||
|
|
3321b7bc84 | ||
|
|
667c2a4dc5 | ||
|
|
87b4737901 | ||
|
|
376547ebfe | ||
|
|
7935da58a7 | ||
|
|
b890ff266f | ||
|
|
c939877c7b | ||
|
|
1bc392327c | ||
|
|
df0e70470c | ||
|
|
2eb9f84520 | ||
|
|
5c6fd83155 | ||
|
|
6226956af4 | ||
|
|
04dac4070f | ||
|
|
bcf5bd4f11 | ||
|
|
cf8c393cf1 | ||
|
|
070fd9d98e | ||
|
|
63476a402d | ||
|
|
28ca8d2ee7 | ||
|
|
bc24fea4e9 | ||
|
|
4ea5e4d265 | ||
|
|
1fe56c95c6 | ||
|
|
b5c0e8d0dc | ||
|
|
39dd868a34 | ||
|
|
5f1ffd153b | ||
|
|
01765e0616 | ||
|
|
99c4348bc3 | ||
|
|
c8b59c338b | ||
|
|
7f7acf1e2a | ||
|
|
6ddca4c7db | ||
|
|
85bc2dae29 | ||
|
|
c3365e3d02 | ||
|
|
8104b87083 | ||
|
|
a4e435fec4 | ||
|
|
51715433a9 | ||
|
|
a8ba63d968 | ||
|
|
39f65ab1fb | ||
|
|
8dfe8a2163 | ||
|
|
f450dc7591 | ||
|
|
c22230756b | ||
|
|
48b2c42eb2 |
@@ -45,6 +45,10 @@ jobs:
|
||||
C:\Miniconda\condabin\conda.bat activate botty
|
||||
python -c "import sys; print(sys.version)"
|
||||
coverage run --source=./src -m pytest -v -s
|
||||
- name: Coverage Report Generation
|
||||
shell: powershell
|
||||
run: |
|
||||
C:\Miniconda\condabin\conda.bat activate botty
|
||||
coverage xml
|
||||
- name: Upload Coverage to Codecov
|
||||
uses: codecov/codecov-action@v2
|
||||
|
||||
@@ -8,13 +8,14 @@ playground.py
|
||||
*.spec
|
||||
dist/
|
||||
build/
|
||||
run.build/
|
||||
run.dist/
|
||||
run.onefile-build/
|
||||
main.build/
|
||||
main.dist/
|
||||
main.onefile-build/
|
||||
generated/
|
||||
botty_v*/
|
||||
custom.ini
|
||||
config/custom.ini
|
||||
config/custom.*.ini
|
||||
*info_*.png
|
||||
.vscode
|
||||
.vs/
|
||||
@@ -25,4 +26,4 @@ stats/
|
||||
*.bak
|
||||
.coverage
|
||||
htmlcov/
|
||||
coverage.xml
|
||||
coverage.xml
|
||||
|
||||
@@ -41,7 +41,7 @@ All botty configuration files are located in the __config__ folder. To ease the
|
||||
```ini
|
||||
; custom.ini - overwrites 3 params in the param.ini
|
||||
[general]
|
||||
monitor=1
|
||||
name=MyCustomName
|
||||
|
||||
[routes]
|
||||
run_pindle=1
|
||||
@@ -51,10 +51,10 @@ run_shenk=0
|
||||
| [general] | Descriptions |
|
||||
| -------------------- | --------------------------|
|
||||
| name | Name used in terminal and discord messages |
|
||||
| monitor | Select on which monitor D2R is running in case multiple are available |
|
||||
| custom_message_hook | Add your own message hook here to get messages about drops and botty status updates, discord webhook is default |
|
||||
| logger_lvl | Can be any of [info, debug] and determines how much output you see on the command line |
|
||||
| max_game_length_s | Botty will attempt to stop whatever its doing and try to restart a new game. Note if this fails, botty will attempt to shut down D2R and Bnet |
|
||||
| max_consecutive_fails | Botty will stop making games if the number of consecutive fails reaches this max value |
|
||||
| randomize_runs | 0: the order will be as seen in the params.ini. 1: the order will be random |
|
||||
| difficulty | Set to `normal` `nightmare` or `hell` for game difficulty |
|
||||
| message_api_type | Which api to use to send botty messages. Supports "generic_api" (basic discord), or "discord" (discord embeds with images).
|
||||
@@ -63,6 +63,8 @@ run_shenk=0
|
||||
| info_screenshots | If 1, the bot takes a screenshot with timestamp on every stuck / chicken / timeout / inventory full event. This is 1 by Default, so remember to clean up the folder every once in a while |
|
||||
| loot_screenshots | If 1, the bot takes a screenshot with timestamp everytime he presses show_items button and saves it to loot_screenshots folder. Remember to clear them once in a while... |
|
||||
| saved_games_folder | Optional folder path of Diablo 2 : Ressurrected saved games that will be used to overwrite when running the "auto settings" |
|
||||
| d2r_path | Optional path to find the d2r.exe, if not set will be default to "C:\Program Files (x86)\Diablo II Resurrected\D2R.exe" when attempting to restart |
|
||||
| restart_d2r_when_stuck | Set to `1` and botty will attempt to restart d2r in the case that botty is unable to recover its state (e.g: game crash) |
|
||||
|
||||
| [routes] | Descriptions |
|
||||
| ------------ | ------------------------------------------------------------------------ |
|
||||
@@ -70,8 +72,9 @@ run_shenk=0
|
||||
| run_pindle | Run Pindle in each new game. Select "1" to run it "0" to leave it out. |
|
||||
| run_eldritch | Run Eldritch in each new game. Select "1" to run it "0" to leave it out. |
|
||||
| run_shenk | Run shenk in each new game. Select "1" to run it "0" to leave it out. |
|
||||
| run_nihlatak | Run Nihlatak in each new game. Select "1" to run it "0" to leave it out. (Teleport required) |
|
||||
| run_nihlathak | Run Nihlathak in each new game. Select "1" to run it "0" to leave it out. (Teleport required) |
|
||||
| run_arcane | Run Arcane Sanctuary in each new game. Select "1" to run it "0" to leave it out. (Teleport required) |
|
||||
| run_diablo | Run Diablo (just the Boss, not the trashmobs) in each new game. Select "1" to run it "0" to leave it out. (Teleport required) |
|
||||
|
||||
| [char] | Descriptions |
|
||||
| ------------------ | -------------------------------------------------------------------------------------------------|
|
||||
@@ -101,7 +104,13 @@ run_shenk=0
|
||||
| atk_len_pindle | Attack length for hdin or number of attack sequences for sorc when fighting pindle |
|
||||
| atk_len_eldritch | Attack length for hdin or number of attack sequences for sorc when fighting eldritch |
|
||||
| atk_len_shenk | Attack length for hdin or number of attack sequences for sorc when fighting shenk |
|
||||
| atk_len_nihlatak | Attack length for hdin or number of attack sequences for sorc when fighting nihlatak |
|
||||
| atk_len_nihlathak | Attack length for hdin or number of attack sequences for sorc when fighting nihlathak |
|
||||
| atk_len_cs_trashmobs | Attack length for hdin or number of attack sequences when fighting Trash Mobs in Chaos Sanctuary (Diablo) |
|
||||
| atk_len_diablo_vizier | Attack length for hdin or number of attack sequences when fighting Sealboss A "Vizier of Chaos" in Chaos Sanctuary (Diablo) |
|
||||
| atk_len_diablo_deseis | Attack length for hdin or number of attack sequences when fighting Sealboss B "Lord De Seis" in Chaos Sanctuary (Diablo) |
|
||||
| atk_len_diablo_infector | Attack length for hdin or number of attack sequences when fighting Sealboss C "Infector of Souls" in Chaos Sanctuary (Diablo) |
|
||||
| atk_len_diablo_infector | Attack length for hdin or number of attack sequences when fighting Diablo in Chaos Sanctuary |
|
||||
| cs_clear_trash | If 1, most Trash mob packs from Chaos Sancturay Entrance to Pentagram and Seals A, B, C are cleared (NOT YET IMPLEMENTED). If 0, the run starts at Pentagram and just kills Sealbosses & Diablo |
|
||||
| take_health_potion | Health percentage when healing potion will be used. e.g. 0.6 = 60% helath |
|
||||
| take_mana_potion | Mana percentage when mana potion will be used |
|
||||
| take_rejuv_potion_health | Health percentag when rejuv potion will be used |
|
||||
@@ -114,9 +123,16 @@ run_shenk=0
|
||||
| belt_hp_columns | Number of belt columns for healing potions |
|
||||
| belt_mp_columns | Number of belt columns for mana potions |
|
||||
| pre_buff_every_run | 0: Will only prebuff on first run, 1: Will prebuff after each run/boss |
|
||||
| always_repair | 0: Will only repair when needed, 1: Will repair at the start of each run (EXPENSIVE FOR HIGH RUNEWORDS) |
|
||||
| runs_per_repair | 0: Will only repair when needed, 1+: Will repair after # of runs set here |
|
||||
| id_items | Will identify items at cain before stashing them. Cain must be rescued for this to work.|
|
||||
| open_chests | Open up chests in some places. E.g. on dead ends of arcane. Note: currently bad runtime. |
|
||||
| fill_shared_stash_first | Fill stash tabs starting from right to left, filling personal stash last |
|
||||
| gamble_items | List of items to gamble when stash fills with gold. Leave blank to disable. Supported items currently include circlet, ring, coronet, talon, amulet
|
||||
|
||||
| [transmute] | Descriptions |
|
||||
| ------------------ | -------------------------------------------------------------------------------------------------|
|
||||
| transmute_every_x_game | How often to run transmute routine (currently transmutes flawless gems into perfect gems). Transmute routine depends on stashing routine it will only start after items stashing is done. E.g. so it could take more than X games to perform transmutes if there were no items to stash at the time. Default: 20 |
|
||||
| stash_destination | Stash tabs by priority to place the results of the transmute. Default: 3,2,1,0. (It means the result will be first placed in stash 3 untils it's full, then to stash 2, etc. 0 - personal tab)
|
||||
|
||||
### Builds
|
||||
| [sorceress] | Descriptions |
|
||||
@@ -145,11 +161,12 @@ run_shenk=0
|
||||
| teleport | Optional Hotkey for teleport. If left empty hammerdin will run instead of teleport. |
|
||||
| concentration | Required Hotkey for Concentration |
|
||||
| holy_shield | Required Hotkey for Holy Shield |
|
||||
| blessed_hammer | Required Hotkey for Blessed Hammer. (Must be set as left skill!) |
|
||||
| redemption | Optional Hotkey for redemption |
|
||||
| vigor | Optional Hotkey for vigor |
|
||||
| blessed_hammer | Required Hotkey for Blessed Hammer. (must be bound to left skill!) |
|
||||
| redemption | Optional Hotkey for Redemption |
|
||||
| vigor | Optional Hotkey for Vigor |
|
||||
| cleansing | Optional Hotkey for Cleansing |
|
||||
|
||||
| [trapsin] | Descriptions |
|
||||
| [trapsin] | Descriptions |
|
||||
| -------------- | ----------------------------------------------------------------------------------- |
|
||||
| teleport | Optional Hotkey for teleport. If left empty trapsin will run instead of teleport. |
|
||||
| skill_left | Optional Hotkey for Left Skill |
|
||||
@@ -166,6 +183,7 @@ run_shenk=0
|
||||
| shout | Required Hotkey for Shout |
|
||||
| war_cry | Required Hotkey for War Cry |
|
||||
| find_item | Optional Hotkey for Find Item |
|
||||
| cry_frequency | Time in seconds between each cast of war_cry. Set to 0.0 if max fcr should be used |
|
||||
|
||||
| [Necro] | Descriptions |
|
||||
| -------------- | ----------------------------------------------------------------------------------- |
|
||||
@@ -189,7 +207,6 @@ run_shenk=0
|
||||
| pathing_delay_factor | A linear scaling factor, between 1 and 10, applied to pathing delays. |
|
||||
| message_headers | Headers that are sent with each messages |
|
||||
| message_body_template | Message body of the post message sent |
|
||||
| message_highligh | 0: Send messages as is, 1: Uses message highlighting for discord |
|
||||
|
||||
## Support this project
|
||||
|
||||
|
||||
@@ -44,5 +44,6 @@
|
||||
"Chat Background": 0,
|
||||
"Always Run": 1,
|
||||
"Quick Cast Enabled": 0,
|
||||
"Display Active Skill Bindings": 0
|
||||
"Display Active Skill Bindings": 0,
|
||||
"Lobby Wide Item Drop Enabled": 1
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 760 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 798 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 13 KiB |