Jump to content

Recommended Posts

  • 3 weeks later...
Posted

I works perfectly.

but if I add some restriction (How would I do?)

Example: Auto Remove items  id 12345.    -> (Weapon, armor , jewel)  ?

you should the restriction here,onEnter().

 

check how restriction works,in olympiad e.g

Posted

Do not get pvp to kill my opponent??? I added this in my PcInstance, and it is the same.

 

// Check if it's pvp

if(checkIfPvP(target) && targetPlayer.getPvpFlag() != 0 || isInsideZone(ZONE_FLAGZONE) && targetPlayer.isInsideZone(ZONE_FLAGZONE)) // Check if you and target is in pvp zone

{

increasePvpKills();

}

 

And FlagZone.jave added

 

        player.setInsideZone(L2Character.ZONE_FLAGZONE,true);

 

and I do not take into account pvp??

 

 

Posted

Tested on freya?

Yes..

 

Do not get pvp to kill my opponent??? I added this in my PcInstance, and it is the same.

 

// Check if it's pvp

if(checkIfPvP(target) && targetPlayer.getPvpFlag() != 0 || isInsideZone(ZONE_FLAGZONE) && targetPlayer.isInsideZone(ZONE_FLAGZONE)) // Check if you and target is in pvp zone

{

increasePvpKills();

}

 

And FlagZone.jave added

 

        player.setInsideZone(L2Character.ZONE_FLAGZONE,true);

 

and I do not take into account pvp??

 

 

You do something wrong
Posted

working this code on interlude?

Just change the imports or send me a private messege to do it for you when i will have time .
Posted

Just change the imports or send me a private messege to do it for you when i will have time .

 

hmm ok i will test it and if i have any problem i will send you a private msg thanks for sharing : )

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock