Jump to content

Recommended Posts

Posted

Hello MxC Members, here is a diff file to add TvT Commands .tvtjoin, .tvtleave to you Server.

 

Is really simple, The one Cobra ( I think shared ) Was for L2JFree.

 

Here is for L2J:

 

Index: /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/TvT.java
===================================================================
--- /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/TvT.java (revision 11)
+++ /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/TvT.java (revision 11)
@@ -0,0 +1,43 @@
+package net.sf.l2j.gameserver.handler.voicedcommandhandlers;
+
+import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+import net.sf.l2j.gameserver.model.entity.TvTEvent;
+
+
+public class TvT implements IVoicedCommandHandler
+{
+	private static final String[] VOICED_COMMANDS = { "tvtjoin", "tvtleave" };
+	
+	public String[] getVoicedCommandList()
+	{
+		return VOICED_COMMANDS;
+	}
+	
+	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+	{
+		if (command.equalsIgnoreCase("tvtjoin"))
+		{
+			boolean aaa = TvTEvent.addParticipant(activeChar);
+			if(aaa)
+				activeChar.sendMessage("Registered to TvT");
+			else
+				activeChar.sendMessage("Registration failed");
+
+			return aaa;
+		}
+		else if (command.equalsIgnoreCase("tvtleave"))
+		{
+			return TvTEvent.removeParticipant(activeChar.getName());
+		}
+		
+		return false;
+	}
+	
+}
Index: /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/GameServer.java (revision 6)
+++ /Lineage 2 Empire/L2JInterlude-Game/java/net/sf/l2j/gameserver/GameServer.java (revision 11)
@@ -198,16 +198,17 @@
import net.sf.l2j.gameserver.handler.usercommandhandlers.DisMount;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Escape;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Loc;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Mount;
import net.sf.l2j.gameserver.handler.usercommandhandlers.OlympiadStat;
import net.sf.l2j.gameserver.handler.usercommandhandlers.PartyInfo;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Time;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Banking;
+import net.sf.l2j.gameserver.handler.voicedcommandhandlers.TvT;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.OnlinePlayers;
import net.sf.l2j.gameserver.idfactory.IdFactory;
import net.sf.l2j.gameserver.instancemanager.AuctionManager;
import net.sf.l2j.gameserver.instancemanager.BoatManager;
import net.sf.l2j.gameserver.instancemanager.CastleManager;
import net.sf.l2j.gameserver.instancemanager.CastleManorManager;
@@ -599,16 +600,18 @@
        _log.config("UserCommandHandler: Loaded " + _userCommandHandler.size() + " handlers.");

		_voicedCommandHandler = VoicedCommandHandler.getInstance();
		_voicedCommandHandler.registerVoicedCommandHandler(new stats());

		if(L2Config.L2JMOD_ALLOW_WEDDING)
			_voicedCommandHandler.registerVoicedCommandHandler(new Wedding());

+		_voicedCommandHandler.registerVoicedCommandHandler(new TvT());
+		
                 if(L2Config.BANKING_SYSTEM_ENABLED)
                         _voicedCommandHandler.registerVoicedCommandHandler(new Banking());
                 if(L2Config.ALLOW_ONLINE_VCOMMAND)
                     _voicedCommandHandler.registerVoicedCommandHandler(new OnlinePlayers());

		_log.config("VoicedCommandHandler: Loaded " + _voicedCommandHandler.size() + " handlers.");



 

Credits: Cobra, and ŚyśţęmƒяәдҚς for reworking it for L2J Interlude.

Posted

What kind of rework did you do?

BTW

 

/** Strider event voiced command for joining..

*

*

* @author WizZy

*/

 

1) The author is wizzy, and the credits go to you and cobra?

2) Strider Event? wtf?

Posted

Another proof how -beep-ing stupid revenger and my whole l2emi staff is to give you my pack...

nvm i`ll share it later.

 

your pack? :D

better if i dont comment that :D

Posted

your pack? :D

better if i dont comment that :D

cmon dude all you made was shit!

because of you we had OL's with 2k cast and your "new" formulas was all wrong! The only good thing you did is the geodata rework and i appreciate it.

You may wanna ask Stefoulis who made 700 commits in 1 day. bb.

Posted

cmon dude all you made was shit!

because of you we had OL's with 2k cast and your "new" formulas was all wrong! The only good thing you did is the geodata rework and i appreciate it.

You may wanna ask Stefoulis who made 700 commits in 1 day. bb.

 

700 commit in 1 day impossible...+ my formulas was ok i use it for a long time and working great you just dont know how to make balance.

 

+ the one who made eminence pack was stef not you.you and jake just fucked it up as hell...

Posted

700 commit in 1 day impossible...+ my formulas was ok i use it for a long time and working great you just dont know how to make balance.

 

+ the one who made eminence pack was stef not you.you and jake just -beep-ed it up as hell...

better ask him AGAIN and ask him who worked the most in this pack! ASK HIM!

fucking retarded idiot! Stef made FIXES ONLY! The rest of the features was made by ME AND NIK! kiss my ass now.

Posted

better ask him AGAIN and ask him who worked the most in this pack! ASK HIM!

-beep-ing retarded idiot! Stef made FIXES ONLY! The rest of the features was made by ME AND NIK! kiss my ass now.

 

i dont ask him i had access to the timeline dont you remember? ;)

Posted

better ask him AGAIN and ask him who worked the most in this pack! ASK HIM!

-beep-ing retarded idiot! Stef made FIXES ONLY! The rest of the features was made by ME AND NIK! kiss my ass now.

Lol stop flame Intrepid xD !

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

    • Thank you for your feedback. To help me improve the system, please leave your comments or report any bugs. I will try to release weekly updates. 
    • Thank you for your feedback, SkyLord — even the negative kind.   Let me give you some context on who we actually are, since you asked. L2-Scripts has been around for nearly 20 years. Over that time, we've worked with a large number of developers — I've personally seen probably half of every serious (and not-so-serious) developer in this scene. The most significant figure in our studio's history was Bonux. Together with a small team of assistants, he was essentially the backbone of our old codebase, and we were the ones who brought virtually every chronicle to the community — Essence, Classic, Main — all of it came through us.   Back then, we worked at scale. That era is over. Today, L2-Scripts is no longer a studio in the traditional sense. It's more of a developer collective. I work alongside the best developers I've encountered in 20 years. Bonux is still with us on Classic. A new developer named Den has joined — in just 3 years he became one of the top Essence developers in the world. Every one of us works independently, but we're united by long-standing friendships and shared projects.   We no longer chase every chronicle or every client. For the past several years, we've been focused exclusively on specific long-term projects where we're paid a proper salary — and when you focus like that, with 20 years of experience behind you, the quality of what you produce is on a completely different level. Our code is currently running on nearly all top Essence and Classic servers. We're now bringing Main (Last Protocol) up to that same standard.   You mentioned Nexvil. Yes, he worked with us. That was a difficult period — the lead developer at the time was not up to the standard we hold ourselves to. It was a short period, and it's long behind us.   As for the prices — I'd ask you not to judge a product by whether you personally can afford it. That's not a fair measure of value. The people running top-tier servers understand what they're paying for. If our pricing doesn't fit your budget, that's completely fine — but downvoting a service simply because it feels expensive to you doesn't reflect well, and it certainly doesn't make the product worse.   A special thank you to eMommy and Zenith for the honest and fair words — it genuinely means a lot. It's good to know there are people in this community who judge things as they are.
    • Just because someone does professional sales doesn’t mean everything is overpriced. If the products he provides are stable and good quality, then I see nothing wrong with it, and those prices aren’t even bad. Remember, we’re living in 2026, not 10 years in the past. Your mindset is probably stuck on buying the cheapest products because maybe you can’t afford better ones. And of course, there’s always someone who likes blaming others. I think you should mind your own business instead of blaming someone for how they run theirs. If you really think his prices are too expensive, then do better than him.
    • I have to be fair here and state that almost all 'good' servers on Essence/Classic are using bonux/l2scripts files and 10k for a decent essence build imo is not that bad of a price as long as nexvil is not touching these files
  • 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..