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
  On 1/1/2010 at 2:30 PM, Leprus said:

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
  On 1/1/2010 at 2:34 PM, Intrepid said:

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
  On 1/1/2010 at 2:49 PM, Leprus said:

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
  On 1/1/2010 at 2:52 PM, Intrepid said:

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
  On 1/1/2010 at 2:57 PM, Leprus said:

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
  On 1/1/2010 at 2:57 PM, Leprus said:

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 !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • 我们已更新当前产品信息并重新设计了主题 — 欢迎访问,抢先了解我们项目的新产品与新服务! 相关链接: 数字商品商店: 点击 Telegram 机器人: 点击 SMM 面板: 点击 我们的项目正在积极寻找新的供应商和合作伙伴! — Snapchat 旧号和新号 | 含分数 (snapscores) | 地区: 欧洲/美国 | 通过邮箱/手机号完全访问 — Reddit 老账号,发帖和评论业力值从 100 到 100,000+ | 通过邮箱完全访问 — LinkedIn 老账号,含真实人脉 | 地区: 欧洲/美国 | 通过邮箱完全访问 + 有效的双重验证密码 — Instagram 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) — Facebook 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) | 含好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 通过邮箱完全访问 (可能还绑定双重验证密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式与我们联系 — 一起讨论合作条款! 我们也始终欢迎其他形式的合作提案。 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 获取批发采购咨询 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet — 数字商品与高级订阅商店 
    • 我们已更新当前产品信息并重新设计了主题 — 欢迎访问,抢先了解我们项目的新产品与新服务! 相关链接: 数字商品商店: 点击 Telegram 机器人: 点击 SMM 面板: 点击 我们的项目正在积极寻找新的供应商和合作伙伴! — Snapchat 旧号和新号 | 含分数 (snapscores) | 地区: 欧洲/美国 | 通过邮箱/手机号完全访问 — Reddit 老账号,发帖和评论业力值从 100 到 100,000+ | 通过邮箱完全访问 — LinkedIn 老账号,含真实人脉 | 地区: 欧洲/美国 | 通过邮箱完全访问 + 有效的双重验证密码 — Instagram 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) — Facebook 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) | 含好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 通过邮箱完全访问 (可能还绑定双重验证密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式与我们联系 — 一起讨论合作条款! 我们也始终欢迎其他形式的合作提案。 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 获取批发采购咨询 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet — 数字商品与高级订阅商店 
    • Get ready for the ultimate Lineage 2 experience! Join thousands of players on L2Blaze Interlude x150, the most balanced and thrilling mid-rate server of decade! X150 WARFIRE INTERLUDE BACK TO SCHOOL SEASON: 2025 SEPTEMBER 20th! Opening time: 14:00 UTC+3 Poland/Norway opening time: 13:00 UTC+2 Lithuania/Greece opening time: 14:00 UTC+3 UK opening time: 12:00 UTC+1 Brazil opening time: 8:00 UTC-3 Bonus #1 First 200 new players after completing third class will receive Premium Coin bonus! Bonus #2 First 3 clans after increasing their clan level to 8 level will receive FREE CLAN SKILLS bonus! Bonus #3 First 2 players who will complete enchanting their Arcana Mace or Draconic Bow to +9 will receive 50 FESTIVAL ADENAS bonus per each! Automatic registration on game login window, unnecessary to register in website! Do you want stability? Lagless and bugless game? Instant support? Daily PVP? Long-Term playing? You are in the right place, time to start! How to connect STEP BY STEP: 1. Install clear Lineage2 Interlude client 2. Download our patch, delete old system folder and add our 3. Delete, turn off anti virus or add our system folder to anti virus exceptions 4. Run l2.exe from Lineage2/system 5. Enter data on login window and enjoy the game! * You have to remove, turn off or use exceptions of antivirus because of our security protection. It is not a virus. * If you have connection issues with Windows 8 or 10, press right mouse button on l2.exe icon, press Properties, choose compatibility and unmark compatibility mode. Hearts of War EVENT! Collect War Hearts from Hot Springs monsters: Yeti, Buffalo, Antelope, Bandersnatch, Atroxspawn, Flava, Nepenthes, Grendel (3%), Atrox with (6%) and Heart Breaker Boss in Hot Springs Stage 2! You can trade it, sell it or spend in shop! Raid Boss Heart Breaker spawn every 4 hours (+4 hours random) Custom Raid Boss drop list: - Raid Boss Horus, Ember and Brakki, Nakondas: 1 VIP COIN (25%) | Korim (70%). - Raid Boss Apepi, Shacram, Atraiban, Korim: 1 BEWS (10%). - Raid Boss Glaki, Olkuth: 1-2 BEAS (40%). - Raid Boss Golkonda, Galaxia: 1-3 BEAS (60%). - Raid Boss Shyeed: 1-3 BEWS (30%) | 1-7 BEAS (40%) | 1-5 TOP LS 76 (50%). - Raid Boss Shuriel: 1-7 TOP LS 76 (50%) | 1-4 BEAS (60%). - Raid Boss Ashakiel: 1-2 BEWS (30%) | 1-7 TOP LS 76 (50%) | 1-4 BEAS (75%). - Raid Boss Antharas Priest Cloe: 1-3 BEWS (30%) | 1-7 TOP LS 76 (70%). ------------------------------------------------ - Hestia: Demon Splinters / Forgotten Blande (30%). - Ember: Arcana Mace / Draconic Bow (30%). - Galaxia: Angel Slayer / Heaven's Divider (30%) Take your friends, clan, alliance, enemys, sharp your sword, clean your armors and meet your destiny at 2025 SEPTEMBER 20th! WEBSITE: http://WWW.L2BLAZE.NET
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
  • 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