Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.19 KB

File metadata and controls

61 lines (41 loc) · 1.19 KB

Error codes

Sometimes you will get error codes from the server.
Here is a small documentation of those error codes.

ERROR_RATELIMIT

You sent to many packets per second.

ERROR_PACKET_OVERFLOW

Your packet was larger than 1024 bytes.

ERROR_NO_MOVE

You didn't send a move packet.

ERROR_MAX_CONNECTIONS

Your ip is already connected.

ERROR_JOIN_TIMEOUT

You didn't send the join packet.

ERROR_JOIN_EXPECTED

Your first packet was not a join.

ERROR_USERNAME_INVALID

You used an invalid username.

ERROR_USERNAME_FORBIDDEN

You used a forbidden username.

ERROR_USERNAME_TOO_SHORT

Your Username is too short.

ERROR_USERNAME_TOO_LONG

Your Username is too long.

ERROR_PASSWORD_INVALID

You used an invalid password.

ERROR_PASSWORD_TOO_SHORT

Your Password is too short.

ERROR_PASSWORD_TOO_LONG

Your Password is too long.

ERROR_NO_PERMISSION

You don't have permission to do this.

ERROR_WRONG_PASSWORD

Your password is wrong.

ERROR_ALREADY_CONNECTED

You are already connected with this player.

ERROR_ILLEGAL_MOVE

You tried to do something illegal :O

WARNING_UNKNOWN_MOVE

You did not send a valid move packet.

ERROR_UNKNOWN_PACKET

You sent an unknown command.