03.11.2010, 21:23
Hy, when a player connects to my server, i run a query to see if his name is in the database, but for some time, a player keeps coming with invalid characters in his name and crashes the server.
Can anyone please provide a piece of code that will check if player has only [a-z][A-Z][0-9] characters in his name?
Can anyone please provide a piece of code that will check if player has only [a-z][A-Z][0-9] characters in his name?