crpmax / mc-bots

A simple app used for stress testing Minecraft servers with bots
MIT License
326 stars 55 forks source link

Bot disconnected from server immediately after they connected. #54

Closed solitary-sails closed 1 year ago

solitary-sails commented 1 year ago

Informations

OS:Windows 10 JRE:Azul zulu JRE 11.60.19(11.0.17),64-bit mc-bots version:1.2.3 Command Used: java -jar .\mc-bots.jar -s 192.168.3.2 -p BOT_ -d 4000 5000 -c 30

Console Output

Snipaste_2022-12-15_21-15-33

ghost commented 1 year ago

Can you send the code again, but in a code block? I'll try to fix it and open a pull request.

crpmax commented 1 year ago

Hello, it looks like the server sends the client some packet SetTitleTextPacket and the bot crashes. Are there any titles shown on your server on login? You can try disabling the titles or changing them so they are not empty.

This issue was tracked here: https://github.com/KyoriPowered/adventure/issues/447