Elytrium / LimboAPI

An API which provides virtual servers features to Velocity
https://elytrium.net/
GNU Affero General Public License v3.0
234 stars 63 forks source link

[QUESTION] How to SpawnPlayer in 1.20.2? #118

Closed f1den closed 5 months ago

f1den commented 10 months ago

SpawnPlayer logic was removed and replaced by SpawnEntity :(

1.20.2 - https://wiki.vg/Protocol#Spawn_Entity

1.20.1 - https://wiki.vg/index.php?title=Protocol&oldid=18375#Spawn_Player

P.S. how can i fix limboHub? i fixed all packet ids, but i can't change player logic with all versions support easily :(

make pull request if u know how. (forked) https://github.com/f1den/LimboHub/

kostya-main commented 10 months ago

I tried your port and it turned out that when opening the menu on version 1.20.2 an error appears: Client disconnected with reason: Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.class_148: Loading NBT data Can you fix this or is it not on LimboHub side?

an1by commented 10 months ago

Same error. image Problem in player logic in LimboAPI. LimboHub in other case works fine. image

masmc05 commented 10 months ago

I tried your port and it turned out that when opening the menu on version 1.20.2 an error appears: Client disconnected with reason: Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.class_148: Loading NBT data Can you fix this or is it not on LimboHub side?

it's on limbo api side, they didn't update the chunk serialization format to the 1.20.2 so when it reaches the nbt deserialization it's a mess instead of actual data, didn't update lots of packets ids to 1.20.2 etc

Limbo api still doesn't support 1.20.2 properly and that the cause of all that

mdxd44 commented 5 months ago

i assume this one was fixed