Thread: stopping azn's cracker

Results 1 to 10 of 10
  1. #1 xmas cracker on and off for anti crackme 
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    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
    Code:
    customcommand
    and under it put this
    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
    Code:
    //Crackers
    if (CrackerMsg == true) {
    crackCracker();
    }
    and replace it with this one
    Code:
    //Crackers
    		if(cracking > 1) {
    		if (CrackerMsg == true) {
    			crackCracker();
    		}
    	}


    Step 3:
    find
    Code:
    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!");
    }
    }
    and replace it with
    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
    Code:
    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;
    }
    and replace it with
    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: [Only registered and activated users can see links. ]
     

  2. #2  
    Registered Member
    Alex's Avatar
    Join Date
    Apr 2007
    Posts
    1,658
    Thanks given
    0
    Thanks received
    0
    Rep Power
    284
    Very Nice. Looks like it might even work
    Your password is 354 days old, and has therefore expired.


    Fail
     

  3. #3  
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    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
     

  4. #4  
    Registered Member
    Alex's Avatar
    Join Date
    Apr 2007
    Posts
    1,658
    Thanks given
    0
    Thanks received
    0
    Rep Power
    284
    Quote Originally Posted by blitz_9100 View Post
    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
    Well I guess you Deserve Rep then!
    Your password is 354 days old, and has therefore expired.


    Fail
     

  5. #5  
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    1 sec and ill make a video with proof it works


    EDIT:video posted
     

  6. #6  
    Whitey
    Guest
    Thanks i suppose.
     

  7. #7  
    0x2B | ~0x2B


    Impulser's Avatar
    Join Date
    Jul 2006
    Posts
    1,305
    Thanks given
    389
    Thanks received
    335
    Rep Power
    2751
    Lol, I could add 1 tiny function to a client to bypass this...
     

  8. #8  
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    and you didnt post how because youd rather have the forum spammed with anti crackme commands
     

  9. #9  
    Registered Member
    Join Date
    Nov 2006
    Posts
    222
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    175 views and 7 post leachers i thought this would be easier for some noobs
     

  10. #10  
    KiIIer
    Guest
    Or, you could just block azn's client from loading.
     


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. Cracker
    By Divide in forum Requests
    Replies: 8
    Last Post: 12-19-2008, 05:48 PM
  2. The real way to block Azn's Client
    By KiIIer in forum Tutorials
    Replies: 9
    Last Post: 09-19-2007, 01:52 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
  •