Author Topic: @label limit is 13 characters; help message says 20 characters  (Read 408 times)

tehflambo

  • New to the Mists
  • *
  • Posts: 9
Bug report checklist


Name:
Mismatch between @label actual limit (13 characters) and stated limit (20 characters)

Where:
In the inventory
In the system log

When:
When using the @label command to label a container, labels 14-20 characters in length will not be accepted.

What:
Input: @label 1234567890abcdefghij


Error: "Error: the custom label may not exceed 20 characters."


Recreate:
1. "pick target" on a valid container, ie a Vaasi leather satchel.


2. attempt to apply a 14-character label, ie. @label 1234567890abcd


3. get error message


4. confirm label is unchanged


5. attempt to apply 13-character label, ie @label 1234567890abc


6. system message indicates label is applied


7. confirm label is applied.




Ideas:
I suspect the 'wrapper' text for the label is being included in the label length.
wrapper text:
Code: [Select]
' ()'Given the wrapper text comprises 5 characters, I further suspect an off-by-1 error in the label length comparison. something else is causing the comparison to be off, but I'm not sure what.

Suggested solutions:

A: fix the comparison to allow 20-character labels

B: fix the error text to communicate that labels may only be 13 characters max.
« Last Edit: March 19, 2023, 08:01:04 PM by tehflambo »

Cyber Viking

  • Undead Master
  • ****
  • Posts: 468
  • Discord: Cyber Viking#6572
Re: @label limit is 13 characters; help message says 20 characters
« Reply #1 on: March 19, 2023, 07:27:02 PM »
I beleive its becasue its taking into account "@label " as characters.
Increasing the number to compensate should fix it.


tehflambo

  • New to the Mists
  • *
  • Posts: 9
Re: @label limit is 13 characters; help message says 20 characters
« Reply #2 on: March 19, 2023, 08:01:40 PM »
That would do it!

EO

  • Assistant Head DM/Developer
  • Head DMs
  • Dark Power
  • ******
  • Posts: 22404
  • The one and only, the one everyone wants to be!
Re: @label limit is 13 characters; help message says 20 characters
« Reply #3 on: March 20, 2023, 08:00:31 PM »
I'll fix this next update. Thanks.

tehflambo

  • New to the Mists
  • *
  • Posts: 9
Re: @label limit is 13 characters; help message says 20 characters
« Reply #4 on: March 21, 2023, 06:53:36 PM »
<3 "i'm helping!!"  :lol:

InMyDarkestHours

  • The Underworld
  • Undead Master
  • ****
  • Posts: 460
  • I reveal my heart, to this beauty dressed in dark
Re: @label limit is 13 characters; help message says 20 characters
« Reply #5 on: April 30, 2023, 06:11:56 PM »
Not sure if this was corrected, I'm noticing this problem still.

MAB77

  • Developers
  • Dark Power
  • *
  • Posts: 6423
Re: @label limit is 13 characters; help message says 20 characters
« Reply #6 on: April 30, 2023, 11:18:50 PM »
As per the changelogs, our last update was march 19th. This will come in our next update. No ETA.
Best Regards!
MAB

Dev. Relationist for the Dark Powers.
1 Castle Road, Castle Ravenloft, Village of Barovia.

EO

  • Assistant Head DM/Developer
  • Head DMs
  • Dark Power
  • ******
  • Posts: 22404
  • The one and only, the one everyone wants to be!
Re: @label limit is 13 characters; help message says 20 characters
« Reply #7 on: June 01, 2023, 08:16:26 PM »
This should now be fixed.