Quote:
Originally Posted by Stefan
Use account name for identification and nick name (or community name) for displaying.
|
We do... It's the inconsistencies that are the problem (clearly labeled in the original post), and here's one simple way to fix that.
1. Force new players (without a community name) to pick a community name off the bat (first client login).
a. Allows players to be more memorable within the community.
b. Fixes the issue with player.communityname equaling ""
2. Guest (pc:######) accounts should community name should default to something like Guest######.
The way it's setup right now makes us jump unnecessary hoops when a presentable default identifier could easily be provided without having to use a hack like this:
PHP Code:
public function getProperName() {
if (player.account.starts("pc:")) {
return "Guest" @ player.substring(3);
}
return (player.communityname ? player.communityname : player.account);
}