MrKinau / FishingBot

1.8 - 1.21 Fishing bot for Minecraft
GNU General Public License v3.0
322 stars 68 forks source link

Add protocol to the version 1.16.5 #118

Closed xd-mau5 closed 3 years ago

xd-mau5 commented 3 years ago

A new update came out that says that it is compatible with version 1.16.4 but the bot cannot connect to the server


[2021-01-16 17:11:52] [INFORMACIÓN] Intentando autentificarse usando el token de acceso... 
[2021-01-16 17:11:54] [ADVERTENCIA] El token de acceso es inválido: Invalid token - Intentando recargar... 
[2021-01-16 17:11:54] [INFORMACIÓN] Intentando recargar el token de acceso... 
[2021-01-16 17:11:54] [INFORMACIÓN] ¡Autentificación exitosa! 
[2021-01-16 17:11:54] [INFORMACIÓN] Nombre de usuario: xd_mau5 
[2021-01-16 17:11:54] [INFORMACIÓN] Haciendo ping a lowee.serveminecraft.net:25565 con el protocolo MC-1.16.4 
[2021-01-16 17:11:57] [GRAVE  ] El servidor lowee.serveminecraft.net no es accesible con esta versión de Minecraft. 
[2021-01-16 17:11:57] [GRAVE  ] La detección automática de versiones puede no funcionar. Por favor, coloca un protocolo por defecto (default.protocol) en el archivo config.json. 
[2021-01-16 17:12:00] [GRAVE  ] Ha ocurrido un error inesperado: Connection refused: connect 
[2021-01-16 17:12:00] [GRAVE  ] El bot se detendrá... ```
amoraschi commented 3 years ago

Have you tried using the protocol for 1.16.5?

xd-mau5 commented 3 years ago

Have you tried using the protocol for 1.16.5?

There is no protocol for that version. image

The 1.16.5 came out two days ago, 1.16.5

amoraschi commented 3 years ago

I dont know if theres an option for a numerical protocol in the config.json

MrKinau commented 3 years ago

1.16.5 has the same protocol version number as 1.16.4 and afaik no protocol changes. I'll take a look into the new version.

MrKinau commented 3 years ago

Ok, I've tested it and it is completely working in 1.16.5. I've overviewed your log and found out that you've put the port into the IP field. Just remove the :25565 from your Server IP (it's not rquired, the port is set in an extra field). If this does not fix your error feel free to answer again :)

xd-mau5 commented 3 years ago

Ok, I've tested it and it is completely working in 1.16.5. I've overviewed your log and found out that you've put the port into the IP field. Just remove the :25565 from your Server IP (it's not rquired, the port is set in an extra field). If this does not fix your error feel free to answer again :)

I misspelled a number on the port, sorry for this, closing the issue