Go to player.java, then search inWild, you will see inwild, in multi, and etc
Np
|
Hey well how can i make a certain area on project insanity pvp so that you can attack players there
Go to player.java, then search inWild, you will see inwild, in multi, and etc
Np
so what exactly do i do there ? because all i see is public boolean inWild() {
if(absX > 2941 && absX < 3392 && absY > 3518 && absY < 3966 ||
absX > 2941 && absX < 3392 && absY > 9918 && absY < 10366) {
return true;
}
return false;
}
It's math the Abs X / Abs Y form a square/cube and instead there is the wild/multi.
so your saying i should make a new one and then put the coords for the place that i want to be pvp ?
Add this to the end of your wild method:
Made this also..might help:Code:|| absX > FIRST_X && absX < SECOND_X && absY > FIRST_Y && absY < SECOND_Y
Use the southwest and northeast corners for the box coords.
tried it still does not work..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |