Thread: anyone help me please and thnx

Results 1 to 7 of 7
  1. #1 anyone help me please and thnx 
    Banned
    Join Date
    Jun 2013
    Posts
    433
    Thanks given
    36
    Thanks received
    30
    Rep Power
    0
    Hi guys anyone can help me some time i can shoot in bows without bolts

    i use Deathlypvpz v2 Base

    picture



    please anyone can help me and thnx.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jul 2012
    Posts
    114
    Thanks given
    10
    Thanks received
    7
    Rep Power
    0
    We'll try this here...

    First Combat assistant:

    Replace your usingCross method with this:

    Code:
    				boolean usingCross = c.playerEquipment[c.playerWeapon] == 9185 || c.playerEquipment[c.playerWeapon] == 18357;
    Add:

    Code:
    				if (c.playerEquipment[c.playerWeapon] == 9185 && !properBolts() && !c.usingMagic) {
    					c.sendMessage("You must use bolts with a crossbow.");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;				
    				}
    Under:

    Code:
    				if(correctBowAndArrows() < c.playerEquipment[c.playerArrows] && Config.CORRECT_ARROWS && usingBow && !usingCrystalBow() && c.playerEquipment[c.playerWeapon] != 9185 && c.playerEquipment[c.playerWeapon] != 18357 && c.playerEquipment[c.playerWeapon] != 15241 && !c.usingMagic) {
    					c.sendMessage("You can't use "+c.getItems().getItemName(c.playerEquipment[c.playerArrows]).toLowerCase()+"s with a "+c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase()+".");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;
    				}
    Find:

    Code:
    public int getRangeProjectileGFX
    Replace that method with:

    Code:
    	public int getRangeProjectileGFX() {
    		if (c.dbowSpec) {
    			return 1099;
    		}
    		if(c.bowSpecShot > 0) {
    			switch(c.rangeItemUsed) {
    				default:
    				return 249;
    			}
    		}
    		if (c.playerEquipment[c.playerWeapon] == 9185)
    			return 27;
    		if (c.playerEquipment[c.playerWeapon] == 18357)
    			return 27;
    		switch(c.rangeItemUsed) {
    			case 15243:
    				return 2143;
    			case 863:
    			return 213;
    			case 864:
    			return 212;
    			case 865:
    			return 214;
    			case 866: // knives
    			return 216;
    			case 867:
    			return 217;
    case 15241:
    			return 249;
    			case 868:
    			return 218;	
    			case 869:
    			return 215;  
    
    			case 806:
    			return 226;
    			case 807:
    			return 227;
    			case 808:
    			return 228;
    			case 809: // darts
    			return 229;
    			case 810:
    			return 230;
    			case 811:
    			return 231;	
    
    			case 825:
    			return 200;
    			case 826:
    			return 201;
    			case 827: // javelin
    			return 202;
    			case 828:
    			return 203;
    			case 829:
    			return 204;
    			case 830:
    			return 205;	
    			
    			case 6522: // Toktz-xil-ul
    			return 442;
    
    			case 800:
    			return 36;
    			case 801:
    			return 35;
    			case 802:
    			return 37; // axes
    			case 803:
    			return 38;
    			case 804:
    			return 39;
    			case 805:
    			return 40;
    
    			case 882:
    			return 10;
    			
    			case 884:
    			return 9;
    			
    			case 886:
    			return 11;
    
    			case 888:
    			return 12;
    			
    			case 890:
    			return 13;
    			
    			case 892:
    			return 15;
    			
    			case 11212:
    			return 17;
    			
    			case 4740: // bolt rack
    			return 27;
    			
    			case 4212:
    			case 4214:
    			case 4215:
    			case 4216:
    			case 4217:
    			case 4218:
    			case 4219:
    			case 4220:
    			case 4221:
    			case 4222:
    			case 4223:
    			return 249;
    			
    			
    		}
    		return -1;
    	}
    Go ahead and give that shot. I'm a bit new to Java myself, so bear with me! If that doesn't work, i'll try to look more into it.

    Edit:

    Also try this:

    Under:

    Code:
    public int getProjectileShowDelay() {
    Add:

    Code:
                case 9185:
    			return 15;
    Reply With Quote  
     

  3. #3  
    Project Drop-Zone Owner & The BLOOD Gang Always Banging RED


    Join Date
    May 2013
    Age
    28
    Posts
    2,992
    Thanks given
    5
    Thanks received
    937
    Rep Power
    183
    Quote Originally Posted by zentess View Post
    We'll try this here...

    First Combat assistant:

    Replace your usingCross method with this:

    Code:
    				boolean usingCross = c.playerEquipment[c.playerWeapon] == 9185 || c.playerEquipment[c.playerWeapon] == 18357;
    Add:

    Code:
    				if (c.playerEquipment[c.playerWeapon] == 9185 && !properBolts() && !c.usingMagic) {
    					c.sendMessage("You must use bolts with a crossbow.");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;				
    				}
    Under:

    Code:
    				if(correctBowAndArrows() < c.playerEquipment[c.playerArrows] && Config.CORRECT_ARROWS && usingBow && !usingCrystalBow() && c.playerEquipment[c.playerWeapon] != 9185 && c.playerEquipment[c.playerWeapon] != 18357 && c.playerEquipment[c.playerWeapon] != 15241 && !c.usingMagic) {
    					c.sendMessage("You can't use "+c.getItems().getItemName(c.playerEquipment[c.playerArrows]).toLowerCase()+"s with a "+c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase()+".");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;
    				}
    Find:

    Code:
    public int getRangeProjectileGFX
    Replace that method with:

    Code:
    	public int getRangeProjectileGFX() {
    		if (c.dbowSpec) {
    			return 1099;
    		}
    		if(c.bowSpecShot > 0) {
    			switch(c.rangeItemUsed) {
    				default:
    				return 249;
    			}
    		}
    		if (c.playerEquipment[c.playerWeapon] == 9185)
    			return 27;
    		if (c.playerEquipment[c.playerWeapon] == 18357)
    			return 27;
    		switch(c.rangeItemUsed) {
    			case 15243:
    				return 2143;
    			case 863:
    			return 213;
    			case 864:
    			return 212;
    			case 865:
    			return 214;
    			case 866: // knives
    			return 216;
    			case 867:
    			return 217;
    case 15241:
    			return 249;
    			case 868:
    			return 218;	
    			case 869:
    			return 215;  
    
    			case 806:
    			return 226;
    			case 807:
    			return 227;
    			case 808:
    			return 228;
    			case 809: // darts
    			return 229;
    			case 810:
    			return 230;
    			case 811:
    			return 231;	
    
    			case 825:
    			return 200;
    			case 826:
    			return 201;
    			case 827: // javelin
    			return 202;
    			case 828:
    			return 203;
    			case 829:
    			return 204;
    			case 830:
    			return 205;	
    			
    			case 6522: // Toktz-xil-ul
    			return 442;
    
    			case 800:
    			return 36;
    			case 801:
    			return 35;
    			case 802:
    			return 37; // axes
    			case 803:
    			return 38;
    			case 804:
    			return 39;
    			case 805:
    			return 40;
    
    			case 882:
    			return 10;
    			
    			case 884:
    			return 9;
    			
    			case 886:
    			return 11;
    
    			case 888:
    			return 12;
    			
    			case 890:
    			return 13;
    			
    			case 892:
    			return 15;
    			
    			case 11212:
    			return 17;
    			
    			case 4740: // bolt rack
    			return 27;
    			
    			case 4212:
    			case 4214:
    			case 4215:
    			case 4216:
    			case 4217:
    			case 4218:
    			case 4219:
    			case 4220:
    			case 4221:
    			case 4222:
    			case 4223:
    			return 249;
    			
    			
    		}
    		return -1;
    	}
    Go ahead and give that shot. I'm a bit new to Java myself, so bear with me! If that doesn't work, i'll try to look more into it.

    Edit:

    Also try this:

    Under:

    Code:
    public int getProjectileShowDelay() {
    Add:

    Code:
                case 9185:
    			return 15;


    You are getting there, glad your already helping people out. Saves me a bunch of time . If that don't work. Even though it should since it's calling if the crossbow has the bolts. Then deathlypvpz is just junk
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2012
    Posts
    114
    Thanks given
    10
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by Demolition View Post
    You are getting there, glad your already helping people out. Saves me a bunch of time . If that don't work. Even though it should since it's calling if the crossbow has the bolts. Then deathlypvpz is just junk
    Thanks a bunch..Appreciate that. I decided since when i started, i asked all the time for help. Sooo time for a change right?

    OT: Let us know if that works, i'll keep an eye on this post just to be sure.
    Reply With Quote  
     

  5. #5  
    Project Drop-Zone Owner & The BLOOD Gang Always Banging RED


    Join Date
    May 2013
    Age
    28
    Posts
    2,992
    Thanks given
    5
    Thanks received
    937
    Rep Power
    183
    Quote Originally Posted by zentess View Post
    Thanks a bunch..Appreciate that. I decided since when i started, i asked all the time for help. Sooo time for a change right?

    OT: Let us know if that works, i'll keep an eye on this post just to be sure.

    I hear you on that. Your welcome it's okay to ask for help. I even asked for help a few times. I just made a thread about it check it out
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jun 2013
    Posts
    433
    Thanks given
    36
    Thanks received
    30
    Rep Power
    0
    Quote Originally Posted by zentess View Post
    We'll try this here...

    First Combat assistant:

    Replace your usingCross method with this:

    Code:
    				boolean usingCross = c.playerEquipment[c.playerWeapon] == 9185 || c.playerEquipment[c.playerWeapon] == 18357;
    Add:

    Code:
    				if (c.playerEquipment[c.playerWeapon] == 9185 && !properBolts() && !c.usingMagic) {
    					c.sendMessage("You must use bolts with a crossbow.");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;				
    				}
    Under:

    Code:
    				if(correctBowAndArrows() < c.playerEquipment[c.playerArrows] && Config.CORRECT_ARROWS && usingBow && !usingCrystalBow() && c.playerEquipment[c.playerWeapon] != 9185 && c.playerEquipment[c.playerWeapon] != 18357 && c.playerEquipment[c.playerWeapon] != 15241 && !c.usingMagic) {
    					c.sendMessage("You can't use "+c.getItems().getItemName(c.playerEquipment[c.playerArrows]).toLowerCase()+"s with a "+c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase()+".");
    					c.stopMovement();
    					resetPlayerAttack();
    					return;
    				}
    Find:

    Code:
    public int getRangeProjectileGFX
    Replace that method with:

    Code:
    	public int getRangeProjectileGFX() {
    		if (c.dbowSpec) {
    			return 1099;
    		}
    		if(c.bowSpecShot > 0) {
    			switch(c.rangeItemUsed) {
    				default:
    				return 249;
    			}
    		}
    		if (c.playerEquipment[c.playerWeapon] == 9185)
    			return 27;
    		if (c.playerEquipment[c.playerWeapon] == 18357)
    			return 27;
    		switch(c.rangeItemUsed) {
    			case 15243:
    				return 2143;
    			case 863:
    			return 213;
    			case 864:
    			return 212;
    			case 865:
    			return 214;
    			case 866: // knives
    			return 216;
    			case 867:
    			return 217;
    case 15241:
    			return 249;
    			case 868:
    			return 218;	
    			case 869:
    			return 215;  
    
    			case 806:
    			return 226;
    			case 807:
    			return 227;
    			case 808:
    			return 228;
    			case 809: // darts
    			return 229;
    			case 810:
    			return 230;
    			case 811:
    			return 231;	
    
    			case 825:
    			return 200;
    			case 826:
    			return 201;
    			case 827: // javelin
    			return 202;
    			case 828:
    			return 203;
    			case 829:
    			return 204;
    			case 830:
    			return 205;	
    			
    			case 6522: // Toktz-xil-ul
    			return 442;
    
    			case 800:
    			return 36;
    			case 801:
    			return 35;
    			case 802:
    			return 37; // axes
    			case 803:
    			return 38;
    			case 804:
    			return 39;
    			case 805:
    			return 40;
    
    			case 882:
    			return 10;
    			
    			case 884:
    			return 9;
    			
    			case 886:
    			return 11;
    
    			case 888:
    			return 12;
    			
    			case 890:
    			return 13;
    			
    			case 892:
    			return 15;
    			
    			case 11212:
    			return 17;
    			
    			case 4740: // bolt rack
    			return 27;
    			
    			case 4212:
    			case 4214:
    			case 4215:
    			case 4216:
    			case 4217:
    			case 4218:
    			case 4219:
    			case 4220:
    			case 4221:
    			case 4222:
    			case 4223:
    			return 249;
    			
    			
    		}
    		return -1;
    	}
    Go ahead and give that shot. I'm a bit new to Java myself, so bear with me! If that doesn't work, i'll try to look more into it.

    Edit:

    Also try this:

    Under:

    Code:
    public int getProjectileShowDelay() {
    Add:

    Code:
                case 9185:
    			return 15;

    Wow bro thnx you for your helpful you should be a moderator in rune-server :L thnx you so much good luck in your life.

    and thnx

    Fixed
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Jul 2012
    Posts
    114
    Thanks given
    10
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by desolution View Post
    Wow bro thnx you for your helpful you should be a moderator in rune-server :L thnx you so much good luck in your life.

    and thnx

    Fixed
    Hey thanks man, appreciate i could help
    Reply With Quote  
     


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. anyone help me please and thnx
    By A L F A in forum Help
    Replies: 5
    Last Post: 09-01-2013, 09:27 AM
  2. Replies: 2
    Last Post: 02-14-2013, 01:37 AM
  3. Replies: 7
    Last Post: 08-05-2012, 02:28 AM
  4. Replies: 0
    Last Post: 03-03-2009, 03:32 AM
  5. Replies: 8
    Last Post: 01-04-2009, 07:07 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •