Thread: All Non-Wildy Areas Safe

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 All Non-Wildy Areas Safe 
    Brenz
    Guest
    Hi,

    Yes for anyone that wants to flame I cant get them to work now leave it at that.

    Basically I want all the world except from the Wildy to be safe. I keep trying but it doesnt seem to be working.

    Can anyone provide the correct line of code for this ?

    Thanks

    Brendan
     

  2. #2  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    Quote Originally Posted by Brenz View Post
    Hi,

    Yes for anyone that wants to flame I cant get them to work now leave it at that.

    Basically I want all the world except from the Wildy to be safe. I keep trying but it doesnt seem to be working.

    Can anyone provide the correct line of code for this ?

    Thanks

    Brendan
    What base?
    [/CENTER]
     

  3. #3  
    Brenz
    Guest
    Its Galkons Anarchy - Which used Satans Isle

    Here is the code:

    Code:
    public boolean inwildy = false;
    public boolean inwildy2 = false;
    public void checkwildy()
    {
    if ((absY <= 10112 && absY >= 3970) || (absY <= 3672))
    {
    inwildy = true;
    }
    else
    {
    inwildy = true;
    }
    }
    public void checkwildy2()
    {
    if ((absY <= 10112 && absY >= 3970) || (absY <= 3514))
    {
    inwildy2 = true;
    }
    else
    {
    inwildy2 = true;
    }
    }
    Brendan
     

  4. #4  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    Code:
    public boolean inwildy = false;
    public boolean inwildy2 = false;
    public void checkwildy()
    {
    if ((absY <= 10112 && absY >= 3970) || (absY <= 3672))
    {
    inwildy = true;
    }
    else
    {
    inwildy = false;
    }
    }
    public void checkwildy2()
    {
    if ((absY <= 10112 && absY >= 3970) || (absY <= 3514))
    {
    inwildy2 = true;
    }
    else
    {
    inwildy2 = false;
    }
    }

    try that.
    [/CENTER]
     

  5. #5  
    Brenz
    Guest
    No its still not working.

    Brendan
     

  6. #6  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    ok Do something like this..

    Code:
    
    	public boolean inWilderness() {
    		if (absX >= 2940 && absX <= 3400 && absY >= 3524 && absY <= 3970 || absX >= 2375 && absX <= 2418 && absY >= 5129 && absY <= 5167 && absX >= 2940 && absX <= 3400 && absY >= 3672 && absY <= 3970) {
    			return true;
    		}
    		return false;
    	}
    
    	public boolean isInMultiWild() {
    		if((absX >= 3144 && absX <= 3184 && absY >= 3519 && absY <=3656) || (absX >= 3185 && absX <= 3350 && absY >= 3502 && absY <=3900) || (absX >= 2983 && absX <= 3007 && absY >= 3905 && absY <=3917) || (absX >= 3007 && absX <= 3075 && absY >= 3608 && absY <=3713) || (absX >= 2944 && absX <= 2963 && absY >= 3812 && absY <=3827) || (absX >= 3041 && absX <= 3057 && absY >= 3869 && absY <=3883) || (absX >= 3157 && absX <= 3181 && absY >= 3874 && absY <=3895) || (absX >= 2720 && absX <= 2760 && absY >= 5073 && absY <=5114) || (absX >= 2256 && absX <= 2287 && absY >= 4680 && absY <=4711) || (absX >= 2360 && absX <= 2445 && absY >= 5045 && absY <= 5125) || (absX >= 2760 && absX <= 2780 && absY >= 2790 && absY <=2810) || (absX >= 2624 && absX <= 2690 && absY >= 2550 && absY <=2619) || (absX >= 3460 && absX <= 3520 && absY >= 9470 && absY <=9530) || (absX >= 2371 && absX <= 2424 && absY >= 5125 && absY <=5167) || (absX >= 2627 && absX <= 2677 && absY >= 4550 && absY <=4602) || (absX >= 3249 && absX <= 3307 && absY >= 3904 && absY <=3952) || (absX >= 2400 && absX <= 2700 && absY >= 4600 && absY <= 4800)  || (absX >= 2500 && absX <= 2800 && absY >= 9300 && absY <= 9600) || (absX >= 2420 && absX <= 2520 && absY >= 10100 && absY <=10200) || (absX >= 2992 && absX <= 3090 && absY >= 4804 && absY <=4872)|| (absX >= 2400 && absX <= 2600 && absY >= 4700 && absY <= 4800)) {
    
    			return true;
    		}
    		return false;
    	}
    as you can see i gave you isinmultiwild as well thats for multi combat zones.
    [/CENTER]
     

  7. #7  
    Brenz
    Guest
    No thats not working either.

    I think its more to do with the checking of the wildy booleans and making it have an effect as the safe zones that were on the client to begin with are still there.

    Brendan
     

  8. #8  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    Does it check in your process?
    [/CENTER]
     

  9. #9  
    Brenz
    Guest
    Where can I find that ?

    Its really confusing me as Ive used the same source before and got it working fine.

    Brendan
     

  10. #10  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    search for "process" see if its under it somewhere
    [/CENTER]
     

Page 1 of 2 12 LastLast

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
  •