Commit Graph

452 Commits

Author SHA1 Message Date
aeon0
aa5af79e85 some atk sequence updates (#388)
* some atk sequence updates

* increase wait time to pick up corpse
2022-01-03 21:29:16 +01:00
aeon0
e3093ee50a Clean unused templates (#387) 2022-01-03 20:10:24 +01:00
Legit
4e4dfc695e Fixed sorc 301 pathing. (#384)
* Updated blizz sorc 301 pathing issue

* Fixed 301 pather.

* fixed node 301 offset
2022-01-03 20:02:34 +01:00
Francesco
e7d40c286e 1 liner bug fix for game_recovery: name 'config' is not defined (#385)
* My pick up and sorc parameters

* Moved the game logic away from the main within the new GameController class.
Refactored the main to use built-in keyboard add_hotkey and wait functions instead of self-written main loop.

* Revert "My pick up and sorc parameters"

This reverts commit 0920a406

* Changed number of loot columns

* Changes as per the comments:
Handle non-existing backup file.
Removed newline at the beginning of GameController class.
Changed line splitted into multiple lines back to a single line.

* Refactored graphic debugger with similar logic to botty to now have a controller.

* Added a small comment on the graphic debugger class and fixed a now-typo on the presented menu

* Bug Fix: if pressing F11 repeatedly the main loop may crash due to self.bot not yet initialized in the game_controller.

A safe solution would be to try and catch all but that would also be an overkill as it would most likely mask exceptions that we might want to make the program crash.

Checking that self.bot is initialized should work for the time being.

* No need to re-assign the resume key within the game controlelr anymore

* Urgent 1 liner bug fix for always_on_top: name 'config' is not defined
2022-01-03 19:59:56 +01:00
Fise
992bfa91e8 Feature Request: Allow Classic players to show hammerdin scepters from Drogan (#379)
Co-authored-by: aeon0 <aeon4@pm.me>
2022-01-03 18:40:24 +01:00
skizotenigma
3218d84e02 Act 1 town full usage (#381)
* Act 4 - Full usage

Added Jamella as working NPC.
Added Halbu as working NPC.
Set Cain to Identify.
Added stash capabilities.

* Delete pickit.ini

* Delete a3.py

* Update pather.py

* Update npc_manager.py

* oopsy doodle

* Fixing more issues.

* Create pickit.ini

* Update a4.py

* Update a3.py

* Update pather.py

* Update pickit.ini

reverted pickit

* A1 - Completed NPCS

i hate my life.
All npcs that matter are working.
charsi repairs and tomes.
akara heals and pots.
cain identifys.
kashya resurrects.
warriv STANDS IN FRONT OF THE DAMNED STASH SO IT CAN'T BE CLICKED.
the stash .. uh stashes.
waypoints work (as long as it's the SOUTH ONE ONLY.)

#todo: fix the WP's to actively check.

* wp fix.

now it will check south and then go north.

* WP fix
2022-01-03 18:23:35 +01:00
Francesco
01e8078067 set D2R window to be always on top (#382)
* My pick up and sorc parameters

* Moved the game logic away from the main within the new GameController class.
Refactored the main to use built-in keyboard add_hotkey and wait functions instead of self-written main loop.

* Revert "My pick up and sorc parameters"

This reverts commit 0920a406

* Changed number of loot columns

* Changes as per the comments:
Handle non-existing backup file.
Removed newline at the beginning of GameController class.
Changed line splitted into multiple lines back to a single line.

* Refactored graphic debugger with similar logic to botty to now have a controller.

* Added a small comment on the graphic debugger class and fixed a now-typo on the presented menu

* Bug Fix: if pressing F11 repeatedly the main loop may crash due to self.bot not yet initialized in the game_controller.

A safe solution would be to try and catch all but that would also be an overkill as it would most likely mask exceptions that we might want to make the program crash.

Checking that self.bot is initialized should work for the time being.

* No need to re-assign the resume key within the game controlelr anymore

* Saving changes before switching repo

* Move the logic to set d2r always on top in the utils package.

* Remvoed unused dependency

* Always on top currently only works in Windows

* Removed one-time used variable

* Moved D2R window always on top to advanced_options.

Now the D2R window is set always on top only when the bot start (F11) and when it pause or F12 is pressed the D2R window (if it still exists) will be restored to its original value
2022-01-03 17:26:07 +01:00
bjoerm
b12904132c Pre-Buff before each arm - if do_pre_buff is enabled. (#378) 2022-01-03 05:28:22 +01:00
skizotenigma
2bdedf40eb Act 4 - Full usage (#369)
* Act 4 - Full usage

Added Jamella as working NPC.
Added Halbu as working NPC.
Set Cain to Identify.
Added stash capabilities.

* Delete pickit.ini

* Delete a3.py

* Update pather.py

* Update npc_manager.py

* oopsy doodle

* Fixing more issues.

* Create pickit.ini

* Update a4.py

* Update a3.py

* Update pather.py

* Update pickit.ini

reverted pickit
2022-01-02 22:04:43 +01:00
John Wu
df05d9ff02 update run.bat (#377)
* Create run.bat

run bat instead of typing commands in cmd

* Update run.bat

added exit option, fixed some typo and it will open new cmd for install/update evn then close, and run.bat will stay open

* Update run.bat

* Update run.bat
2022-01-02 22:02:50 +01:00
egut125
55313f46bb Merge pull request #356 from aeon0/log-item-on-keep
only log item on keep of item
2022-01-01 15:40:35 -05:00
egut125
e66661c3c8 maye last removal? Probably not 2022-01-01 14:32:19 -05:00
aeon0
32011d815b Allow bo and bc for weapon switch (#373) 2022-01-01 20:24:36 +01:00
aeon0
36d5f2a532 Catch pickit config errors and reduce to print (#372) 2022-01-01 20:24:16 +01:00
egut125
7266468d85 Updating Beautiful Table Styling (#371) 2022-01-01 20:23:40 +01:00
egut125
96bc1ef7cb Removing Game_stats from Pickit 2022-01-01 10:47:57 -05:00
aeon0
2e0be629d8 Take screen as param in Chest Class (#368) 2022-01-01 16:35:59 +01:00
Héctor Giménez
0da682043e Fix for crash on A2 Summoner for Sorceress (#365)
* Update src/char/sorceress/light_sorc.py

* Replaced not defined for Sorceress right_attack and left_attack by blizzard and iceblast or chain_lightning and lightning

Co-authored-by: aeon0 <aeon4@pm.me>
2022-01-01 16:19:55 +01:00
aeon0
2a6f1bd6a4 Dont use telekinesis on pindle red portal (#367) 2022-01-01 16:09:31 +01:00
aeon0
a0b2917cc5 fix attacks on summoner for sorc (#366) 2022-01-01 15:50:32 +01:00
aeon0
777c6da302 Optimize nova sorc for trav (#364) 2022-01-01 15:26:15 +01:00
aeon0
5f0a804a41 Warn user about settings not being as required (#363) 2022-01-01 14:58:54 +01:00
skizotenigma
a2c308b6f8 Update a3.py (#362)
Cain can now identify in act 3
2022-01-01 14:54:49 +01:00
aeon0
d8942f92b4 A2 Pathing + Arcane run + Static for Sorc + Static Tele robustification + Chest class (#348) 2022-01-01 14:15:13 +01:00
John Wu
0fe0b55661 Create run.bat (#360)
run bat instead of typing commands in cmd
2022-01-01 14:14:57 +01:00
Francesco
343934970d Bug Fix: F11 pressed repeatedly might crash the main loop (#359)
* My pick up and sorc parameters

* Moved the game logic away from the main within the new GameController class.
Refactored the main to use built-in keyboard add_hotkey and wait functions instead of self-written main loop.

* Revert "My pick up and sorc parameters"

This reverts commit 0920a406

* Changed number of loot columns

* Changes as per the comments:
Handle non-existing backup file.
Removed newline at the beginning of GameController class.
Changed line splitted into multiple lines back to a single line.

* Refactored graphic debugger with similar logic to botty to now have a controller.

* Added a small comment on the graphic debugger class and fixed a now-typo on the presented menu

* Bug Fix: if pressing F11 repeatedly the main loop may crash due to self.bot not yet initialized in the game_controller.

A safe solution would be to try and catch all but that would also be an overkill as it would most likely mask exceptions that we might want to make the program crash.

Checking that self.bot is initialized should work for the time being.

* No need to re-assign the resume key within the game controlelr anymore
2021-12-31 17:48:45 +01:00
Francesco
268652b4ff Backup and Restore settings (#349)
* My pick up and sorc parameters

* Moved the game logic away from the main within the new GameController class.
Refactored the main to use built-in keyboard add_hotkey and wait functions instead of self-written main loop.

* Revert "My pick up and sorc parameters"

This reverts commit 0920a406

* Changed number of loot columns

* Changes as per the comments:
Handle non-existing backup file.
Removed newline at the beginning of GameController class.
Changed line splitted into multiple lines back to a single line.

* Refactored graphic debugger with similar logic to botty to now have a controller.

* Added a small comment on the graphic debugger class and fixed a now-typo on the presented menu
2021-12-31 09:06:27 +01:00
egut125
d4de72b285 Left in a removed param... 2021-12-31 00:02:05 -05:00
egut125
430b6f5394 Forgot the test name change 2021-12-30 23:52:09 -05:00
egut125
5dbb5c86d4 only log item on keep of item
uiManager now knows game_stats
keep item now logs items pickit
2021-12-30 23:37:41 -05:00
skizotenigma
515e308bab fix for IDing (#353)
* fix for IDing

* Update pather.py
2021-12-30 23:33:19 +01:00
Legit
ba1f8de798 Fix for blizz_sorc master (#351)
* Fix for blizz_sorc master

* removed delay

* Update src/char/sorceress/blizz_sorc.py

Co-authored-by: aeon0 <aeon4@pm.me>
2021-12-30 20:04:50 +01:00
aeon0
88c9e28d45 Nova Sorc (#350)
* Nova Sorc

* formating
2021-12-30 17:02:03 +01:00
skizotenigma
badcd77ea6 Identify Items at Chain (A5) (#339) 2021-12-30 14:12:43 +01:00
skizotenigma
b3d756eeba CTA check to make sure you can BO/BC (#347)
* CTA check to make sure you can BO/BC

* added a second check to make sure they even HAVE cta.

added a second check to see if BC shows after the change. if not it cancels it all out.

* now it turns off cta_Available if it's not found.,

* Update i_char.py

* Update i_char.py

* Add files via upload

* Update i_char.py

* code rework (thank to aeon)

now with 100% less hacks!

* corrected icon

bc not bo.. duh

* Update i_char.py

* moved button
2021-12-29 20:02:10 +01:00
aeon0
579ab25c7d Update README.md 2021-12-29 16:21:59 +01:00
Stathis Papandreou
65f7641884 Update README.md (#334) 2021-12-29 16:20:23 +01:00
aeon0
4ab5908336 Barb improvements (#344)
* barb improvments

* dont do weapon switch
2021-12-29 10:47:29 +01:00
aeon0
8fc3155868 Update Blizz Sorc (@Legit) (#343) 2021-12-28 18:20:01 +01:00
aeon0
69ba480c08 Add ItemFinder unittests (#342)
* Sort items by relevance

* add item finder test
2021-12-28 15:56:06 +01:00
aeon0
7eef36c2df Add Tests and Coverage report (#341) 2021-12-28 14:40:28 +01:00
aeon0
3b6e92fcb1 Update version.py 2021-12-28 11:49:08 +01:00
skizotenigma
f1dbce3a69 Repair Each Run (#338)
* Update bot.py

* Update config.py

* Update params.ini

* Update params.ini

removing comments

* Update bot.py

removing comments

* Update config.py

removing comments

* Update README.md
2021-12-28 00:04:41 +01:00
aeon0
22b468e771 New release v0.6.1 (#332)
* Bump version to v0.6.1

* adjust version
v0.6.1
2021-12-25 08:51:40 +01:00
aeon0
aaae0ac41c Dont click on merc icon (#331) 2021-12-25 08:08:41 +01:00
mgleed
b1e4f82c25 fix gold issue causing pickit_type error (#329) 2021-12-24 13:15:44 -05:00
aeon0
2f37b2b1da dev version 2021-12-24 15:46:17 +01:00
aeon0
da401dc9bc New release v0.6.0 (#328)
* Bump version to v0.6.0

* correct version
v0.6.0
2021-12-24 15:34:36 +01:00
aeon0
77d04a0c21 Retry town portal creation on fail (#327) 2021-12-24 15:23:33 +01:00
aeon0
303082ff99 Random move if staris not found (#326) 2021-12-24 12:32:26 +01:00