okay guys u know how wen u attack a npc in safe zone the pvp timer goes off?
well i found the fix for that
not really a fix u just had to put coords in.
kk
open your client.jave
okay now
type
this is where u make it safe zone but under this you will see
Code:
public boolean isInWilderness(int coordX, int coordY, int Type) {
if (Type == 1) {
if ((coordY >= 3838) && (coordY <= 3910) && (coordX <= 2630)
&& (coordX >= 2584)) {
return true;
}
} else if (Type == 2) {
if ((coordY >= 2585) && (coordY <= 3901) && (coordX <= 2621)
&& (coordX >= 2942)) {
return true;
}
}
return false;
}
okay so if u log in crazy pvp and go to them coords and spawm a man or what ever u gonna spawm.
the pvp timer will not go off
so log in crazy pvp
and type
and then
okay now go to the castle where it says your server name.
then spawm
kk u done that attack the npc and there u go it don't set off the pvp time
Code:
NOTE: that if u chnage the coords in to a safe zone thats is allrdy safe this will not work
so where ever u are adding moster for people to train on make sure its 1 vs 1
and not multi pvp
kk here now i will till u how to change the coords to make it safe
You see how it says
Code:
((coordY >= 3838) && (coordY <= 3910) && (coordX <= 2630)
&& (coordX >= 2584)) {
well okay i know theres alot of tuts how to do this but....
okay frist
u have 4 conners of where the safe zone will be
go to 1 of the conners and type
okay lets say u go to the top right conner
now u go down to the bottom left conner and type
okay now your done that
now u get 4 coords
you get 2 x coords and 2 y coords
okay 1 now that u done that
go back to the file
and look at this
[code]f ((coordY >= 3838) && (coordY <= 3910) && (coordX <= 2630)
&& (coordX >= 2584)) { [code]
i edited it up a bit okay so lets say u have 3000 x and 3050 y for the top right conner
now for the bottom left conner u have 3050 x and 3000 y
so thats
3000 x 3050 y
3050 x 3000 y
the code should look like this
[code] ((coordY >= 3000) && (coordY <= 3050) && (coordX <= 3050)
&& (coordX >= 3000)) { [code]
there u go now in the middle of them coords the npc pvp timer will not go off and it will be safe zone
hope i helped