tada!Code:public boolean isInWilderness() { return (absX >= 2940 && absX <= 3395 && absY >= 3520 && absY <= 4000); }
|
Rep +, thanks.
(X coords, Y coords)
2487, 3904 (Top left)
2577, 3904 (Top right)
2577, 3833 (Bottom right)
2487, 3833 (Bottom left)
Code:public boolean isInWilderness(int coordX, int coordY, int Type) { if (Type == 1) { if ((coordY >= 3523) && (coordY <= 3967) && (coordX <= 3392) && (coordX >= 2942) || absX >= 3220 && absX <= 3299 && absY >= 3520 && absY <=3548 || absX >= 2250 && absX <= 2296 && absY >= 4676 && absY <=4715) { return true; } } else if (Type == 2) { if ((coordY >= 3512) && (coordY <= 3967) && (coordX <= 3392) && (coordX >= 2942)) { return true; } } return false; }
tada!Code:public boolean isInWilderness() { return (absX >= 2940 && absX <= 3395 && absY >= 3520 && absY <= 4000); }
I don't get it, you didn't use the coordinates I gave you.
but the 1's i used were the real ones.
He doesn't need the real ones, he wants to make a different place wilderness. 0.0
((coordY >= 2487) && (coordY <= 2577) && (coordX <= 3833)
&& (coordX >= 3833)
The Y is first correct? If it is, then that is your coords.
((coordY >= 3904) && (coordY <= 3904) && (coordX <= 2487)
&& (coordX >= 2577)
2nd time lucky.
I added it, but it doesn't work. I'm using delta. Is that the right place to put it?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |