ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Dec 14, 2019 11:22 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Jul 14, 2016 11:14 pm 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1724
Location: A shallow water area south of Bree
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:
Superload:
  mod.class.Game:
    setPlayerName() [overloaded, to increase max character name len to 50]

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
PostPosted: Fri Jul 15, 2016 2:26 am 
Offline
Spiderkin

Joined: Sat Feb 11, 2012 1:12 am
Posts: 543
yes yes thank you


Top
 Profile  
 
PostPosted: Mon Jul 18, 2016 5:14 am 
Offline
Archmage

Joined: Tue Nov 09, 2010 7:43 pm
Posts: 356
Are you going to add your new addons to your addon pack (please do so I can use your new tweaks)?


Top
 Profile  
 
PostPosted: Tue Jul 19, 2016 11:13 pm 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1724
Location: A shallow water area south of Bree
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:

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
PostPosted: Fri Sep 30, 2016 1:55 am 
Offline
Uruivellas

Joined: Mon Jan 27, 2014 10:40 am
Posts: 703
Hogulus wants you to know you are a gentleman and a scholar. :wink:


Top
 Profile  
 
PostPosted: Fri Oct 25, 2019 12:30 am 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1724
Location: A shallow water area south of Bree
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…)

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group