Jump to content
  • 0

[Help]L2jFrozen Event Java Edit


Question

Posted

[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 !

4 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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;
}

  • 0
Posted

And with...

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

?

  • 0
Posted

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.


  • Posts

    • Lol another crappy server if you wanna x5000 rates go play l2java or damage, at least not gonna die in few months when server rent and cheap meth will fade out lol
    • Why the shitty interface then?
    • Wtf you even selling no clue at all, stop use this crappy AI 
    • We are a small team of developers from this community who used to play on the Interlude version of L2Pride, almost 20 years ago. There have been many attempts over the years to replicate this server, specifically the very first version of it that came on Interlude(C6) and all of them were met with failure. We decided to take it upon ourselves again since we remember every little detail that made this server unique and also were fortunate enough to get our hands in some of the old code that made the server unique. Some features about the server: ⚔️ Original Castle Reward System 🏹 Classic L2Pride Class Balance & Hunter's Village S-Grade PvP 🎯 12 Subclasses • Automatic TVT / CTF / DM / VIP Events 🔄 Fully Functional Rebirth System 🏆 PvP Rewards every 1,000 PvP Points 👑 Fully Working Olympiad ☠️ Cursed Weapons with Void Burst & Void Flow 💰 Beleth's Bronze, Silver & Gold Currency System since Adena is too easy to get ⭐ Safe Enchant +6 • Max Enchant +25 📍 Start: Cave of Trials • ⚔️ Leveling: Varka Silenos 🏛️ Farm Instances: Cave of Trials & Cemetery 🤖 Optional Autofarm & Healbot • 🚀 Teleport Stone The server is strictly focusing around PvP while minimizing PvE to the minimum, all classes have been balanced and tweaked for PvP, even dumb classes like Prophets and Bladedancers are now useful and fun to play PvP with. Posting this since there has been a lot of interest and approval from this subreddit, you can stay tuned and up to date about the opening here: https://discord.com/invite/2Knae6mmTx This is also our website made after the classic version of the game: https://www.l2belle.org/ (you can find more info and guides here) Since this is a server focused heavily on PvP we are expecting a lot of clans and people to join and make this a joyful ride. See you soon
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..