Summary of changes:
-Rearranged many UI-related functions across the codebase (particularly in ui_manager.py) into individual components. See src/ui_components/. Functions related to components can be called like if waypoint.use_wp("Arcane Sanctuary"): or loading.wait_for_loading_screen(2.0)
-Removed Screen and TemplateFinder dependencies across the codebase
-Screen functions separated from class
-TemplateFinder made into a singleton
-Added generic ScreenObject UI functions to simply detect UI elements on screen; e.g., detect_screen_object(ScreenObjects.TownPortal), wait_for_screen_object(ScreenObjects.Loading, 2). Also included related functions like select_screen_object_match(template_match) to automatically select the match.
-Consolidated assets. Organized templates folder into components. Adjusted some asset ROI's and alpha channels.
-Changed some template searches to grayscale for speed
-Reworked save/exit routine, should now be more consistent and faster with normal exit, chicken exit, and death exit.
-Got rid of unused and consolidated duplicate game.ini parameters
-spelling fix _last_merc_healh
-NPC manager class removed and replaced with functions
-D2 window detection now runs on its own thread for semi-live window position offsets.
-Character selection reworked. OCR your selected character for fun (not that accurate, lol)
-Simplified game start and difficulty select
-Added a get experience function, but this is not called anywhere yet
-Reworked corpse pickup. pickup_corpse is no longer a necessary argument/parameter throughout the codebase (bot.py, game_controller.py, runs, etc.)
34 lines
545 B
YAML
34 lines
545 B
YAML
name: botty
|
|
channels:
|
|
- conda-forge
|
|
dependencies:
|
|
- python=3.9
|
|
- pywin32
|
|
- pip
|
|
- leptonica
|
|
- tesseract>=5.0.1
|
|
- pkg-config
|
|
- pip:
|
|
- pyinstaller
|
|
- opencv-python
|
|
- transitions
|
|
- mss
|
|
- numpy
|
|
- mouse
|
|
- keyboard
|
|
- beautifultable
|
|
- pytweening
|
|
- requests
|
|
- coverage
|
|
- pytest
|
|
- pytest-env
|
|
- pytest-pythonpath
|
|
- graphviz
|
|
- psutil
|
|
- cryptography
|
|
- pillow
|
|
- discord.py
|
|
- parse
|
|
- dependencies/tesserocr-2.5.2-cp39-cp39-win_amd64.whl
|
|
- typing_extensions
|