Jump to content

Recommended Posts

Posted

edw sas exw Script ;) 

 

Online Players to mono p exete na kanete  einai na to kanete Copy paste

 

Index: D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/OnlinePlayers.java
===================================================================
--- D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/OnlinePlayers.java	(revision 0)
+++ D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/OnlinePlayers.java	(revision 0)
@@ -0,0 +1,80 @@
+/* This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+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.serverpackets.SystemMessage;
+import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
+
+/**
+ * 
+ *
+ * 
+ * this class...
+ * shows the amount of online players to anyone who calls it.
+ */
+public class OnlinePlayers 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_S2);
+			sm = new SystemMessage(SystemMessageId.S1_S2);
+			sm.addString("======<Players Online>======");
+			player.sendPacket(sm);
+           	sm = new SystemMessage(SystemMessageId.S1_S2);	
+           	sm.addString("players online!");
+           	sm.addNumber(L2World.getInstance().getAllPlayers().size());
+           	player.sendPacket(sm);
+			sm = new SystemMessage(SystemMessageId.S1_S2);
+			sm.addString("=======================");
+			player.sendPacket(sm);
+			
+		}
+	}
+
+
+
+}
Index: D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/GameServer.java	(revision 1780)
+++ D:/L2J/workspace/L2J release/java/net/sf/l2j/gameserver/GameServer.java	(working copy)
@@ -197,6 +197,7 @@
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.OnlinePlayers;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;
import net.sf.l2j.gameserver.idfactory.IdFactory;
@@ -614,6 +615,7 @@

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

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

Posted

An Kai Yparxei 3ana To Topic Auto Kapoios Moderator Na To KAnei Move Sto Swsto Section....

 

Kai btw Otan kaneis Share Lege Kai Kati parapanw....:/

Polloi Den gnwrizoun ti einai auto....Tous Dineis Ena Diff patch kai den 3eroun ti na to kanoun... ;)

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

    • I assume you're some kind of Rito Games player too, right? If so, I've got some bad news for you. We've been reversing their stuff for years, and the VGK driver collects far more information from your PC than you could imagine.   I won't leak or discuss any specifics here for obvious reasons, but if you've played on certain "serious" projects, they may also have something running on your system. Whether it's mining your GPU or doing other shady things, the point is that you can't really say you're completely safe in today's gaming world. 😄 EAC, BE, Vanguard, FACEIT, and pretty much any kernel level anticheat have extremely deep access to your system.   In the wrong hands, that level of access can become a serious privacy risk. If you have the knowledge, dump the game and take a look for yourself. You might be surprised by what's actually going on behind the scenes.   No wonder the VGK team decided to remove the driver from startup and switch to an on demand approach. I guess the exposure became too much of a risk for them to ignore, so they had to make changes to protect their reputation and keep their image clean.   So let's get to the point. Any anticheat for Lineage 2, whether it's considered good or bad, comes with the same issue: if someone wants to compromise your privacy, they can potentially do it because you don't truly know what you're launching or what kind of drivers it installs or loads. TL;DR: Without proper knowledge and analysis, you can't really know what's happening behind the scenes. Cheers.   Let me remind some people who may have forgotten about this. Many years ago, there was a project called BeyondWorld H5. I saw people complaining that their systems became extremely laggy and their GPUs were overheating after running the game for a long time. After further analysis, we found that the client was heavily using the GPU in a way that appeared to be mining related. The point is that nothing is impossible  if someone has enough access and knowledge, many things can happen.   As for AAC It installs a kernel mode driver. The binary references active64.sys and active64_internal.sys, along with user facing error messages like "Driver installation error, please close all games." This means part of the anti cheat runs in ring 0 kernel mode ROFL, not only as a normal user mode process. Basically, it has a much higher privilege level than the game itself. XD 
    • I said I'd buy it for my player, I didn't say I would run it on my pc. 
    • Hi there! I am starting to develop my server and I am looking for a professional interface editor. I already have a client and I would like to hire somebody to edit it for me or to offer their own interfaces. I have looked around but all the pre-made interfaces out there, so far, has not pleased me and I what I need for my server. So if you are a professional interface maker, please let me know! Thank you!
    • Thanks FunBasec, I recommend this developer ! He is very friendly and professional.
  • 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..