Problem with Y_INI: Multiple accounts with the same name BUT different letters
#1

Hey everyone, I'm using y_ini for my server. However I'm currently having a critical problem so I hope there's a solution for it.

Let's say I have an account named "Uberanwar" in my server, players are able to create multiple accounts with the same name as Uberanwar but different letters like "UbEranwar, uberanwar, UbeRanwar etc..." & there will be impersonation happening!
Reply
#2

Bump.
Reply
#3

The only solution to this is store every player username (which serves as file name) in lower case,
So whenever a player joins convert his name into lower case then check if file of that name exists or not.
Store there original name inside file as a varaible and set the player name to original name when they login successfully
Reply
#4

Oh, alright. Thanks alot.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)