Closed debil9877654321 closed 6 years ago
Canceling a packet results in the queue being broken.
Problem of your proxy is server send packet directly to the client and your proxy is only reading it, but you have to connect player trough the proxy so the packets will go like this: but currently it's like this I don't know to draw :,D
I think you have to make it catch 0x01 packet with player data, but I think you must write your own system to read the packages because in pocketmine raklib it does not catch for some reason as I checked.
socket receive catch 0x01, so you only have to decode it by another way I think.
@debil9877654321 The problem is that the MCPE has a queue of packages and their confirmation.
Oh, and how to do it then?
Idk
Maybe dkt know, you can try ask him.
rip
To block client packet need send ACK with right seq number. @Yexeed already tried to block the client's package and it's was done, but with some bugs. Now we need to come up with a better implementation of packet blocking.
e4234a7799648893fa14c6c8a0920326aeb869fe
For example when client send message (text packet) I want to close it, but this looks to be bugged, is that right? I still send the packet to server when I cancel sending it.