svaningelgem / SummonersGreed_Bot

Bot for interacting with Summoner's Greed running in BlueStacks.
0 stars 0 forks source link

Start #1

Open agoldman94 opened 2 years ago

agoldman94 commented 2 years ago

How I start the Bot, if try to start run_bot.py he search for a module summenors greed bot, but he doesnt find the module

agoldman94 commented 2 years ago

How I start the Bot, if try to start run_bot.py he search for a module summenors greed bot, but he doesnt find the module

ModuleNotFoundError: No module named 'summoners_greed_bot'

svaningelgem commented 2 years ago

Hi, I started my bot from an IntelliJ prompt where the PYTHONPATH is set automatically. So I'm guessing you need to do something like this (windows syntax):

cd SummonersGreed_Bot\scripts
set PYTHONPATH=..\src
python run_bot.py
agoldman94 commented 2 years ago

Hi, I started my bot from an IntelliJ prompt where the PYTHONPATH is set automatically. So I'm guessing you need to do something like this (windows syntax):

cd SummonersGreed_Bot\scripts
set PYTHONPATH=..\src
python run_bot.py

Nice its worked, but the bot isnt clicking anything, maybe bc of an update its not working anymore ?

svaningelgem commented 2 years ago

That is quite possible yes. I did not play it for a while now. Basically it's clicking on certain coordinates in the application.

What you can check if the resources are still accurate? Otherwise you can step through the program with a debugger and see if there is anything detected by the bot? It's not a neural network that can detect these things, but it's a template matching. So even a shade of color different in the resources can make it not find the button. Even though to a human it looks just the same.