Closed scatterp3 closed 4 years ago
ping
Thanks for creating the issue @scatterp3 !
In the past, the bot was able to connect to Minecraft servers (although that was a really old version). This is the version of the protocol we used: https://wiki.vg/index.php?title=Protocol&oldid=14204
Some features of the current bot are cuberite-specific and we haven't tried connecting it to the regular servers recently.
We are more than happy to accept / review a Pull Request if you want to contribute though.
thanks for the response yes I may do a pull request i want to understand the issue first fully can you tell me the old server version (vanilla) or a range and I will update ticket here with solution if possible or code
so i checked the protocol you linked to (1.12.2, protocol 340) downloaded a vanilla server 1.12.2 and run a test the output was
(minecraft_env) scatterp@mihaela-ThinkPad-T430s:~/mcb/craftassist$ python ./python/craftassist/craftassist_agent.py --name scatter
2020-02-22 22:41:19,719 [craftassist_agent.py:381 -
since bits per block 13 is mentioned in the document you linked if you go to the history of the document it suggests that version 1.9 is the last version to use that scheme so i tried also with 1.9 how ever it was not able to login you mention previously it worked on vanilla minecraft from the commit history packet_reader.cpp has never changed since initial commit could you double check about the version because protocol 340 is for sure not the case here...
@kavyasrinet ping
Hi @scatterp, We tried looking into this but we are very uncertain about the exact versions unfortunately, since this was very far back in the past. Interfacing with java minecraft was not a top priority for the project and it's very possible we broke compatibility somewhere along the way.
ok thanks for the update will put together a patch
Thanks @scatterp ! I'll close this issue for now and we can create a new issue / PR when you get to the patch.
is it possible to change the bits sent and received to respect the standard Minecraft protocol as the bot can't connect with regular servers?