Very Nice. Looks like it might even work![]()
|
|
ok i got sick of the wannabe way of stoping azn cracker so i posted the way to turn it on and off whenever you need it.
Purpose: To Stop Crackme,Without giving up the cracker fun
Difficulty: 4
Assumed Knowledge: how to open up client.java and replace some if statments,add voids and a int and command
Server Base: Project 16 v6(should work on all since they all have the same cracker void and stuff)
Classes Modified: Client.java
Procedure
Step 1:
Find
and under it put thisCode:customcommand
Code:if (command.startsWith("crackeron") && playerRights >= 2)) { setcrackeron(); cracking += 10000; sendMessage("crackers have been turned on"); } if (command.startsWith("crackeroff") && playerRights >= 2)) { setcrackeroff(); cracking -= 10000; sendMessage("crackers have been turned off"); }
Step 2:
then find
and replace it with this oneCode://Crackers if (CrackerMsg == true) { crackCracker(); }
Code://Crackers if(cracking > 1) { if (CrackerMsg == true) { crackCracker(); } }
Step 3:
find
and replace it withCode:if(itemUseID == 962) { int prize = Item.randomPartyHat(); int get = getprizes(); sendMessage("You crack the cracker..."); deleteItem(962, getItemSlot(962), 1); p2.sendMessage("Someone cracked a cracker on you."); if (get == 1) { sendMessage("You get the prize!"); addItem(prize, 1); p2.sendMessage("But you didn't get the prize."); } else { sendMessage("They get the prize."); p2.addItem(prize, 1); p2.sendMessage("You get the prize!"); } }
Code:if(itemUseID == 962) { if(cracking > 1) { int prize = Item.randomPartyHat(); int get = getprizes(); sendMessage("You crack the cracker..."); deleteItem(962, getItemSlot(962), 1); p2.sendMessage("Someone cracked a cracker on you."); if (get == 1) if(cracking > 1) { { sendMessage("You get the prize!"); addItem(prize, 1); p2.sendMessage("But you didn't get the prize."); } } } else { if(cracking > 1) { int prize = Item.randomPartyHat(); int get = getprizes(); sendMessage("They get the prize."); p2.addItem(prize, 1); p2.sendMessage("You get the prize!"); } } }
Step 4:
find
and replace it withCode:public boolean crackCracker() { sendMessage("Somone used a crackers on you..."); CrackerMsg = false; if (CrackerForMe == true) { if (freeSlots() > 0) { addItem(Item.randomPHat(), 1); sendMessage("And you get the crackers item."); } else { sendMessage("but you don't have enough space in your inventory."); } CrackerForMe = false; } else { sendMessage("but you didn't get the crackers item."); } return true; }
Code:public boolean crackCracker() { if(cracking > 1) { sendMessage("Somone used a crackers on you..."); CrackerMsg = false; } if(cracking > 1) { if (CrackerForMe == true) { if (freeSlots() > 0) { addItem(Item.randomPHat(), 1); sendMessage("And you get the crackers item."); } } else { sendMessage("but you don't have enough space in your inventory."); } CrackerForMe = false; } else { sendMessage("but you didn't get the crackers item."); } return true; }
Step 5:
add this public int to your client.java
Code:public int cracking = 0;
Step 65:
add these public voids
Code:public void setcrackeron() { for (Player p : server.playerHandler.players) { if (p != null) { client person = (client) p; if ((person.playerName != null || person.playerName != "null")) { person.cracking += 1000; } } } } public void setcrackeroff() { for (Player p : server.playerHandler.players) { if (p != null) { client person = (client) p; if ((person.playerName != null || person.playerName != "null")) { person.cracking -= 1000; } } } }
Credits: 100% me(blitz_9100)
Use: turn on to have crackers able to use and its already off when you log in![]()
Proof:
Very Nice. Looks like it might even work![]()
it works i tested it before i posted it last night,i tried cracker on azns client and it wouldn't give a single one,until you turn it on
![]()
1 sec and ill make a video with proof it works
EDIT:video posted![]()
Thanks i suppose.
Lol, I could add 1 tiny function to a client to bypass this...
and you didnt post how because youd rather have the forum spammed with anti crackme commands
175 views and 7 post leachers i thought this would be easier for some noobs![]()
Or, you could just block azn's client from loading.
| « Censoring yell | enable ur server for silabsoft client and other clients who dont enable skillcapes » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |