Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Your opinion
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 05-28-2008, 02:34 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Robin View Post
player.account > player.communityname
  • new player attribute player.communityname which displays the name the player is using for the forums etc.
    • by default players have now an account name which is basicly just a number (Graal12345) and can later register a communityname which is then used for the fourms, wiki etc.
    • on the playerlist and PMs it will display the community name instead of the account name, scripts are supposed to do the same

1. I haven't done much testing but I'm assuming it's safe to just use community name where you would previously just use account.

2. Unless of course, those with old account names but never had any access to the forum and thus have never registered a community name, makes the community name return null?

If the same goes with new accounts who have not yet registered a community name (which of course does suck) but a simple fix would be to fall back to the account name or even the nickname of the player to assertain identity.

However, nicknames are not as secure as the previous two options.

I'll do some testing later today and post my findings in the scripting forum if you like Crow?
1. You can't use findplayer() on communitynames..
2. Old accounts before the comunitynames will get their community name set to their account so account == communityname in their case
__________________
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.