Thread: Wont work

Results 1 to 3 of 3
  1. #1 Wont work 
    Registered Member
    Join Date
    Jan 2010
    Posts
    40
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Tried and tried the door opens and says the message. I don't got the id's in my inventory or weilding them.

    Code:
    			if(stage == 1 && player.getEquipment().contains(1139) && player.getEquipment().contains(1101)) {
    				DoorManager.handleDoor(player, loc, objectId);
    			} else {
    				player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail");
    			}
    i even tried seeing that they are the same i don't know.

    Code:
    			if(stage == 1 && !player.getEquipment().contains(1139) && !player.getEquipment().contains(1101)) {
    				player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail");
    			} else {
                                     DoorManager.handleDoor(player, loc, objectId);
    			}
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    hmm u may have the method in their twice.

    do u have teamviewer?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    40
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by digistr View Post
    hmm u may have the method in their twice.

    do u have teamviewer?
    i can download teamviewer.

    It's in this
    Code:
    		if(loc.equals(BLACK_KNIGHT_DOOR) && (objectId == 2337)) {
    			//DoorManager.handleDoor(player, loc, objectId);
    			final int stage = player.getQuestInfo()[QUEST_INFO_INDEX][QUEST_STAGE_INDEX];
    			if(stage == 1 && player.getEquipment().contains(1139) && player.getEquipment().contains(1101)) {
    				DoorManager.handleDoor(player, loc, objectId);
    			} else {
    				player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail");
    			}
    		}
    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
  •