adde0109 / Proxy-Compatible-Forge

Works with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
Other
34 stars 14 forks source link

Cant switch betwhen servers #8

Closed zaze06 closed 1 year ago

zaze06 commented 1 year ago

Hi, I'm having issues connecting to my magma(1.18.2-40.2.0) server running ATM7 to the sky. I get the message "unexpected customer data from client" when connecting to the server over velocity.

velocity messages when connection:

[22:02:44 ERROR]: [connected player] AlienFromDia (/<my ip>:29508): disconnected while connecting to modded: multiplayer.disconnect.unexpected_query_response

message in magma:

[22:02:44] [User Authenticator #1/INFO] [minecraft/ServerLoginPacketListenerImpl]: UUID of player AlienFromDia is 40b7dc92-3562-4ffd-9848-86d5327f4b08   [22:02:44] [Netty Server IO #2/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake
[22:02:44] [Netty Server IO #2/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake
[22:02:44] [Netty Server IO #2/INFO] [minecraft/ServerLoginPacketListenerImpl]: Disconnecting com.mojang.authlib.GameProfile@3c8a1ee9[id=40b7dc92-3562-4ffd-9848-86d5327f4b08,name=AlienFromDia,properties={textures=[com.mojang.authlib.properties.Property@241a06b1]},legacy=false] (/<my ip>:55811): Unexpected custom data from client
[22:02:44] [Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@3c8a1ee9[id=40b7dc92-3562-4ffd-9848-86d5327f4b08,name=AlienFromDia,properties={textures=[com.mojang.authlib.properties.Property@241a06b1]},legacy=false] (/<my ip>:55811) lost connection: Unexpected 

I have version 1.18.2-0.2.1 of ambassador forge and version 1.1.6-alpha

if this is an issue whit magma then I will take it whit them, if its an issue whit velocity then I will l ask them. thanks for the help I can get

adde0109 commented 1 year ago

I recommend using Arclight instead since I my mod know it works on it. I haven't developed with Magma in mind but I will try to add support for it in the future. If you proceed to get errors even when using Arclight please let me know.

zaze06 commented 1 year ago

so it shuld work whit Arclight instead of magma?

zaze06 commented 1 year ago

so i found that i get this message when starting the proxy

[21:04:35 ERROR]: Couldn't pass ProxyInitializeEvent to ambassador
java.lang.ClassCastException: class org.geysermc.floodgate.inject.velocity.VelocityInjector$VelocityChannelInitializer cannot be cast to class com.velocitypowered.proxy.network.ServerChannelInitializer (org.geysermc.floodgate.inject.velocity.VelocityInjector$VelocityChannelInitializer is in unnamed module of loader com.velocitypowered.proxy.plugin.PluginClassLoader @4a68135e; com.velocitypowered.proxy.network.ServerChannelInitializer is in unnamed module of loader 'app')
        at org.adde0109.ambassador.Ambassador.inject(Ambassador.java:65) ~[?:?]
        at org.adde0109.ambassador.Ambassador.onProxyInitialization(Ambassador.java:57) ~[?:?]
        at org.adde0109.ambassador.Lmbda$1.execute(Unknown Source) ~[?:?]
        at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.2.0-SNAPSHOT-219.jar:3.2.0-SNAPSHOT (git-d9ee34fe-b219)]
        at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity-3.2.0-SNAPSHOT-219.jar:3.2.0-SNAPSHOT (git-d9ee34fe-b219)]
        at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity-3.2.0-SNAPSHOT-219.jar:3.2.0-SNAPSHOT (git-d9ee34fe-b219)]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]

so is this ambassitor or velocity that's the issue?

adde0109 commented 1 year ago

That's an issue I'm aware of. I will make a new release later today for it.

zaze06 commented 1 year ago

ah ok, well when i switched to arclight I did also switch to there proxy and now things work. except for me not being able to join the server because of an index out of bound exception. but I belive that's an issue whit arclight or lightfall and not your mod/plugin. and now when I check whit arclight and lightfall your mod/plugin wasn't needed, and there where issues whit velocity. so I thank you for your help