Page 1 of 1

[v1.3.0+] Longer Character Names

Posted: Thu Jul 14, 2016 11:14 pm
by Zizzo
I think the reason I ultimately gave up on Yeek Brawler Reginald Q. Milquetoast III, Esq. (on top of, y'know, the whole drowning thing, this being pre-Nur-Kit) was the demoralizing effect of discovering that the game was truncating his name. :? :( Specifically, Game:setPlayerName() enforces a maximum character name length of 25 characters. [Oddly, the name field on the character creation dialog is set up with a max_len of 50 characters, which is why I wasn't expecting the truncation.] Well, AFAICT there's no particular structural reason that necessitates the 25-character limit, so a quick bit of overloading later, I give you my new Longer Character Names addon. :wink:

Now, as a first pass, we increase the character name length limit to 50 in Game:setPlayerName() to match the character creation dialog, on the theory that (a) if I wanted to increase it further, I'd have to superload both places, and (b) I can't think of any obvious names I'm tempted to use that are longer than this one. If anyone does want a really, really long name, let me know and maybe we can work something out.

[Technical notes:]

Code: Select all

Superload:
  mod.class.Game:
    setPlayerName() [overloaded, to increase max character name len to 50]

Re: [v1.3.0+] Longer Character Names

Posted: Fri Jul 15, 2016 2:26 am
by stinkstink
yes yes thank you

Re: [v1.3.0+] Longer Character Names

Posted: Mon Jul 18, 2016 5:14 am
by Hellcommander
Are you going to add your new addons to your addon pack (please do so I can use your new tweaks)?

Re: [v1.3.0+] Longer Character Names

Posted: Tue Jul 19, 2016 11:13 pm
by Zizzo
Hellcommander wrote:Are you going to add your new addons to your addon pack (please do so I can use your new tweaks)?
(shrug) Dunno, I'll ask. :wink:

Re: [v1.3.0+] Longer Character Names

Posted: Fri Sep 30, 2016 1:55 am
by astralInferno
Hogulus wants you to know you are a gentleman and a scholar. :wink:

Re: [v1.3.0+] Longer Character Names

Posted: Fri Oct 25, 2019 12:30 am
by Zizzo
Just a reminder that this addon is now included in ZOmnibus and ZOmnibus Lite as of v16. (This is such a simple addon that I don't even have to push out a compatibility release for it…)