Quote:
Originally Posted by cbk1994
Classic accounts should be allowed to change their community names once (and maybe later for 50 gelats or something.) This would allow classic players who hate their account names to get new ones. It would also put more pressure on developers to write scripts that don't use account names publicly.
The only real problem with the community name system is that there is poor script support for it (i.e. no way to find an account for a community name or vica-versa, even though it has been requested.) There are also several RC bugs.
|
I've always used findPlayer( account).communityname and findPlayerByCommunityName( cname).account for when I've been wanting to do that. Also, since not every player has a community name set I usually do
PHP Code:
temp.pl = findPlayer( account);
temp.pName = !( temp.pl.communityname)? temp.pl.account: temp.pl.communityname
Just to avoided the annoyance, but as stated in that thread, offline accounts, well, there's no support. I worked around this awhile ago by making a DBNPC and putting account in an array, then whenever the player logged on, if their account was in their, then some function would run. I agree with the RC issues, usually communitynames are easier to remember than accounts.