Jump to content

Recommended Posts

Posted

The Title Says All.

 

this topic Referrs to the Topic Of Mafia_007, but just with the Patch Ready to go !

Updated to the lastest Revision of L2J !

 

If you need it for L2Jfree go here => http://www.maxcheaters.com/forum/index.php?topic=46514.0

 

Credits to the Respective owners. I just posted the complete patch here.

 

Bye.

 

Index: /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java

===================================================================

--- /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (revision 2798)

+++ /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (working copy)

@@ -47,6 +47,7 @@

{

_datatable = new FastMap<String, IVoicedCommandHandler>();

registerVoicedCommandHandler(new stats());

+ registerVoicedCommandHandler(new Online());

if (Config.L2JMOD_ALLOW_WEDDING)

registerVoicedCommandHandler(new Wedding());

if (Config.BANKING_SYSTEM_ENABLED)

 

 

Index: /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java

===================================================================

--- /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java (revision 0)

+++ /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java (revision 0)

@@ -0,0 +1,59 @@

+package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

+

+

+import net.sf.l2j.gameserver.model.L2World;

+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

+import net.sf.l2j.gameserver.network.SystemMessageId;

+import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;

+import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;

+

+/**

+*

+* @author Ombladon

+*

+* this class...

+* shows the amount of online players to any1 who calls it.

+*/

+public class Online implements IVoicedCommandHandler

+{

+

+

+private static final String[] VOICED_COMMANDS = {"online"};

+

+public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)

+{

+if (command.startsWith("online"))

+{

+showPlayers(activeChar, target);

+}

+

+return true;

+

+}

+

+

+

+public String[] getVoicedCommandList()

+{

+return VOICED_COMMANDS;

+}

+

+

+public void showPlayers (L2PcInstance player, String target)

+

+{

+SystemMessage sm = new SystemMessage(SystemMessageId.S1);

+sm = new SystemMessage(SystemMessageId.S1);

+sm.addString("======<Online Players>======");

+player.sendPacket(sm);

+sm = new SystemMessage(SystemMessageId.S1);

+sm.addString("There are "+L2World.getInstance().getAllPlayers().size()+" players on.");

+player.sendPacket(sm);

+

+sm = new SystemMessage(SystemMessageId.S1);

+sm.addString("=======================");

+player.sendPacket(sm);

+}

+

+

+}

 

  • 9 months later...
Posted

OMG look that...March 02, 2009, 12:22:41 AM » last pots and you post again now??? 1st warning people !!

as long as it still works you have no right to judge it as a unuseful undig.

  • 2 years later...

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

    • [Share]korean protocol 606 new lobby collection   kr 606 new lobby assassin     kr 606 new lobby bartz       kr 606 new lobby basic       Instructions: Place the files into the 'Video' folder within your game client. (Remember to create backups of your files before replacing them.)   Supported game protocols: 110,140,152,166,196,228,235,245,272,286,306,311,338,362,388,390,393,395,413,414,415,417,418,419,422, 424,425,426,430,437,438,439,444,446,447,449,450,458,459,460,462,464,465,470,474,480,481,482,487, 493,495,502,507,509,511,513,516,520   Download link > https://drive.usercontent.google.com/download?id=1hZy-CcerRDy49gC0VWN_1jxPyHAcd0SU&export <  7zip compression; password  RED-TEAM-REVERSECODE             
    • GRAND OPENING TODAY! 30/10/2026, FRIDAY, 20:00 +3 GMT 
    • Hey everyone! Just a quick update from the WARFRONT team. After months of development, testing and plenty of changes based on player feedback, we're finally opening tomorrow, 30 October at 18:00 UTC. For anyone who hasn't heard about the project, WARFRONT is a heavily customised Interlude GvE server focused on Angels vs Demons faction PvP. The main difference is our battlefield system. Instead of fighting endlessly over random kills, factions capture Outposts, unlock the Main Outpost and eventually push into enemy territory to destroy the opposing Headquarters. We've also spent a considerable amount of time working on class balance, progression, faction balancing and giving traditionally overlooked classes a useful role in PvP. Some of the main features: Level 80 start with free B Grade equipment Rotating faction battlefields with objectives 31 rebalanced classes Daily faction siege Grand Boss faction events Chaos, TvT, CTF, Deathmatch and King of the Hill Gear Battle XP and character progression Free and Premium Battle Pass Custom faction balancing and mercenary system We had 110 participants during Closed Beta and made numerous improvements following their feedback. If you enjoy Interlude faction PvP, feel free to give us a try. Grand Opening: Friday, 30 October 2026 at 18:00 UTC Website: https://l2warfront.com/ See you tomorrow!
    • OPEN BETA STARTS ON FRIDAY, OCTOBER 30, AT 18:00 EASTERN EUROPEAN TIME - don't forget to join!
    • 🤝 Team and agency packs available: Bulk discounts across ChatGPT Plus, Claude Pro, and YouTube Premium subscriptions.     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
  • 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..