-
Notifications
You must be signed in to change notification settings - Fork 1
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
query error #7
Comments
Hi @cheditx, thank you for your report! I can confirm that this is happening on my machine as well, and I think what happened is that the server software py-mcpe-query/src/mcquery/query.py Line 95 in 423ed44
I will make a fix later this week. In any case, it is getting harder for me to recommend this tool over my other package |
bruhhhh don't archive this project, is really cool, and my friend fixed the file query.py, in these days he post the fork :) |
Thanks for the support! I'll at least update the README to prefer the py-mcstats package instead. I could also merge the two together at some point, which I have been wanting to do for a while. Free feel to create a PR so I can merge the fix in! |
with mcquery("pe.mchub.com", 19132) as data:
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 135, in enter
return next(self.gen)
File "C:\Users\User\McpeServerInfoSito\venv\lib\site-packages\mcquery\query.py", line 101, in mcquery
request_stat = MC_QUERY_MAGIC + MC_QUERY_STATISTICS + struct.pack('>l', randint(1, 9999999)) + struct.pack('>l', int(token)) + payload
ValueError: invalid literal for int() with base 10: '1380818460\x00'
The text was updated successfully, but these errors were encountered: