Closed Izocel closed 2 years ago
Most likely the bot falls back to offline mode authorization and uses the E-Mail as your username here. Check the log lines before to see what went wrong during the autorization proccess, if you have any troubles feel free to answer here or ask them on my Discord
Seems to connect well:
[2022-07-06 23:58:54] [INFO ] Trying to authenticate with *@hotmail.com:**** (MICROSOFT)... [2022-07-06 23:58:56] [INFO ] Authentication successful! [2022-07-06 23:58:56] [INFO ] Username: triangle1232009@hotmail.com [2022-07-06 23:58:56] [INFO ] Pinging 24.230.192.246:25565 with protocol of MC-AUTOMATIC [2022-07-06 23:58:58] [INFO ] Received pong: Unknown, version: 1.19 (759), players online: 1 [2022-07-06 23:58:58] [INFO ] Module "HandshakeModule" enabled! [2022-07-06 23:58:58] [INFO ] Module "LoginModule" enabled! [2022-07-06 23:58:58] [INFO ] Module "ClientDefaultsModule" enabled! [2022-07-06 23:58:58] [INFO ] Module "FishingModule" enabled! [2022-07-06 23:58:58] [INFO ] Module "ChatProxyModule" enabled! [2022-07-06 23:58:58] [SEVERE ] Login failed: {"translate":"disconnect.genericReason","with":["Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (27 > 16)"]} [2022-07-06 23:58:58] [INFO ] Module "LoginModule" disabled! [2022-07-06 23:58:58] [INFO ] Module "ClientDefaultsModule" disabled! [2022-07-06 23:58:58] [INFO ] Module "FishingModule" disabled! [2022-07-06 23:58:58] [INFO ] Module "ChatProxyModule" disabled! [2022-07-06 23:58:58] [INFO ] FishingBot will reconnect in 5 seconds... [2022-07-06 23:59:03] [INFO ] Trying to authenticate using access token... [2022-07-06 23:59:03] [WARNING] The access token is irrecoverably. Using password authentication. [2022-07-06 23:59:03] [INFO ] Trying to authenticate with *@hotmail.com:**** (MICROSOFT)...
Don't it support 1.19 ?
It supports 1.19, but this log looks quite sus, you did not changed the line saying Username: …, right? Normally there should be your username not your mail. Is it a normal Microsoft account with Minecraft: Java Edition or sth. special? Xbox Gamepass or sth?
Its a normal microsoft account but did not by the game...
oh, ok, that makes sense. If you want to play offline mode (cracked), you can enter your username in the E-Mail field and leave the password field blank and untick Server » Online Mode
Its online my friend host the server, so I understant that in this case i would need to buy the game
If the server disable online-mode
(https://minecraft.fandom.com/wiki/Server.properties#online-mode) as-well, you can still join (this has nothing to do with single player or multiplayer, it's just for the authentication to happen offline or online)
Well seems that online is "off" but still get
[2022-07-07 00:12:12] [SEVERE ] Login failed: {"translate":"disconnect.genericReason","with":["Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (27 > 16)"]}
Then you still have your E-Mail entered in the E-Mail field, but for offline mode the bot uses this field to set the desired username, so you have to set it to any valid username (max. 16 character, almost no special characters)
I had similar issue in mineflayer
changing auth to Microsoft and removing the password worked.
const bot = mineflayer.createBot({
host: 'localhost', // server host
port: 25565,
version: "1.17.1",
username: "noob@gmail.com", // microsoft email
auth: "microsoft" // keep this value microsoft for microsoft account
// password: "yourpasswored" // keep this commented for microsoft
})
Well seems that i had to buy the game anway its cheep :P
thanks guys great stuff btw ;)
Yeah when offline mode username length is Critical you should put in in your readme ;) It works offline now ;)
[2022-07-06 23:43:29] [SEVERE ] Login failed: {"translate":"disconnect.genericReason","with":["Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (27 > 16)"]}
using Bot2.7.19.jar (precompiled)