-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
Online mode broken due to autoversion #551
Comments
What's interesting - adding or removing bot to the whitelist.json doesn't change anything... I'd really appreciate any help! |
I'm having the same problem with all examples. They only work on unauthorized accounts. It will throw an error when a password is given and the username/password is wrong, but they will simply hang when proper credentials are entered.
The script kinda hangs and then exits after half a minute or so. |
are you sure its a 1.12 or 1.8.8 server?
|
I tested from 1.8.8 to 1.12, this example was from a 1.10 server. Edit: Nevermind, I added
to the scripts, and they now connect fine to my 1.12 server. The program can guess the version by itself, but doesn't seem to do anything with it afterwards. |
you got the same problem running minecraft-protocol examples?
|
It's hanging with me as well unless I add version: '1.12' but even then it throws errors and closes immediately after connecting. |
It works for me if version: "1.12" specified |
I'm trying tons of servers and they all throw errors. When it does work and connect I get an error for chat patterns |
you got the same problem running mineflayer and minecraft-protocol examples? |
Minecraft-protocol examples work fine but anything mineflayer I get the deserialization error |
A lot of the servers I find hit me with that error but there are a few that work fine on. two examples |
@TheTechPony @Frostman @toomykins It's important to provide steps to reproduce the problems. |
so I tried |
Ok reproduced. Apparently online mode doesn't work with the new autoversion thing. And we disabled the tests for that in nmp because of mojang banning account that auth too fast... Let me try to fix it. |
@rom1504 we might want to contact mojang about that username banning thing. Maybe we could ask them to whitelist our account ? Or ask them for guidance about avoiding this issue ? |
another possible solution might be to redirect the auth request to a local http server and send a fake response back to |
Trying to run echo.js example, but it does nothing.
Workaround was found in comments - specify version explicitly when creating bot (version: "1.12").
tl;dr
I've downloaded echo.js example and trying to run it
I've enabled debug for minecraft proto
Running it with the following command and getting following logs:
The text was updated successfully, but these errors were encountered: