FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.77k stars 408 forks source link

Dedicated server description is cut down on the server browser #11043

Open evilfactory opened 1 year ago

evilfactory commented 1 year ago

Disclaimers

What happened?

Dedicated servers have their description cut down on the server browser, while on player-hosted servers this doesn't seem like a problem. I also noticed the server package list will show up as unknown when you have around +5 mods enabled, similar issue?

Server browser description Barotrauma_05RgqfqH6x Description when connected to the server Barotrauma_ICaI9mgCIZ

Reproduction steps

  1. Start a dedicated server
  2. Set the description to something big
  3. Notice description is cut down on the server browser

Bug prevalence

Happens every time I play

Version

0.21.5.0 (Unstable)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

itchyOwl commented 1 year ago

I don't see why it's not scrollable in the browser description, so probably not intentional (?)

evilfactory commented 1 year ago

I don't believe the problem is that the text isn't scrollable, the description seems to have been cut down by the steam server list (?).

Xardion495 commented 1 year ago

Still actual on 21.6 version in 'ALL SERVERS' tab. But in 'RECENT' tab server description always displays full and actual info. By the way same concerns to the mods list

Regalis11 commented 1 year ago

Seems to be caused by the same issue as https://github.com/Regalis11/Barotrauma/issues/11453: the value gets truncated to 255 bytes

Regalis11 commented 3 weeks ago

Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/ce21831a23440b76dc6813701f4282ca62fb4a88