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

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...