Thread: Censoring yell

Results 1 to 7 of 7
  1. #1 Censoring yell 
    Bushido
    Guest
    b]Purpose[/b]: To censor words in ::yell

    Difficulty: 1/10

    Assumed Knowledge: Commen Sense

    Server Base: Berzerk Server

    Classes Modified: Client.java

    Procedure
    Step 1: Open your client.java

    Step 2: Search for

    Code:
    command.substring(5).replaceAll
    You should see something like this

    Code:
    	else if (command.startsWith("yell") && command.length() > 5)
    	{
    
    command.substring(5).replaceAll("no-ip", "imgay");
    command.substring(5).replaceAll("servegame", "imgay");
    command.substring(5).trim();
    
                    if(muted == 1)
                    sendMessage("You are muted and cannot yell!");
                    else
    		PlayerHandler.messageToAll = playerName+ "says.. " +command.substring(5);
    	}
    Step 3 :
    add this under

    Code:
    command.substring(5).replaceAll("(insert cencored word here)", "(insert the altered word here");
    this
    Code:
    command.replaceAll("no-ip", "imgay");
    command.replaceAll("servegame", "imgay")


    Credits: This tut was mad 100.1% by me
     

  2. #2  
    Diablo1123
    Guest
    Not good tut
    Dont tel us where to add
     

  3. #3  
    Bushido
    Guest
    I fixded it lol
     

  4. #4  
    PlJay03
    Guest
    Doesn't work for me. And didn't Xero put that in his server? Basically leeched is what I'm saying, which is pretty sad considering how damn easy this is.
     

  5. #5  
    Whitey
    Guest
    Its already in p16 or Cyberscape source, therefore is ripped.
     

  6. #6  
    Registered Member

    Join Date
    Aug 2007
    Posts
    2,395
    Thanks given
    2
    Thanks received
    63
    Rep Power
    558
    it doesn't work
    this is what i have

    Code:
    } else if (command.startsWith("yell") && command.length() > 5) {
    	command.substring(5).replaceAll("no-ip", "...");
    	command.substring(5).replaceAll("servegame", "...");
    	command.substring(5).trim();
                            if(muted == 1)
                            sendMessage("You are muted and cannot yell!");
                            else
    			PlayerHandler.messageToAll = playerName+ " says.. " +command.substring(5);
    		}
    	}
    when i do ::yell servegame it still says servegame same for no-ip
     

  7. #7  
    Bushido
    Guest
    hmmmm worked for me and actually ive never played whats his faces server so i didnt know i just thought it would help
     


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. Server-side Censoring
    By Zahhak in forum Snippets
    Replies: 10
    Last Post: 01-27-2010, 05:59 AM
  2. Simple word censoring(Easy)
    By ¤~W.I.L.L~¤ in forum Configuration
    Replies: 13
    Last Post: 07-04-2009, 10:39 AM
  3. Perfect censoring [Non-Renamed]
    By gnarly in forum Tutorials
    Replies: 22
    Last Post: 06-01-2009, 10:20 PM
  4. Word Censoring
    By Palidino in forum Tutorials
    Replies: 26
    Last Post: 05-26-2009, 04:12 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •