Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Yahoo!

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » Setting Long Name 1st Char to...
Forum Rules | Mark all | Recent Posts

Setting Long Name 1st Char to Lowercase
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 14, 2008, 10:37 pm
Go to the top of the page
Go to the bottom of the page

Boruk
Fledgling
GroupMembers
Posts1
JoinedMar 14, 2008

I play on a game that uses a combination of MrMUD and SMAUG. Part of the game is an introduction system, so they use the long name as the "non introduced" name in their messaging, if the person has not been introduced.

The thing is all of their long names start with a capitol letter, and so sentences constructed out of them end up like:
A pale elf smiles at A sickly gnome.

Now the simplest thing that stands out to me is that the long names should have all been set with a lowercase letter to begin with, and then the first letter of any message capitolized, but since they are far into development changing all of the names is highly doubtful.

I posted on their forums about them setting it (if not the first char of a sentence) using tolower(), but some think it would take a lot of work. Before I download SMAUG, grep the locations of long names and write this and post it on their forum does anyone have any advice, or code, that would perform the required function?

       
Post is unread #2 Mar 15, 2008, 12:58 pm
Go to the top of the page
Go to the bottom of the page

blueice
Fledgling
GroupMembers
Posts17
JoinedOct 21, 2006

the easiest thing to do would be to do a mass modification of the areas during the saving process
       
Pages:<< prev 1 next >>