Alchemy-Meister / TekkenBot

AI and tools for playing and understanding Tekken 7
MIT License
39 stars 5 forks source link

Punish Alarm Mode doesn't work #15

Open Nawjy opened 4 years ago

Nawjy commented 4 years ago

This has been an issue for me for a while, but up until now I've just been living without it. When trying to switch the Overlay to Mode>Punish Alarm (loud!) Tekken Bot Prime outputs this:

Closing punish window, result: NO_PUNISH

Exception in Tkinter callback

Traceback (most recent call last):
  File "tkinter\__init__.py", line 1705, in __call__
  File "gui\view\tekken_bot_prime_view.py", line 457, in <lambda>
  File "gui\view\tekken_bot_prime_view.py", line 596, in __integrity_checker
  File "gui\view\tekken_bot_prime_view.py", line 735, in __update_overlay_themes_swap
  File "gui\controller\tekken_bot_prime_controller.py", line 142, in overlay_mode_change
  File "gui\my_tkinter\overlay\overlay_manager.py", line 204, in change_overlay_mode
  File "gui\my_tkinter\overlay\overlay_manager.py", line 345, in __add_overlay
  File "patterns\factory\factory.py", line 50, in create_class
ValueError: unknown class for id: 2

Is this an issue anyone else has? I've been wondering if there is just a problem on my end or if the Punish Alarm ceased to be supported or something. Thanks.

Alchemy-Meister commented 4 years ago

The Punish Overlay it's just a placeholder, I haven't reimplemented yet. What I did, is add an overlay independent punish alarm that can be enabled as shown in the following image:

Screen Shot 2019-12-16 at 10 11 38 PM
Nawjy commented 4 years ago

Thank you for clarifying that, that's all I really needed to know.