Thread: [525 Rs2hd] Castle Wars Team Sides

Results 1 to 10 of 10
  1. #1 [525 Rs2hd] Castle Wars Team Sides 
    X_JC_X
    Guest
    Please, tell me whats wrong with this code.. Because when i attack my team mate, it actually works.. But People are having problems pvping because of this code, and i delete it and every thing works fine.. And i got full Castle wars mapdata for 525 rs2hd.. So please help me with this code!




    Code:
    	//castle wars start
    	if (p.getEquipment().get(1).getDefinition().getId() == 4514 && p2.getEquipment().get(1).getDefinition().getId() == 4514) {
    			p.sm("You cannot Attack your Team Mate.");
    			p.resetAttack();
    			p.resetPvP = true;
    			p.faceId(p2);
    			break;
    	}
    	if (p.getEquipment().get(1).getDefinition().getId() == 4516 && p2.getEquipment().get(1).getDefinition().getId() == 4516) {
    			p.sm("You cannot Attack your Team Mate.");
    			p.resetAttack();
    			p.resetPvP = true;
    			p.faceId(p2);
    			break;
    	}
    	if (p.getEquipment().get(0).getDefinition().getId() == 4513 && p2.getEquipment().get(0).getDefinition().getId() == 4513) {
    			p.sm("You cannot Attack your Team Mate.");
    			p.resetAttack();
    			p.resetPvP = true;
    			p.faceId(p2);
    			break;
    	}
    	if (p.getEquipment().get(0).getDefinition().getId() == 4515 && p2.getEquipment().get(0).getDefinition().getId() == 4515) {
    			p.sm("You cannot Attack your Team Mate.");
    			p.resetAttack();
    			p.resetPvP = true;
    			p.faceId(p2);
    			break;
    	}
    	//end of Castle Wars capes + hoods
    Was thinking putting in saradomin code and zammy on there spots before the codes but errors
    So please help REP REP REP!
    inCastleWars1 = Saradomin team
    Code:
    if((inCastleWars1()) {
    <-- inCastleWars2 = Zammy side..
    Code:
    if((inCastleWars2()) {
    I rep if you help me fix it
    Reply With Quote  
     

  2. #2  
    X_JC_X
    Guest
    *bump - help =[
    Reply With Quote  
     

  3. #3  
    Axed
    Guest
    Why are you resetingPvp?, there is no use add that to the resetAttack() void.
    Reply With Quote  
     

  4. #4  
    X_JC_X
    Guest
    i figured that lol.
    Reply With Quote  
     

  5. #5  
    X_JC_X
    Guest
    but thanks i got it working.. - rep.
    Reply With Quote  
     

  6. #6  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,141
    Thanks given
    256
    Thanks received
    1,247
    Rep Power
    3636
    if (!inPvP() && inLikeCastleWarAreasAndShit()) {
    //check for CASTLE WARS STUFF
    //Reset shit etc.
    }

    Edit: Didn't notice you fixed soz

    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  7. #7  
    Axed
    Guest
    Thanks and no problem rep bk.
    Reply With Quote  
     

  8. #8  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,141
    Thanks given
    256
    Thanks received
    1,247
    Rep Power
    3636
    Quote Originally Posted by Silicity View Post
    change your name fag, it's pissing me off that a kid like you is imitating jc.
    Just let him, if he wants to be fag then let him be a fag, we always refered Jc as a fag, but not we refer peril and jc as a fag, it all adds up =]!

    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  9. #9  
    X_JC_X
    Guest
    Silicity, i wonder how you live with only 200 rep? lmao.. i must be better then you? i got 130 rep and i only got 96 post. and you got 600? LOL gf.. noob
    Reply With Quote  
     

  10. #10  
    Super Donator

    Janizary's Avatar
    Join Date
    Jul 2009
    Age
    19
    Posts
    2,132
    Thanks given
    109
    Thanks received
    137
    Rep Power
    1031
    Quote Originally Posted by 'Mystic Flow View Post
    Just let him, if he wants to be fag then let him be a fag, we always refered Jc as a fag, but not we refer peril and jc as a fag, it all adds up =]!
    , rep means nothing kid.

    [Only registered and activated users can see links. ]
    Quote Originally Posted by Pirlo View Post
    I don't think the cold war existed during/before WWI
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •