Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Steam Unmatched resolution of 1600-908 expected 1600-900 #60

Open
ICEET opened this issue Apr 29, 2018 · 3 comments
Open

Steam Unmatched resolution of 1600-908 expected 1600-900 #60

ICEET opened this issue Apr 29, 2018 · 3 comments

Comments

@ICEET
Copy link

ICEET commented Apr 29, 2018

C:\Users\X>cd /d F:\Temp\test\Yugioh-bot-0.6.0

F:\Temp\test\Yugioh-bot-0.6.0>python main.py gui -s
C:\Program Files\Python36\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2018-04-29 00:04:47 - INFO - bot - APScheduler failed to schedule run, forcing run now
2018-04-29 00:04:47 - DEBUG - bot - Value run_now modified
2018-04-29 00:04:47 - DEBUG - bot - Value stop modified
2018-04-29 00:04:47 - INFO - apscheduler.scheduler - Scheduler started
2018-04-29 00:04:47 - INFO - bot.provider.Steam - Starting Steam...
2018-04-29 00:04:51 - CRITICAL - bot - Could not get a provider, take a look at your config file
2018-04-29 00:04:51 - CRITICAL - bot - Unmatched resolution of 1600-908 expected 1600-900
2018-04-29 00:04:51 - DEBUG - bot - Traceback (most recent call last):
File "main.py", line 47, in setup_runtime
dlRuntime.set_provider(get_provider(uconfig.get('bot', 'provider'))(scheduler, uconfig, dlRuntime))
File "F:\Temp\test\Yugioh-bot-0.6.0\bot\providers\steam\steam.py", line 47, in init
self.ensure_resolutions_matches()
File "F:\Temp\test\Yugioh-bot-0.6.0\bot\providers\steam\steam.py", line 142, in ensure_resolutions_matches
"Unmatched resolution of {}-{} expected {}-{}".format(width, height, pre_width, pre_height))
File "F:\Temp\test\Yugioh-bot-0.6.0\bot\common.py", line 65, in bot_assertion
raise error_type(message)
bot.providers.BotSetupError: Unmatched resolution of 1600-908 expected 1600-900

2018-04-29 00:05:47 - INFO - bot - APScheduler failed to schedule run, forcing run now
2018-04-29 00:06:47 - INFO - bot - APScheduler failed to schedule run, forcing run now

@joe159119
Copy link

Start your game before run the bot.
Change your resolution to another one and then change to 1600-900.
Click Enter.
For me is worked.

@will7200
Copy link
Owner

will7200 commented May 2, 2018

Yeah right now it only supports the ones that I manually have put it. It takes time to do those. I will probably add documentation on how to contribute to adding other screens.

@BullyWiiPlaza
Copy link

BullyWiiPlaza commented May 13, 2018

My Duel Links' (Steam version) screen resolution is set to 1600x900 but I still get this error:
bot.providers.BotSetupError: Unmatched resolution of 1600-877 expected 1600-900
@joe159119 's suggestion worked though. A proper fix for this bug would still be appreciated.

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

No branches or pull requests

4 participants