is there any side effect if player have a name consisting of only one/two letter?
by Ahsan Muzaheed · in Torque 3D Professional · 02/14/2013 (10:15 am) · 3 replies
in
"game\core\scripts\server\clientConnection.cs"
u will get this
was wondering,
is there any side effect if player have a name consisting of only one/two letter?
like: "a" or "ab"
"game\core\scripts\server\clientConnection.cs"
u will get this
function GameConnection::setPlayerName(%client,%name)
{
%client.sendGuid = 0;
// Minimum length requirements
%name = trim( strToPlayerName( %name ) );
if ( strlen( %name ) < 3 )
%name = "Poser";
.
.
..
.
.
}was wondering,
is there any side effect if player have a name consisting of only one/two letter?
like: "a" or "ab"
About the author
Torque 3D enthusiastic since 2010.Have been working in several T3D projects besides of Unreal Engine 4 and Unity 3D. NEED a hand with your project? SHoot me a mail. http://www.garagegames.com/community/forums /viewthread/138437/
#2
just was wondering why a name's length is important rather then just checking if it is empty or not.
02/14/2013 (11:29 am)
i also think so.just was wondering why a name's length is important rather then just checking if it is empty or not.
#3
02/14/2013 (12:39 pm)
I'm guessing that the Tribes developers thought it was important to have a player base willing to spend time inputting a name greater than 2 characters...
Torque Owner Richard Ranft
Roostertail Games