Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

restricting player names?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
OFFLINE   BECK

BECK

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 226 posts
61
Getting Better
  • LocationDenver, CO

We get some people who connect and play with names that contain hidden characters or blank names.   One guy, it just shows colored boxes for his name because there is some strange hidden character there.  How can this be prevented?  Thanks.

 

EDIT: I added this screenshot since I can't copy and paste it -- this is from our logs, the guy who's name contains the colored boxes showing other people how to do it.

 

 

name.PNG

 

 

I believe its some sort of CTRL+key combination to do this.  But I would like to restrict this so people have to have actual names.  


Edited by BECK, 25 January 2013 - 05:23 PM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

In future version we can be more restrictive about the names, meaning replacing illegal characters with dots. This is already done to the extended characters. For now, the only possibility is to use Lua. For example in the ClientConnect callback you could check the name string and edit the players userinfo.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users