Raised This Month: $ Target: $400
 0% 

[CORE] find_player(): flags 'c' + 'l' == no hits


  
 
 
Thread Tools Display Modes
Author Message
azrael
Member
Join Date: Jul 2005
Location: Denmark
Old 10-09-2005 , 11:44   [CORE] find_player(): flags 'c' + 'l' == no hits
#1

A couple of days ago I put in a request to change the default behavior of find_player() for looking up an auth id from case sensitive to case insensitive. To that end jtp10181 courteously pointed out that I should use the 'l' flag (case insensitivity) together with the 'c' flag to look up an authid case insensitively.

Well, I've been trying out his suggestion. However, I simply couldn't get a match to any STEAM id I threw at find_player(), until, in a moment's insanity, I removed the 'l' flag. Suddenly, find_player() could match auth ids to a given player on the server, case sensitively of course.

Seems as if the case insensitivity flag doesn't work with the auth id flag. Actually, when both are used together, you won't get a hit wether you type the auth id in mixed/lower case or in (correct) upper case.

Regards,
az
__________________
''This calls for a delicate blend of psychology and extreme violence.'' - Homer Simpson
azrael is offline
faluco
Developer
Join Date: Mar 2005
Location: Valencia, Spain
Old 11-07-2005 , 11:39  
#2

fixed, thanks!
faluco is offline
 



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 -4. The time now is 14:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode