Jump to content
  • 0

Special Options for PvP Consecutives


Question

Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

12 answers to this question

Recommended Posts

  • 0
Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

  • 0
Posted

This system is already shared :

 

- basic idea is the "quake system" thing shared over MxC,

- a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P.

  • 0
Posted

This system is already shared :

 

- basic idea is the "quake system" thing shared over MxC,

- a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P.

  • 0
Posted

	public void increasePvpKills(L2Character target)
{
	if (target instanceof L2PcInstance
			&& AntiFeedManager.getInstance().check(this, target))
	{
		// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);

		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
		sendPacket(new ExBrExtraUserInfo(this));

		float getPvpKills = getPvpKills();
		if((getPvpKills/5)%2==1||(getPvpKills/5)%2==0)
		{
			setHero(true);
		}
	}
}

find the differences in code :)

atm when char have 5, 10, 15,20, etc pvp points, he is getting hero, just replace it with whatever u want.

 

quake system is working with a little different way :)

  • 0
Posted

	public void increasePvpKills(L2Character target)
{
	if (target instanceof L2PcInstance
			&& AntiFeedManager.getInstance().check(this, target))
	{
		// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);

		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
		sendPacket(new ExBrExtraUserInfo(this));

		float getPvpKills = getPvpKills();
		if((getPvpKills/5)%2==1||(getPvpKills/5)%2==0)
		{
			setHero(true);
		}
	}
}

find the differences in code :)

atm when char have 5, 10, 15,20, etc pvp points, he is getting hero, just replace it with whatever u want.

 

quake system is working with a little different way :)

  • 0
Posted

Yes, I thought of something that way too, but it is a matter of getting take effect otherwise, without being that of hero.

just replace it :)

here you go example for paralize player :P

		target.setIsParalyzed(true);
		target.startParalyze();
		target.startAbnormalEffect(AbnormalEffect.HOLD_1);

just change that with whatever u like :)

  • 0
Posted

Yes, I thought of something that way too, but it is a matter of getting take effect otherwise, without being that of hero.

just replace it :)

here you go example for paralize player :P

		target.setIsParalyzed(true);
		target.startParalyze();
		target.startAbnormalEffect(AbnormalEffect.HOLD_1);

just change that with whatever u like :)

  • 0
Posted

If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's.

 

About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires.

 

The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up).

  • 0
Posted

If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's.

 

About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires.

 

The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up).

  • 0
Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

 

This sounds like call of duty.

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


  • Posts

    • The core strength of Novproxy Perfectly unlock overseas AI large models: 100% pure residential IP, perfectly bypassing various strict risk controls such as ChatGPT, Claude, Midjourney, etc. This is an essential tool for parents to train AI on weekends and during work! Available in 195+ countries/regions worldwide: covering an extremely wide range. Whether it's setting up accounts for cross-border e-commerce, conducting overseas web crawling, or conducting network gray-scale tests, it can all be handled easily. Ultra-fast concurrency: Real residential network, stable and non-blocking, high-concurrency business can also run at full capacity.
    • You charge 10,000 - 15,000 USD for Java files and your site shows 370 projects and 786 customers. you're not just a millionaire, you're a multimillionaire bro 😂 and enjoy it while it lasts. Ai is coming in hot and your 18 developers better start updating their CVs. soon everyone will build whatever they need for free. The 15k Java files era is over 😄  
    • Honestly, I don’t care about your files at all. I’m just watching what people are sharing, and what’s interesting is that whenever someone shares your files, or anyone else’s files for that matter, sources included, they’re always old files from like 10 years ago :d.  You act way too cocky.. go see what people are writing about you on MMO Dev, then come talk to me.  
    • Hello everyone, I'm here to ask for help with information about contacting StrixGuard support.   I subscribed to their platform and license a while ago, I haven't had any problems with it and I even managed to block Adrenaline Premium.   I hired them mainly to have some protection and be able to use the HWID on my server. It turned out to work much better than some people had said and than I expected.   Therefore, I purchased another license from Strix for another project, but the problem we encountered was the time difference and language barrier, which complicated things for us in getting it to work on my new project.🤣🤣🤣   But currently, he hasn't responded or connected to Telegram for weeks, which is where I managed to finalize everything.   I understand that due to the situation in Russia regarding communications and networks, it would currently be even more impossible to contact any support.   But if anyone here still has contact information for StrixGuard support, I'd appreciate it if you could share it with me. It doesn't matter if it's a Russian number or a Russian app; I can still use them and make contact. But I need more than just the Telegram contact I have.   So I would greatly appreciate any information... and please refrain from suggesting other anti-cheat programs or that I should switch. All I'm looking for is contact with StrixGuard support, nothing more.   Thank you all very much.
  • 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..