[TUT - A] [317] How to easily block invaild characters and SYIpkpker.

Results 1 to 3 of 3
  1. #1
    Novice BrentonT is offline
    MemberRank
    Nov 2008 Join Date
    CanadaLocation
    2Posts

    [TUT - A] [317] How to easily block invaild characters and SYIpkpker.

    Welcome to my tut.
    Diffculity : 1/10 Really easy.
    This took me around 25 minuites to create.
    This is basicly an easyer way to block invalid characters like "~", And to block SYIpkpker.
    You can use this code for other characters too!
    NOTE
    This does not stop all spammer and flodders it only blocks if the name starts with SYIpkpker or ~

    Go into client.java
    I recommend backing up client.java before doing anything to it.
    Find
    Code:
    outStream.packetEncryption = outStreamDecryption;
    It should be a packet by its self.
    Directly under it Add
    Code:
                if ((playerName.toLowerCase()).contains("~")) { //
                    disconnected = true;
                    this.destruct();
                    appendToBanned(playerLastConnect);
    	   }
    Code:
    if ((playerName.toLowerCase()).contains("~")) {
     disconnected = true;
    This tells the server if the name has this character in its name, to dissconnect it.
    Code:
    appendToBanned(playerLastConnect);
    This yet, completes the code sending the name into you ban list.

    You can use this for other things, like blocking SYIpkpker.
    Code:
    if ((playerName.toLowerCase()).contains("SYIpkpker")) {
                    disconnected = true;
                    this.destruct();
                    appendToBanned(playerLastConnect);
                }
    This code is the same except we change "~" to "SYIpkpker". Blocking SYIpkpker and auto sending it to you ban list.
    If you want to IP Ban the SYIpkpkers.
    Use this
    Code:
    if ((playerName.toLowerCase()).contains("SYIpkpker")) {
                    disconnected = true;
                    this.destruct();
                    appendToIPBanned(playerLastConnect);
                }
    Thanks for following and looking at this tut.
    I hope this help to get rid of SYIpkpker and all those other bots.
    ~Brent
    ~Stupit
    Last edited by I Rule MU; 23-11-08 at 04:50 PM.


  2. #2
    Account Upgraded | Title Enabled! .::d::. is offline
    MemberRank
    Apr 2007 Join Date
    On a SQL table. {Be jelous}Location
    318Posts

    Re: [TUT] How to easily block invaild characters and SYIpkpker.

    :D Thanks I have had alot of problems with them SYI's

  3. #3
    Member DefMagee is offline
    MemberRank
    Nov 2009 Join Date
    TamworthLocation
    66Posts

    Re: [TUT - A] [317] How to easily block invaild characters and SYIpkpker.

    Make a 508 one for Duping for meh pl0x?



Advertisement