ID:2759131
 
BYOND Version:N/A (Website Bug)
Operating System:N/A
Web Browser:N/A
Applies to:Website
Status: Open

Issue hasn't been assigned a status value.
Problem Summary:

The maximum length of world/var/status allowed by the hub is not documented. Through simple testing it appears to be 255 bytes.


Reproduction Steps:

1. Viewed https://www.byond.com/docs/ref/#/world/var/status - noted use of "short" string.

2. Pushed something to world.status to see how short. On the end of my server listing, a test string of 0-9 sequences was truncated:
TEST01234567890123456789012345678901234567890123456789012345

3. Changed the test string to use 2 byte characters since we can do that and noted a harsher truncation:
TESTöööööööööööööööööööööööööööö"

4. Checked the original's byte length and found 255.


Expected Results:

Entries can by styled and populated with invisible characters, which makes this issue not immediately obvious when they are truncated without warning. The allowed byte length should be shown in documentation.

Although trivially implemented in user code, setting text of length() > 255 could also generate a world log warning.