Thread: Better NoClip filterer command(server side)

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Better NoClip filterer command(server side) - also bans users automatically 
    Registered Member
    wizzyt21's Avatar
    Join Date
    Aug 2007
    Posts
    1,167
    Thanks given
    49
    Thanks received
    12
    Rep Power
    156
    By the way this is SERVER side. This will make a 'error.txt' file in a folder named as OMG (whoever noclips). And will write the players name in the 'error.txt' file, ex :
    Code:
    Wolf has Noclipped in: AbsX:0000 AbsY:0000
    100% By Me (Momosherilly)

    ALSO: This will add the players name to bannedusers.txt, so if they noclip they'll be banned automatically on their second login( cuz server detects if their banned every first run)

    Step 1. (If you have already a noclip command)

    Search in (client.java) noclip or something like that and replace that with this:
    Code:
    			if(command.startsWith("noclip"))  {
          BufferedWriter bw = null;
          BufferedWriter p2 = null;
    String me = "Momosherilly   ";
    String errortype = "NoClipped in: AbsX:  "+absX+" and  AbsY:  "+absY;    
    try {
             bw = new BufferedWriter(new FileWriter("./OMG/Error.txt", true));
             p2 = new BufferedWriter(new FileWriter("./data/bannedusers.txt", true));
    	bw.write("Noclip buffer by "+me+"  ");
    	bw.write(playerName+" has "+errortype);
    	p2.newLine();
    	p2.write(playerName+"");
    	p2.newLine();
    	savemoreinfo();
    	bw.newLine();
    	bw.flush();
    	p2.newLine();
    	p2.flush();
    	misc.println(playerName+" Is Noclipping written in folder -Noclip buffer by Momosherilly");
          } catch (IOException ioe) {
    	ioe.printStackTrace();
    
          }
    }
    -----------------------------------------------------------------------------------------------------
    Or
    If, you don't have the noclip command in your server to filter out who noclips, search for:

    Code:
    if (command.equalsIgnoreCase("char")) {
    			charhelp();
    		}
    and under or above it add this:

    Code:
    			if(command.startsWith("noclip"))  {
          BufferedWriter bw = null;
          BufferedWriter p2 = null;
    String me = "Momosherilly   ";
    String errortype = "NoClipped in: AbsX:  "+absX+" and  AbsY:  "+absY;    
    try {
             bw = new BufferedWriter(new FileWriter("./OMG/Error.txt", true));
             p2 = new BufferedWriter(new FileWriter("./data/bannedusers.txt", true));
    	bw.write("Noclip buffer by "+me+"  ");
    	bw.write(playerName+" has "+errortype);
    	p2.newLine();
    	p2.write(playerName+"");
    	p2.newLine();
    	savemoreinfo();
    	bw.newLine();
    	bw.flush();
    	p2.newLine();
    	p2.flush();
    	misc.println(playerName+" Is Noclipping written in folder -Noclip buffer by Momosherilly");
          } catch (IOException ioe) {
    	ioe.printStackTrace();
    
          }
    }
    now that is done!!!


    IMPORTANT STEP!!!!!

    Now go to your server folder and make a new folder named as "OMG"

    DONE! Made 99.9% by me! 0.001 % to Boomer for idea to add name to bannedusers.txt LOL
    YOU JUST GOT KNOCKED THE F*CK UP.
     

  2. #2  
    oblak
    Guest
    ... Writes to a text file? Looks stupid... Most commands dont pass to the server.
     

  3. #3  
    Registered Member
    wizzyt21's Avatar
    Join Date
    Aug 2007
    Posts
    1,167
    Thanks given
    49
    Thanks received
    12
    Rep Power
    156
    Ok... w/e. I just made it for people who dont have a noclip filter.
    YOU JUST GOT KNOCKED THE F*CK UP.
     

  4. #4  
    Member
    Boomer's Avatar
    Join Date
    Sep 2006
    Posts
    1,282
    Thanks given
    309
    Thanks received
    795
    Rep Power
    1111
    Horrible, won't catch the advanced cheat clients.


    [Only registered and activated users can see links. ] ||| FightScape | InnerFantasy | PkIsle | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
     

  5. #5  
    Registered Member
    wizzyt21's Avatar
    Join Date
    Aug 2007
    Posts
    1,167
    Thanks given
    49
    Thanks received
    12
    Rep Power
    156
    There we go. It will now automatically ban anyone noclipping in second login!
    YOU JUST GOT KNOCKED THE F*CK UP.
     

  6. #6  
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    yea nice try but this code is completly useless to me and probally a whole bunch of people,the cheat clients dont send packets to the server saying their was a command being used so this will practically have no effect at all

    nice try,try to understand the client and its outputs for commands and things and then youll figure out how to stop it
     

  7. #7  
    Registered Member
    wizzyt21's Avatar
    Join Date
    Aug 2007
    Posts
    1,167
    Thanks given
    49
    Thanks received
    12
    Rep Power
    156
    Quote Originally Posted by blitz_9100 View Post
    yea nice try but this code is completly useless to me and probally a whole bunch of people,the cheat clients dont send packets to the server saying their was a command being used so this will practically have no effect at all

    nice try,try to understand the client and its outputs for commands and things and then youll figure out how to stop it
    Ok... I'll try and learn
    YOU JUST GOT KNOCKED THE F*CK UP.
     

  8. #8  
    Community Veteran


    Join Date
    Jul 2006
    Posts
    789
    Thanks given
    31
    Thanks received
    80
    Rep Power
    177
    lol it isnt hard AT ALL to stop cheat clients from noclipping, it justs takes a brain
     

  9. #9  
    Registered Member
    wizzyt21's Avatar
    Join Date
    Aug 2007
    Posts
    1,167
    Thanks given
    49
    Thanks received
    12
    Rep Power
    156
    Quote Originally Posted by Stone Warior View Post
    lol it isnt hard AT ALL to stop cheat clients from noclipping, it justs takes a brain
    You mean client side or server?
    YOU JUST GOT KNOCKED THE F*CK UP.
     

  10. #10  
    Registered Member

    Join Date
    Jul 2006
    Age
    27
    Posts
    1,247
    Thanks given
    0
    Thanks received
    5
    Rep Power
    190
    its useless to make logs from is at disconnecting in it + savefile false itsbetter logs will cause lag
    just yoricka...
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Project Insanity ''Noclip Command'' SERVER SIDE ;)
    By Affliction in forum Requests
    Replies: 4
    Last Post: 05-11-2010, 09:21 PM
  2. Replies: 35
    Last Post: 01-20-2010, 11:41 AM
  3. Replies: 5
    Last Post: 07-21-2008, 07:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •