Not good tut
Dont tel us where to add![]()
|
|
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
You should see something like thisCode:command.substring(5).replaceAll
Step 3 :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); }
add this under
thisCode:command.substring(5).replaceAll("(insert cencored word here)", "(insert the altered word here");
Code:command.replaceAll("no-ip", "imgay"); command.replaceAll("servegame", "imgay")
Credits: This tut was mad 100.1% by me
Not good tut
Dont tel us where to add![]()
I fixded it lol
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.
Its already in p16 or Cyberscape source, therefore is ripped.

it doesn't work
this is what i have
when i do ::yell servegame it still says servegame same for no-ipCode:} 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); } }
hmmmm worked for me and actually ive never played whats his faces server so i didnt know i just thought it would help![]()
| « Basic Compile Errors | stopping azn's cracker » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |