ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
461 stars 87 forks source link

Scoreboard title and team suffix are translated but cut off #585

Closed SplotyCode closed 1 year ago

SplotyCode commented 1 year ago

'/viaversion dump' Output

https://dump.viaversion.com/16346237d260a22877e72ad0cc2d3563c2bcb067ec81f98f888561e89ba1dc76

Console Error

No response

Bug Description

Scoreboard title and team suffix are translated but cut off. I can imagine that color codes are translated to the closest 1.12 color codes. For gradients almost every char has than 2 chars of color codes. This will result in long strings witch are than cut off. Example §bH§be§bl§bl§bo §bW§bo§br§bl§bd will be cut off to §bH§be§bl§bl§bo while a better translation would be §bHello World

Steps to Reproduce

Join for exmaple play.timolia.de and compare the scoreboard on 1.8 and 1.20 clients. You see that not only the color differs (as expected) but also the text is cut off image image

Expected Behavior

Scoreboard title and team suffix should not be cut off the the common case described above

Additional Server Info

No response

Checklist

Barvalg commented 1 year ago

Platform: git--Paper--169%20%28MC%3A%201.20.1%29
ViaVersion (4.7.1-SNAPSHOT): 7 commits behind master
ViaBackwards(4.7.1-SNAPSHOT): 6 commits behind master
ViaRewind(2.0.4-SNAPSHOT): 7 commits behind master

Please try the latest build(s) from https://ci.viaversion.com/. In case the issue still persists send the new dump

l3nnartt commented 1 year ago

https://dump.viaversion.com/936cdcb725cb967e35c06db7380c0079adbff845d106ba2d6054f6d459e14fa3

Barvalg commented 1 year ago

Platform: git--Paper--134%20%28MC%3A%201.20.1%29
ViaVersion (4.7.1-SNAPSHOT): Even with master
ViaRewind(2.0.4-SNAPSHOT): Even with master
ViaBackwards(4.7.1-SNAPSHOT): Even with master