meh thres like 7 tutorials of these but his one is better explained
|
How to make safe zones
First step , open up client.java , search for
[HTML]nonwild[/HTML]
or
[HTML]safezone[/HTML]
those two are usually it , the first nonwild or until you come to something like
[HTML]public boolean nonWild() {
if((absX >= 3249 && absX <= 3258 && absY >= 3438 && absY <=3431 ) || (absX >= 3039 && absX <= 3111 && absY >= 3475 && absY <=3523 ) ||[/HTML]
Lets take this one:
[HTML]|| (absX >= 3039 && absX <= 3111 && absY >= 3475 && absY <=3523 ) ||[/HTML]
The first 4 digits it says "3039" that is the first coordinate absX the second one after that says "3111" dont worry about that one yet, just go to the 4 digit after that one, and you can see its "3475" and that is where your absY goes witch is coordinate Y so if you where standing in coordinate X: 3343 Coordinate Y: 3441 then you would put the code like this:
[HTML]|| (absX >= 3343 && absX <= 3111 && absY >= 3441 && absY <=3523 ) ||[/HTML]
Ok lets get your safe zone going, go to the spot you want to get a safe zone and go all the way soouth till you dont want it safe anymore and then go left till you dont want it to be safe anymore and then stop at that spot and get your coordinate X and Y usually u can get it by going to the run panel on ur client and you will see them.
Code:
[HTML]
|| (absX >= FIRST COORD .A. && absX <= FIRST COORD .B. && absY >= SECOND COORD .A. && absY <=SECOND COORD .B. ) ||
[/HTML]
Where it says FIRST COORD .A. thats where you put Coordinate X and where it says Second coord .a. put Coord Y, then go all the way to the right top like you did with the bottom left, and you will have to do the same except put it where it says First coord b put coord x there like you did on FIRST COORD .a. then put coord Y on SECOND COORD .B. so i hope that explains it all so please post if you get errors.
ALSO IF YOU MAKE THE SMALLEST MISTAKE LIKE IF YOU PUT 2 SPACES AFTER A COORD OR U DELETE ONE IT WONT WORK DO AS IT SAYS ABOVE
meh thres like 7 tutorials of these but his one is better explained
nice tut... good explanations.. and easy... rep
woo 300 posts
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |