|
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
Its Galkons Anarchy - Which used Satans Isle
Here is the code:
BrendanCode: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; } }
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.
No its still not working.
Brendan
ok Do something like this..
as you can see i gave you isinmultiwild as well thats for multi combat zones.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; }
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
Does it check in your process?
Where can I find that ?
Its really confusing me as Ive used the same source before and got it working fine.
Brendan
search for "process" see if its under it somewhere
« Running in Linux | Hmm... » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |