Krypton icon indicating copy to clipboard operation
Krypton copied to clipboard

Right clicking kicks the client

Open notfoundname opened this issue 3 years ago • 3 comments

Description

When player right clicks any block (or tries to place some), he gets kicked with an error in console.

Steps to reproduce

  1. Start the server;
  2. Connect to it;
  3. Right click on a block / place a block
  4. :)

Expected behaviour

Client should not get kicked

Details

https://paste.gg/p/anonymous/c22beb302ef34da6904283b838617838

  • Server version: Krypton 0.60.4
  • Java version: openjdk 17.0.1 2021-10-19 OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12) OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

notfoundname avatar Feb 11 '22 13:02 notfoundname

Well this is a strange one. I think block placing is still unfinished, but I will investigate this and see if I can find the problem. Thanks for the report!

BomBardyGamer avatar Feb 11 '22 13:02 BomBardyGamer

Quite late but I think it has to do with the block handling, possibly having to do with some sort of illegal interaction for notchian clients that causes them to be kicked, from what I can see, it has to do that it is receiving an illegal block pos?, I dont know much kotlin but I'm willing to help

Edit: Looks like it has to do with the heightmaps

StarL0st avatar May 10 '22 03:05 StarL0st

Yeah that sounds about right. As I said, block placing is still unfinished, and still needs to be done. It hasn't been done yet because there is a lot for us to do when blocks get placed, a lot of actions to process, and I need to figure out what actually needs to be done and when, and I've been focusing on other things.

BomBardyGamer avatar May 10 '22 08:05 BomBardyGamer