Vultr.com - Instant Cloud Server Deployment
GAMETRACKER FORUMS
Forum Home > GameTracker General Help & F.A.Q.s > Minecraft - Bad Packet bug when trying to scan
wolwxPM
#1
Minecraft - Bad Packet bug when trying to scan
Feb 27, 2012 3:33 PM
Joined: Jun 2008
Posts: 4
Hello

Actually we are trying to use your serverscan feature for MineCraft, but we look like to be stucked with a protocol error, including using a "recommanded" or "dev" build from Crafbukkit :

2012-02-27 21:28:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-30-ge00a561-b1963jnks (MC: 1.1) (Implementing API version 1.1-R5-SNAPSHOT)
2012-02-27 21:29:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-02-27 21:29:01 [INFO] Done (4,640s)! For help, type "help" or "?"
2012-02-27 21:29:01 [INFO] Starting GS4 status listener
2012-02-27 21:29:01 [INFO] Query running on xx.xx.xx.xx:25639
2012-02-27 21:29:01 [INFO] Starting remote control listener
2012-02-27 21:29:01 [INFO] RCON running on xx.xx.xx.xx:25641
2012-02-27 21:29:01 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
2012-02-27 21:29:15 [SEVERE] java.io.IOException: Bad packet id 81
2012-02-27 21:29:15 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:71)
2012-02-27 21:29:15 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
2012-02-27 21:29:15 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:265)
2012-02-27 21:29:15 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
2012-02-27 21:29:15 [INFO] /208.167.225.13:59593 lost connection
maulPM
#2
Feb 27, 2012 6:59 PM
GAMETRACKER ADMIN Joined: Oct 2006
Posts: 964
Hi wolwx,

What is the IP and port your server?

Based on your log, it seems that the query port is 25639. Do you have any firewall settings possibly blocking your query port?
I do not provide support over PM. Please ask your questions on the GameTracker forums.
wolwxPM
#3
Feb 28, 2012 5:23 AM
Joined: Jun 2008
Posts: 4
maul wrote:
Hi wolwx,

What is the IP and port your server?

Based on your log, it seems that the query port is 25639. Do you have any firewall settings possibly blocking your query port?


Hi

That's a test server, hosting into a clean (fresh installation) dedicated server using Ubuntu 11.04, actually not using any firewall (iptable) rules.

The IP and port are :
88.190.12.143:25638

Port are correctly functionnal, and I can check in many différente ports or another dedicated if needed..

But this type of error (bad packet) look like to be in relation with my version of CraftBukkit (last one) perhaps

So if someone can confirm me an exact version of CraftBukkit to test with, I will do more tests.

If needed, here it's my server.properties

#Minecraft server properties
#Mon Feb 27 20:44:43 CET 2012
allow-nether=false
level-name=world
allow-flight=false
verify-names=false
enable-query=true
rcon.password=test
server-port=25638
query.port=25639
grow-trees=true
level-type=DEFAULT
minequery-port=25638
enable-rcon=true
level-seed=jaipasdeseedmap
server-ip=88.190.12.143
hostname=TestServeur
spawn-npcs=false
debug=false
white-list=false
spawn-animals=false
online-mode=false
pvp=false
mobileadmin-port=0
dynmap-port=0
difficulty=1
server-name=TestServeur
gamemode=0
admin-slot=true
max-players=10
rcon.port=25641
max-connections=3
public=true
spawn-monsters=false
view-distance=10
generate-structures=true
motd=Vive le manager v2
maulPM
#4
Feb 28, 2012 11:12 AM
GAMETRACKER ADMIN Joined: Oct 2006
Posts: 964
Your setup appears correct. I used the 'add server' feature on GT to add this for you:

http://www.gametracker.com/server_info/88.190.12.143:25638/

You can claim this server and make any adjustments that you'd like.

Best regards.
I do not provide support over PM. Please ask your questions on the GameTracker forums.
wolwxPM
#5
Feb 28, 2012 2:32 PM
Joined: Jun 2008
Posts: 4
maul wrote:
Your setup appears correct. I used the 'add server' feature on GT to add this for you:

http://www.gametracker.com/server_info/88.190.12.143:25638/

You can claim this server and make any adjustments that you'd like.

Best regards.


Great

Thanks for that

I will do more test with another gameservers since we wish to include GameTracker banner for our customers

===
Edited after more tests

That's now fully functional
Tested into 3 différents dedicated servers and now that's perfect

Thanks again
Last edited by: wolwx Feb 28, 2012 4:50 PM
maulPM
#6
Feb 29, 2012 10:41 AM
GAMETRACKER ADMIN Joined: Oct 2006
Posts: 964
No problem. I'm glad to hear that everything is working now.

Best regards.
I do not provide support over PM. Please ask your questions on the GameTracker forums.
jodom1979PM
#7
Mar 17, 2012 9:45 PM
Joined: Mar 2012
Posts: 1
I too am having a similar problem. Here is my log.

012-03-16 20:30:46 [INFO] Setting default query port to 25565
2012-03-16 20:30:46 [INFO] Query running on 184.106.185.12:25565
2012-03-16 20:34:25 [SEVERE] java.io.IOException: Bad packet id 81
2012-03-16 20:34:25 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:75)
2012-03-16 20:34:25 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
2012-03-16 20:34:25 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
2012-03-16 20:34:25 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
2012-03-16 20:34:25 [INFO] /208.167.225.11:45309 lost connection



Not sure if it should be listening on 25565 or what? but I want to get it correct.

-Jake
maulPM
#8
Mar 19, 2012 11:22 AM
GAMETRACKER ADMIN Joined: Oct 2006
Posts: 964
Hello,

Your server appears to be setup correctly. I can view stats on IP: 184.106.185.12 and query port 25565.

If I recall correctly, the default query port for minecraft is 25566, but changing it to 25565 does not affect gameplay.

You can add your server on this page: http://www.gametracker.com/servers/
I do not provide support over PM. Please ask your questions on the GameTracker forums.