You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Answer:
C:\Users\Vanya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\gevent\monkey.py:776: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.contrib.pyopenssl (C:\Users\Vanya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\urllib3\contrib\pyopenssl.py)'].
_queue_warning(
None
Help me pls.
The text was updated successfully, but these errors were encountered:
Hi, you've set the timeout on your wait_event to only 1 second, which may not be enough. You also do not wait for the csgo ready event before making the request. For the warning see ValvePython/steam#97
I tried many ways to get "cs.wait_event('item_data_block', 1)" but I don't know.
My code:
client = SteamClient()
client.cli_login('', '')
cs = CSGOClient(client)
cs.launch()
cs.request_preview_data_block(s=76561198390812765, a=11899154096, d=14908795644343063777, m=0)
response = cs.wait_event('item_data_block', 1)
print(response)
Answer:
C:\Users\Vanya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\gevent\monkey.py:776: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See gevent/gevent#1016. Modules that had direct imports (NOT patched): ['urllib3.contrib.pyopenssl (C:\Users\Vanya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\urllib3\contrib\pyopenssl.py)'].
_queue_warning(
None
Help me pls.
The text was updated successfully, but these errors were encountered: