[Bug Report] PingResponse is not parsed properly
Checklist before creating an issue:
- [x] I'm using the latest version of Apollo.
- [x] I'm using the latest version of Lunar Client. (Relaunched in the last hour)
- [x] I'm running Apollo on ONLY the backend server OR the proxy. (YOU CANNOT RUN IT ON BOTH)
- [x] I do NOT have both Apollo and the LEGACY API installed on the same server. (YOU CANNOT RUN BOTH AT THE SAME TIME)
- [x] I've gathered all screenshots, logs and appropriate information related to creating a bug report.
Issue Description
The Ping Servers module which is apart of the Transfer module does not seem to work. The client is not processing/responding to the PingServers message in a way that the server expects.
My project is using apollo-common as a dependency "com.lunarclient:apollo-common:1.2.0" as the documentation does not say what version of apollo-protos to use.
Out of curiosity, I decided to test both a PingServer message, and a Transfer message. The PingServer response sent by the client is the message below that's 3642 bytes long, and the transfer is 111 bytes long.
[08:11:18 INFO]: UUID of player Iowa is d50a7e87-2082-4956-8ffb-094f26a9af1e [08:11:19 INFO]: Iowa logged in with entity id 3 at ([world]-0.5, 80.0, -0.5) [08:11:19 INFO]: [Core] [STDOUT] lunar:apollo CraftPlayer{name=Iowa, uuid=d50a7e87-2082-4956-8ffb-094f26a9af1e} byte length: 3642 [08:11:19 INFO]: class com.lunarclient.apollo.libs.protobuf.Any [08:11:37 INFO]: [Core] [STDOUT] lunar:apollo CraftPlayer{name=Iowa, uuid=d50a7e87-2082-4956-8ffb-094f26a9af1e} byte length: 111
The code below is what produced the above debug. I believe the PingResponse is not being parsed correctly, as it is not matching the if statement.
Reproduction steps
To reproduce, you can use the sample code found in the documentation. I used the Apollo-protos library.
I verified that a plugin message both send & received.
Code Snippet (If applicable, if not write N/A)
N/A
Versions
1.21
Platforms
Spigot / Bukkit
Server Version
1.21
Modules
Fabric
Screenshots
The results from a third-party client implementing the Apollo API The results from official Lunar client on latest 1.8.8 & 1.21.8
Contact Information
Discord - jtjava
Additional Context (Examples, Links, ETC)
No response