Page MenuHomeSchine - Phabricator

Starmade | [ADD] in displays can make too many lines
Open, NormalPublic

Description

Display blocks have a limit of 10 lines. Reaching the max will show “Lines left: 1/10”. However, using [ADD] can exceed this by one, resulting in it saying 0/10.

Here are two pictures showing the bug:


The bugged display (I was attempting to add more than one color to a display, with no positive results)


The display’s editor, with “0/10 lines left” visible.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Singleplayer
Reproducible
Yes
Last tested (version)
v0.202.87
Category
Control Block System: Functional
First occurrence (version)
v0.202.87
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  • Make 2 displays. Place a button next to the second.
  • Set display 1 to be any text. It should be all on one line.
  • Set display 2 to:

[ADD]
*Put anything you want here on line 2*
Be sure to put [ADD] on line 1 and the text on line 2.

  • Activate the button repeatedly. You will see that it will soon reach the bottom.
  • Press it one more time, and another line is added (as long as there are characters left), floating:

  • Press it again, and nothing happens.
  • Open the display. There are 0 lines left. Press Cancel, the X, or your Escape (sometimes shortened to Esc) key. The text remains.
  • To solve it, open the display, and press OK without editing. The extra line is removed:

  • Once you use the trick above to fix it, the bug no longer takes effect. However, if a third display (with button) changes the bugged display, it can happen again until re-fixed.
Serverconfig (server.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>
Clientconfig (settings.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>

Event Timeline

Policy changed the edit policy from "Task Author" to "AndyP (Andy Püttmann)".May 13 2021, 11:25 AM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.May 13 2021, 11:25 AM
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".
AndyP changed the edit policy from "AndyP (Andy Püttmann)" to "Starmade (Project)".
AndyP moved this task from New / Unconfirmed to Open / Validated on the Issue Navigation board.
AndyP added a subscriber: AndyP.

Validated