Raised This Month: $ Target: $400
 0% 

Become VIP Plus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-24-2020 , 08:19   Re: Become VIP Plus
Reply With Quote #36

Quote:
Originally Posted by HamletEagle View Post
PHP Code:
strtolower(g_ePlayerData[id][Info]) 
Why are you doing that when saving by name? If 2 names differ only in lowercase/uppercase then you just messed the saving for this 2 players.

That's all that popped up in the whole 5 minutes I took to read the sma.
Since the game doesn't allow 2 players with the same name (e.g. Player and PlayeR isn't valid), plus admins in users.ini are usually added without the case-sensitive flag "k", I think it's better to save data case-insensitively.

Players often tend to change the case in their names and pretty much most of the times it is the same player, so there's no need for this plugin to prevent them from doing so.
__________________

Last edited by OciXCrom; 01-24-2020 at 08:20.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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 18:13.


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