Thread: [$ PAYPAL $][Pi] How to make a wilderness area?

Results 1 to 3 of 3
  1. #1 [$ PAYPAL $][Pi] How to make a wilderness area? 
    Registered Member Zebra's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    How would i make a wilderness area and how would i make it so you can fight levels 10 higher or lower then you. Will send $5.00 to a legit awnser via paypal, leave paypal email for me to send. Or you can do it for free, you choose.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2008
    Posts
    2,191
    Thanks given
    664
    Thanks received
    559
    Rep Power
    2641
    Add this code in player.java

    Code:
    	public boolean inWild() {
    		if((absX <= xxxx && absX >= yyyy && absY <= xxxx && absY >= yyyy)) {	
    			return false;
    		}
    		return true;
    	}
    Replace the xxxx and yyyy with your desired coords.
    Reply With Quote  
     

  3. #3  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by Tylers Pur3 View Post
    Add this code in player.java

    Code:
    	public boolean inWild() {
    		if((absX <= xxxx && absX >= yyyy && absY <= xxxx && absY >= yyyy)) {	
    			return false;
    		}
    		return true;
    	}
    Replace the xxxx and yyyy with your desired coords.
    you dont need the if statement. its already looking for a true/false answer.

    Code:
    	public boolean inWild() {
    		return absX <= xxxx && absX >= yyyy && absY <= xxxx && absY >= yyyy;
    	}
    potatoes.
    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: 04-12-2011, 09:20 PM
  2. [PI] PvP/Wilderness Area
    By Mark in forum Help
    Replies: 15
    Last Post: 11-10-2010, 07:50 AM
  3. Replies: 17
    Last Post: 01-26-2010, 11:04 PM
  4. Wilderness Area
    By haoqipk in forum Help
    Replies: 0
    Last Post: 08-27-2009, 10:19 PM
  5. Replies: 4
    Last Post: 04-16-2009, 07: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
  •