Jump to content

Recommended Posts

Posted (edited)

Dat epic moment when the Lol Announcer says Quadra Kill, or PENTA KILL, now on your L2 server :)
Dat fealing when you make the penta or the rage when someone steals it,  for first time on lineage2

 

A Preview:

 

 

How it works ? Excactly the same with the League of Legend's multikill system, if you make multiple kills in a short amount of time its considered as Multi kill, but it has a timer between every kill, if you exceed it your multikill resets (default 5000 ms)

MilisBetweenMultiKills = 5000;


The sound files: Download paste it into Lineage2/music

Coded from scratch by me, 2 hours ago, NOT tested but Im 99% sure that it's bugless :P

Edited by xdem
  • Upvote 3
Posted

Good afternoon to everyone in the forum.

 

I really enjoyed this mod but where I put the Audio files?

On the client folder C :/ Linegae Interlude c6 \ music?

 

That has created some folder in Rev?

Posted

You could work on the L2PcInstances instead of using L2Characters and iterating over such a big list then type casting to L2PcInstance.

 

Overall good share, without the typical else if else if else if else if we see every day.

Posted

You could work on the L2PcInstances instead of using L2Characters and iterating over such a big list then type casting to L2PcInstance.

 

Overall good share, without the typical else if else if else if else if we see every day.

 

About the L2Character, its not big since its KnowList not L2World, and on the project where it got coded Gracia Epilogue L2J, the knowlist had only ArrayList<L2Character> not <L2PcInstance>, so I had to rework the KnowList itself, but I wanted to limit the code on just 2 files.

 

The second way to get rid of L2Character would be isInsideRadius but it uses the whole L2World, so I choosed that Iteration, besibes that how it comes that L2Character knowlist is heavy ? :/ There is a chance all of it's containings to be  instanceof L2PcInstance

Posted

Well when you are in farming zone ( where pvp actually happens most of the time) , the knownlist contains monsters too. Anyhow, I thought there was a way to getKnownPlayers() only or something. What's heavy is not the size of the iteration, but mainly the type casting from character to pcinstance. Type casting is a resource heavy action.

Posted

Well when you are in farming zone ( where pvp actually happens most of the time) , the knownlist contains monsters too. Anyhow, I thought there was a way to getKnownPlayers() only or something.

 

No, getPlayerKnowList was Map not arrayList, but I will see if I can work with it's keySet

Posted

What's heavy is not the size of the iteration, but mainly the type casting from character to pcinstance. Type casting is a resource heavy action.

 

L2Character never got casted, because L2Character has sendPacket method too :P

Posted

Good afternoon to everyone in the forum.

 

I really enjoyed this mod but where I put the Audio files?

On the client folder C :/ Linegae Interlude c6 \ music?

 

That has created some folder in Rev?

 

Yea, music folder, main topic updated

Guest
This topic is now closed to further replies.



  • Posts

    • SocNet is looking for new suppliers!  — Reddit accounts with karma  — LinkedIn accounts with real connections  Message us or contact support — let’s discuss terms!  We’re also open to other partnership opportunities.   Our Online Store Offers: Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, Emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads Premium Subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass Additional Services: Telegram Stars, Proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, etc.), VDS/RDP Servers   SMM Panel Services: Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, TrustPilot, Apple Music, Tripadvisor, Snapchat, and more. Promo code for store discount: PARTNER8 (8% off)  Get $1 trial balance for the SMM Panel:  Submit a ticket titled “Get Trial Bonus” via our website (Support)  ➡ Go to the SMM Panel (clickable) or contact us through the bot    Our Key Products:  Online Store: Click  Telegram Shop Bot: Click   SMM Panel: Click    Payments accepted: Bank cards · Crypto · Other popular methods   Returning buyers receive extra discounts and promo codes!   Support:  ➡ Telegram: https://t.me/solomon_bog   ➡ Discord: https://discord.gg/y9AStFFsrh   ➡ WhatsApp: https://wa.me/79051904467   ➡ Email: solomonbog@socnet.store    ➡ Telegram Channel: https://t.me/accsforyou_shop  You can also use these contacts to:  — Discuss bulk orders  — Form partnerships (Current partners: https://socnet.bgng.io/partners )  — Become our supplier SocNet — your digital goods & subscription store
    • Hello everyone, I could really use some of your knowledge regarding client-side editing. I'm not trying to do anything crazy, just a few small modifications here and there, like adding custom items or modifying how the glow effect appears on lower grade items. The issue is, I'm having a hard time navigating the file edits and figuring out exactly where each line needs to go. I tried using the Notepad++ method, but either it doesn't work for me, or I’m simply doing something wrong. To sum it up: when I import .txt files, the file editor doesn’t allow me to save and encrypt them. And even when I try making changes via the DAT editor, the client refuses to open afterward or it still doesn't save. If anyone has any experience or insight on this, I’d really appreciate your help. Thanks in advance!
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
  • Topics

×
×
  • 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