You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the server sends out a WrapperPlayServerResourcePackSend on 1.8.9 the client doesn't send the hash that the server sent with it. The length of the string is always 0.
Listen for the resource packet for the client, grab and debug the hash string from the packet it returns a 0 length string (PacketType.Play.Client.RESOURCE_PACK_STATUS)
Expected behavior
The client should give the hash that's provided when the server sends out the packet.
On versions older than 1.10 (which happens to be your case), packetevents does recognize and write/read the hash within the packets. It could be that ViaVersion is modifying the packet and emptying the hash, causing you to experience this.
FYI: Versions 1.10+ have removed this hash.
Take away: Try without ViaVersion and see if it persists, inform us and maybe consider consulting with them.
On versions older than 1.10 (which happens to be your case), packetevents does recognize and write/read the hash within the packets. It could be that ViaVersion is modifying the packet and emptying the hash, causing you to experience this.
FYI: Versions 1.10+ have removed this hash.
Take away: Try without ViaVersion and see if it persists, inform us and maybe consider consulting with them.
I was wrong, I think its something to do with PacketEvents and bungeecord/velocity. As I tested without any plugins, and it still has the issue, but as soon as I go on a non bungee coord/velocity server (connecting straight to the server) running packet events its fine.
Edit:
So when using Velocity to connect to a server, that uses PacketEvents (on the spigot) it has this hash issue. If its not Velocity it doesn't have the issue (I made report to them: PaperMC/Velocity#1327)
Describe the bug
When the server sends out a WrapperPlayServerResourcePackSend on 1.8.9 the client doesn't send the hash that the server sent with it. The length of the string is always 0.
Software brand
Spigot 1.8.8-R0.1-SNAPSHOT (/about)
Plugins
ViaVersion, Spark, WorldGuard, Citizens, Strikepractice, PacketEvents, Essentials
How To Reproduce
Steps to reproduce the behavior:
PacketEvents.getAPI().getPlayerManager().sendPacket(player, new
WrapperPlayServerResourcePackSend(
"level://" + "test" + "/resources.zip",
"test", false,
null));
Expected behavior
The client should give the hash that's provided when the server sends out the packet.
Screenshots
https://i.imgur.com/JAvTB6F.png
https://i.imgur.com/FzsHVaF.png
The text was updated successfully, but these errors were encountered: