Skip to content

[Help]L2jFrozen Event Java Edit

Featured Replies

[ENG]Hi guys, I would like someone to help me with the Event's of L2jFrozen.

I want when one player gets 1 kill in the event's gives him and pvp.

 

If anyone can help me to do edit, replay here or better yet let's make me add in skype (funkerman16)

Thanks !

Create a new script, put addKillId with the good npcId template, and in onKill section, put whatever you want (in your case, 2 lines : player.giveItems() and player.setPvpKills(player.getPvPkills +1)).

 

And if L2JFrozen uses a particular system for events, it's probably as easiest as I said.

  • Author

Create a new script, put addKillId with the good npcId template, and in onKill section, put whatever you want (in your case, 2 lines : player.giveItems() and player.setPvpKills(player.getPvPkills +1)).

 

And if L2JFrozen uses a particular system for events, it's probably as easiest as I said.

 

 

I have create that in L2PcInstance.java but does not work :/ any idea someone ?

 

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
increasePvpKills();
return;
}

And with...

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
setPvpKills(getPvpKills()+1);
return;
}

?

  • Author

And with...

if ((_inEventCTF && CTF.is_started()) || (_inEventTvT && TvT.is_started()) || (_inEventVIP && VIP._started) || (_inEventDM && DM.is_started()))
{
setPvpKills(getPvpKills()+1);
return;
}

?

Thanks dude that work perfect :)

 

Some mod lock that topic!!!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.