
03-12-2008, 05:16 PM
|
|
¯\(º_o)/¯
|
 |
Join Date: Sep 2006
Location: Norway
Posts: 2,815
|
|
Quote:
Originally Posted by Crow
Actually, I think findPlayerByCommunityName() rather looks for the community names first. Would make no sense otherwise, and old accounts have their account as the community name.
Also, just replacing findPlayer() with findPlayerByCommunityName() can cause soooooo many problems. It depends where its used, seriously. If you only change it in one script, and a string with an account inside is used somewhere else and its not changed there yet...kapoof, broken stuff, enjoy.
|
http://forums.graalonline.com/forums...0&postcount=11
Quote:
Originally Posted by Stefan
findplayerbycommunityname() is actually first checking for the account (because that is faster), and then trying to find a player with the community name matching the parameter. So it should work in any case - finds players by account name exactly like findplayer(), but also works if you provide a community name. May be findplayer() could be changed to do that as well, might only need to optimize it a little bit.
|
Won't cause any problems though.. It checks for the exact same thing as findplayer() but is also checking for community names.. |
|
|
|