Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't get it run in my pc #4

Open
shreesha345 opened this issue Jul 15, 2021 · 0 comments
Open

I can't get it run in my pc #4

shreesha345 opened this issue Jul 15, 2021 · 0 comments

Comments

@shreesha345
Copy link

`___________________________________

Bot has been successfully started!
Your screen resolution is 768p
Current time is 15:26:37
To stop bot execution press 'ctrl+c'

Opening cmd
Launching Valorant
Closing command line

Exception in thread error_checker:
Traceback (most recent call last):
File "C:\Python37\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\Python37\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "D:\ValorantBot\scripts\ingame_error.py", line 29, in check
Fore.YELLOW + "\nError occurred\n", handle)
File "D:\ValorantBot\scripts\gameplay.py", line 90, in check_for
x, y, w, h = s.locate_on_screen(pic, conf, region)
File "D:\ValorantBot\scripts\helpers\screen.py", line 23, in locate_on_screen
return pyautogui.locateOnScreen('../resources/' + settings.resolution_string + pic, reg, confidence=conf)
AttributeError: module 'settings' has no attribute 'resolution_string'

Traceback (most recent call last):
File "bot.py", line 56, in
main()
File "bot.py", line 29, in main
valorant.launch()
File "D:\ValorantBot\scripts\valorant.py", line 23, in launch
check_update()
File "D:\ValorantBot\scripts\valorant.py", line 91, in check_update
+ '/update_play.png', confidence=.7)
AttributeError: module 'settings' has no attribute 'resolution_string'`

I just changed the settings of valorant_is_opened = False just this on I changed then nothing please help me.
when I try to run it open's cmd and then open's Valorant and gives this error in the treminal.😢😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant