/
gllsryc
/
Bot_amazing
Обзор
Документация
Войти
/
gllsryc
/
Bot_amazing
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
debug_methods.py
33 строки
1 KB
gllsryc
upload files
13 ноя 2025, 09:11
13 ноя 2025, 09:11
1c5ab47
Код
Авторство
О чём код?
import bot_core import config def test_all_methods(): print("🔧 Тестирование всех методов бота...") bot = bot_core.WoodcutterBot() # Тестируем основные методы methods_to_test = [ 'capture_screen', 'find_trees_by_color', 'move_to_tree', 'interact_with_tree', 'check_minigame', 'solve_minigame', 'anti_afk_action', 'should_anti_afk' ] for method_name in methods_to_test: if hasattr(bot, method_name): print(f"✅ Метод {method_name} присутствует") else: print(f"❌ Метод {method_name} ОТСУТСТВУЕТ!") print("\n📋 Конфигурация:") print(f"Разрешение: {config.SCREEN_WIDTH}x{config.SCREEN_HEIGHT}") print(f"Цвет дерева: {config.TREE_COLOR}") print(f"Область поиска: {config.TREE_SEARCH_REGION}") if __name__ == "__main__": test_all_methods()