Re: [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Tue Dec 01, 2020 1:21 pm
by kovarex
Not really a bug as maximum description size is currently 500 characters.
But, the textbox should be also limited to this number so it would be obvious why editing, not only after confirmation.
Re: [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Tue Dec 01, 2020 2:03 pm
by Nexarius
There isn't really a technicall limit for 500 is there? You might want to increase it to 1000 or 5000.
Also while watching this I saw:
Unbenannt.png (67.31 KiB) Viewed 3316 times
Re: [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Tue Dec 01, 2020 2:05 pm
by kovarex
Nexarius wrote: ↑Tue Dec 01, 2020 2:03 pm
There isn't really a technicall limit for 500 is there? You might want to increase it to 1000 or 5000.
Also while watching this I saw:
Unbenannt.png
The technical limit is to keep the blueprints reasonably small, especially when it comes to multiplayer and internal transfer of blueprint library contents into the game state.
Re: [kovarex] [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Tue Dec 01, 2020 2:28 pm
by kovarex
I fixed the button position, but I can't reproduce the discrepancy between the limit of the textbox and the real limit, could you post the text that you used here, so I can reproduce it?
Re: [kovarex] [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Tue Dec 01, 2020 11:44 pm
by superstalkerX
kovarex wrote: ↑Tue Dec 01, 2020 2:28 pm
I fixed the button position, but I can't reproduce the discrepancy between the limit of the textbox and the real limit, could you post the text that you used here, so I can reproduce it?
I put the BP string in the first post so you could copy the text easily. Are you saying that you still could not recreate it even with the BP?
I'm confused about how you do not consider this a bug. I understand that there is a limit but I'm saying the limit on typing does not match what is truly saved in the print. There is an 8 character discrepancy. I am unable to type any more than those 8 characters edit: I misunderstood your message, my bad.
[item=iron-ore][item=copper-ore][item=coal][item=stone] Extraction:
• Direct [item=electric-mining-drill]-to-[item=cargo-wagon] for Mid-Late Game
• These blueprints are for mid-late game when your "Mining Productivity" technology is upgrading with space science.
FEATURES:
• Miner & Beacon auto power down.
• Lane shutdown when out of ore.
Original mining design by darklich14, Blooper, and BobAAAces
Modifications and rich text by [color=255, 255, 20]SuperstalkerX[/color]
[color=red]12345
I agree with your judgment that there should be a limit to BP descriptions although it is highly inconvenient when using rich text such as change font, icons, or color costing up 10 or 20 characters just for a simple change.
for a quality of life improvement, could you make a footer stating how many characters out of the max have been used? It's not critical it would just be nice to have.
Re: [kovarex] [1.1.3] Blueprint description gets cut off by 8 characters
Posted: Wed Dec 02, 2020 1:46 pm
by kovarex
Ok, so the inconsistency were the UTF8 charaters (the "•" in your case).
The limit in the GUI was the amount of UTF8 characters, while the internal limit was the amount of bytes in the string, and since • is worth 3 bytes, it didn't match up.
I fixed it in the way, that the limit always refers to the amount of bytes, so it is consistent.