Thread: Name impersonation?

Results 1 to 2 of 2
  1. #1 Name impersonation? 
    .supersyn

    myK-'s Avatar
    Join Date
    Aug 2008
    Posts
    1,781
    Thanks given
    22
    Thanks received
    40
    Rep Power
    399
    Removed. NVM
    Reply With Quote  
     

  2. #2  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    String s1 = playerName;
    for(int p = 0; p < s1.length(); p++){
    TS = s1.substring(p,p+1);
    if(GetvalidChar(TS))
    Disconnect = true;
    }

    add that at loggin

    Public void getvalidchar(String X)
    {
    for(int p = 0; p < validchars.length(); p++){
    if(X == validchars[p])
    return true;
    }
    return false;
    }

    public String validchars[] = {"a","b"};

    Simple typed from my head basic system you can edit to anything you want


    EDIT: you can also put invalid chars there
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •