Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Character (Text) Limits

Started by Eirikr, February 10, 2015, 09:31:50 PM

Previous topic - Next topic

Eirikr

I know there are several functions in the game with character limits, particularly things like Judge punishments, Council bulletins, and everyday messages... It used to be posted on those pages, but now the only one that shows it is the punishment page. Can we get those back? Without it, it's extremely frustrating to update a bulletin. For a temporary solution, you could just add a line of text above the entry box (like the punishment page). Longer term, I don't see why we couldn't have live character counters to show when we're close or over.

Zakilevo

We used to have those. Ever since the text box got updated, it disappeared or something.

Chenier

While we are at it, please at least triple the message length limit, and warn the user when it's too long.
Dit donc camarade soleil / Ne trouves-tu ça pas plutôt con / De donner une journée pareil / À un patron

De-Legro

Quote from: Chénier on February 11, 2015, 12:27:21 AM
While we are at it, please at least triple the message length limit, and warn the user when it's too long.

The limits were set to prevent Database performance issues.
Previously of the De-Legro Family
Now of representation unknown.

Anaris

Quote from: De-Legro on February 11, 2015, 12:40:37 AM
The limits were set

...over 10 years ago.

If ^ban^, the resident DB expert, doesn't think we'll have a problem with raising the limits, and Tom signs off on it, I'm completely on board with this.
Timothy Collett

"The only thing you can't trade for your heart's desire...is your heart." "You are what you do.  Choose again, and change." "One of these days, someone's gonna plug you, and you're going to die saying, 'What did I say? What did I say?'"  ~ Miles Naismith Vorkosigan

De-Legro

Quote from: Anaris on February 11, 2015, 12:45:45 AM
...over 10 years ago.

If ^ban^, the resident DB expert, doesn't think we'll have a problem with raising the limits, and Tom signs off on it, I'm completely on board with this.

True, I have little to no experience with DB performance myself, and most internet information on it is hopelessly out of date.
Previously of the De-Legro Family
Now of representation unknown.

Eirikr

Quote from: Lapallanch on February 10, 2015, 09:38:46 PM
We used to have those. Ever since the text box got updated, it disappeared or something.

Quote from: Eirikr on February 10, 2015, 09:31:50 PM
It used to be posted on those pages, but now the only one that shows it is the punishment page. Can we get those back?

Past tense. :P

Actually, I wasn't going to ask to increase the limits because I thought they were more than just DB limits and it'd be too far-reaching of a request... but if that's possible, then HECK YES, PLEASE!

Vita`

I recently discovered how this was so and fixed it (not on live).

Eirikr

Quote from: Vita on November 01, 2015, 12:18:45 AM
I recently discovered how this was so and fixed it (not on live).

Woohoo!

Vita`


Gabanus family

So text limits are now longer? Cause I send a very interesting letter to all the rulers of EC a few days ago ending with: "The ultimate reason for the new re"

Figured I'd keep it like that :-)
New account active chars:
Garas: First Oligarch - Goriad: Astrum - Goriad II: Obia'Syela

Vita`

This wasn't a change to the character limits. This was just fixing the old 'hey your message is too long, we saved it for you and cut it off at the limit' warning that used to exist, but disappeared some years ago. I only checked and fixed Region Descriptions and Realm Bulletins, at this time.

Eirikr

Oh, I thought we had a display that detected the characters in the box and showed the number for you right under.

I mean, this works wonders, too. It's probably good enough.

Vita`

#13
I'm now confused. Is that display something that *did* exist or just what you thought would be the solution to this issue?

EDIT: Reread the whole thread and answered my own question. I'll have to look into how that display disappeared and if it can be brought back. But what I figure is first there was the old 'cut-off' warning. It was replaced by display text (or supplemented, as it wasn't a complete replace in the code). At some point the new display text box broke, and then there was nothing. The change I made re-enabled the original 'your text is too long' cut-off. For only Realm Bulletins and Region Descriptions.

Anaris

I believe that display was removed at some point when it no longer accurately reflected the character count as the game saw it (getting confused by something to do with the RTE).

Not sure whether that was with the RTE we have now, but it was certainly at least a version or two ago.
Timothy Collett

"The only thing you can't trade for your heart's desire...is your heart." "You are what you do.  Choose again, and change." "One of these days, someone's gonna plug you, and you're going to die saying, 'What did I say? What did I say?'"  ~ Miles Naismith Vorkosigan