Thread: 667 Zenith Source Need help creating custom pvp area

Results 1 to 6 of 6
  1. #1 667 Zenith Source Need help creating custom pvp area 
    Registered Member
    Join Date
    Feb 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    3
    Rep Power
    12
    Before you flame, I have looked at all the tutorials I could find and none of them are activating the controller or w/e. I know how to set the coordinates of the pvp area but just need to know how to make players attackable in there. Thanks for the help!

    Code:
    	public static final boolean isPvpArea(WorldTile tile) {
    		int destX = tile.getX();
    		int destY = tile.getY();
    		if ((destX >= 2756 && destX <= 2875 && destY >= 5512 && destY <= 5627)) { //redportal
    			return true;
    		}
    		return Wilderness.isAtWild(tile);
    	}
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    3
    Rep Power
    12
    Bump please
    Reply With Quote  
     

  3. #3  
    SOLUTIONS118 FOREVER

    Shaqattack118's Avatar
    Join Date
    Feb 2013
    Posts
    874
    Thanks given
    1,434
    Thanks received
    436
    Rep Power
    114
    What r the coords u want to set the pvp arena?

    There is no substitute for hard work. - Thomas A. Edison

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Vouches : 160
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2011
    Posts
    279
    Thanks given
    5
    Thanks received
    20
    Rep Power
    3
    Quote Originally Posted by mofo0 View Post
    Before you flame, I have looked at all the tutorials I could find and none of them are activating the controller or w/e. I know how to set the coordinates of the pvp area but just need to know how to make players attackable in there. Thanks for the help!

    Code:
    	public static final boolean isPvpArea(WorldTile tile) {
    		int destX = tile.getX();
    		int destY = tile.getY();
    		if ((destX >= 2756 && destX <= 2875 && destY >= 5512 && destY <= 5627)) { //redportal
    			return true;
    		}
    		return Wilderness.isAtWild(tile);
    	}
    PlayerCombat.java>checkAll()

    Don't say thanks, there is a button for that..
    Quote Originally Posted by Pk2day View Post
    I added my no-ip to this line
    System.out.println("Server listening on port: wemissedu.no-ip.biz" + serverlistenerPort);
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    3
    Rep Power
    12
    Quote Originally Posted by Shaqattack118 View Post
    What r the coords u want to set the pvp arena?
    Code:
    		if ((destX >= 2756 && destX <= 2875 && destY >= 5512 && destY <= 5627)) { //redportal
    			return true;
    		}
    It's inside the clan wars beyond the white barrier, thanks for the help
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2013
    Posts
    20
    Thanks given
    0
    Thanks received
    3
    Rep Power
    12
    Bump.....
    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. Replies: 2
    Last Post: 11-27-2013, 11:00 PM
  2. Replies: 7
    Last Post: 09-17-2012, 09:33 PM
  3. I need help with 317 pvp area
    By Cody289 in forum Help
    Replies: 2
    Last Post: 06-07-2012, 10:58 AM
  4. Replies: 10
    Last Post: 07-02-2011, 02:34 PM
  5. Need help with Hybrid PVP Source
    By Devil in forum Help
    Replies: 0
    Last Post: 03-23-2011, 04:11 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
  •