474 Commits

Author SHA1 Message Date
aeon0
c3f519aa7b Bump version to v0.6.2 (#412) v0.6.2 2022-01-08 12:29:32 +01:00
aeon0
854509b489 Trav additional templates (#411) 2022-01-08 12:17:04 +01:00
aeon0
640bf93de4 Fix bug in standalone health manager (#410) 2022-01-08 11:43:44 +01:00
Legit
19f45d0270 Add some items and filters (rare matriarchal jav, +3 tornado pels, +3 warcry helmets) (#386)
* Fix for blizz_sorc master

* removed delay

* Update src/char/sorceress/blizz_sorc.py

* Additiona pickit items

* Missing items on pickit

* updated pickit

fixed rare jav missing added couple socketed items.

* Garbage item not needed

* Changed eth_ to grey_

* Dont know how to delete eth assets I added.

* revert blizz

* clean unused item assets

* bring back missing file, fix typos

Co-authored-by: aeon0 <aeon4@pm.me>
2022-01-08 10:20:45 +01:00
aeon0
dcccee68f2 Check for item again after stashing to figure if it is still there (#409) 2022-01-08 10:04:07 +01:00
aeon0
ded772b377 Move forward during attacking shenk (#407) 2022-01-07 20:37:53 +01:00
aeon0
faed0154aa Char selector after restart (#403)
* Char selector after restart

* at least make it work...

* Scroll the characters if the template was not found.

TODO: Ideally we would like to understand which character is currently selected rather than assuming we'll always be using the top one.

* make it fancy

Co-authored-by: Francesco <francesco.zini1@icloud.com>
2022-01-07 19:38:21 +01:00
egut125
f695954cbb Add message_api_type to readme (#406) 2022-01-07 19:04:06 +01:00
alceasan
d9d1dda9cf Additional item properties assets (#402)
* Additional item properties

+3 to Jav skills
+ % Faster Cast Rate
+% Chance of getting magic items

* Add files via upload

+3 to Jav skills
+ % Faster Cast Rate
+% Chance of getting magic items
2022-01-06 20:06:45 +01:00
bjoerm
e61933c49f If super potions are not available (e.g. nightmare), buy greater potions. (#401) 2022-01-06 18:35:17 +01:00
egut125
dff178bbc7 Breaking Messenger Module into something more flexible for specif… (#370)
* WIP Breaking Messenger Module into something more flexible for specific apis

* Cleanup and removal of data class

* Working embeds sort of

* Simple embeds set up

* Adding image of stashing items to discord embed

* Discord Embed updates with images

death_manager and game_controller both store path to last death/chicken screenshot
Pass last screenshot path along to game_stats and discord_embeds to place in discord message

* Color adjust

* Updating filenames formobile notifications

* Create loot_screenshots folder if it doesn't exist and api=discord

* Fixing missed messenger.send calls

* UI for discord updates

* Switching to i_api and explicit functions

* Update all messenger calls to new functions

* Param name change

* Simplify discord_basic api

* Switching from interface to generic api class

* One new messenger call from master

* spacing
2022-01-06 18:33:59 +01:00
nlapinski
b01ff94b8a Necro class (#337)
* necro rebase

* merge

* necro readme

* removed import

* a

* necro char

* necro parms

* config fix

* example planner

* clear pindle pack

* pindle pack config cast

Co-authored-by: nlapinski <nlapinski@Users-MacBook-Pro-2.local>
2022-01-05 23:43:14 +01:00
skizotenigma
739e5d3014 Update pather.py (#398) 2022-01-05 22:15:24 +01:00
Francesco
c92d32b6de Improved debugger (#361) 2022-01-05 22:15:10 +01:00
skizotenigma
2924836a32 "Basic" classes (#352)
* Start of "Basic" classes

will left attack unless right attack is available.

* Update basic_ranged.py

* Update basic.py
2022-01-05 22:14:14 +01:00
skizotenigma
a65df17323 Adding Lysander in A2 (#399)
Cain & Lysander put to work
2022-01-05 22:08:31 +01:00
aeon0
9339a3b432 Test utils misc load_template() (#396) 2022-01-05 11:42:34 +01:00
mgleed
2d1847fce4 utilize per-NPC ROI's and pose positions (#395)
* utilize per-NPC ROI's and pose positions

* mini code improvement

Co-authored-by: aeon0 <aeon4@pm.me>
2022-01-05 11:21:41 +01:00
skizotenigma
a60849887c Jamella pathing fix. (#393)
* fix for pathing from jamella when she walks too far down.

* updated kashya and cain as well

they kept walking into the node!
so i had to adjust it.

* Update pather.py
2022-01-05 10:50:25 +01:00
Francesco
d35fda18c0 pywin32 dependency fix (#394)
* 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

* Bug fix, keyboard dependency on game_recovery.py
For some reason PyCharm seems to flag this import as unused while it is actually used.

* Moved pywin32 dependency outside of pip (tested a clean install on two machines with this change and worked fine)

Also removed the win32api import that was causing the issue.

Both changes fix the issue that several people are expereincing on discord separately (either would fix it but both are better).
2022-01-05 10:49:44 +01:00
aeon0
e099848ed4 Npc serach optimization (#391)
* NPC search optimization

* fix pywin32 version
2022-01-04 12:24:43 +01:00
Matt Stiehm
fdfdd81b84 Restart game (#374)
* removed 1920_1080 support

* Update ui_manager.py

Fixed bug...

* Update pather.py

fixed scale factor

* Update i_char.py

* Update game.ini

removed tp locations

* Bump version to v0.4.3

* Bump version to v0.4.3

* added working restart module

* tested and looks stable after refactor

* fixed a few things after looking at PR

* switched things back to search after testing and removed 1s delay in save_and_exit search

* fixed tab select bug where the exit game prompt was up, and also fixed max game length bug on WP use

* Update a5.py

Changing back, as not needed.

* adding requested changes

* keyboard went missing from game_recovery

* missed case where restart fails then loops infinitely

* fixed typo. all tested now

* also removed flag resets since we're recreating hm and dm

Co-authored-by: Matt <rogue_drunkerd@hotmail.com>
2022-01-04 10:08:50 +01:00
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