Jump to content

Recommended Posts

Posted (edited)

Hello i Create one Easy code for your server's this is code for Fake player real time is have items and clan crest.


 


He got the idea from the L2mafia, L2reality


 


Soory for bad English



Index: java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- java/net/sf/l2j/gameserver/GameServer.java (revision 4)
+++ java/net/sf/l2j/gameserver/GameServer.java (working copy)
@@ -99,6 +99,7 @@
import net.sf.l2j.gameserver.instancemanager.games.MonsterRace;
import net.sf.l2j.gameserver.model.L2Manor;
import net.sf.l2j.gameserver.model.L2World;
+import net.sf.l2j.gameserver.model.entity.FakeOnline;
import net.sf.l2j.gameserver.model.entity.Hero;
import net.sf.l2j.gameserver.model.olympiad.Olympiad;
import net.sf.l2j.gameserver.model.olympiad.OlympiadGameManager;
@@ -300,7 +301,7 @@

if (Config.ALT_FISH_CHAMPIONSHIP_ENABLED)
FishingChampionshipManager.getInstance();
-
+ FakeOnline.restoreFakePlayers();
Util.printSection("System");
TaskManager.getInstance();
Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());
Index: java/net/sf/l2j/gameserver/model/L2Clan.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Clan.java (revision 4)
+++ java/net/sf/l2j/gameserver/model/L2Clan.java (working copy)
@@ -2186,7 +2186,7 @@
member.broadcastUserInfo();
}

- private void checkCrests()
+ public void checkCrests()
{
if (_crestId != 0)
{
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 4)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
@@ -3118,7 +3118,7 @@
L2GameClient client = _client;
if (client != null)
{
- if (client.isDetached())
+ if (client.isDetached()|| client.isFakePlayer())
client.cleanMe(true);
else
{
@@ -8890,6 +8890,17 @@
_validBypass2.add(bypass);
}

+ public boolean fakeplayer = false;
+
+ public boolean getfakeplayer()
+ {
+ return fakeplayer;
+ }
+ public void setfakeplayer(boolean fake)
+ {
+ fakeplayer = fake;
+ }
+
public synchronized boolean validateBypass(String cmd)
{
for (String bp : _validBypass)
Index: java/net/sf/l2j/gameserver/model/entity/FakeOnline.java
===================================================================
--- java/net/sf/l2j/gameserver/model/entity/FakeOnline.java (revision 0)
+++ java/net/sf/l2j/gameserver/model/entity/FakeOnline.java (revision 0)
@@ -0,0 +1,92 @@
+package net.sf.l2j.gameserver.model.entity;
+
+import java.sql.Connection;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import net.sf.l2j.L2DatabaseFactory;
+import net.sf.l2j.gameserver.LoginServerThread;
+import net.sf.l2j.gameserver.model.L2Clan;
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+import net.sf.l2j.gameserver.model.itemcontainer.ItemContainer;
+import net.sf.l2j.gameserver.network.L2GameClient;
+import net.sf.l2j.gameserver.network.L2GameClient.GameClientState;
+
+/**
+ * @author FOFAS
+ *
+ */
+public class FakeOnline
+{
+ private static Logger _log = Logger.getLogger(FakeOnline.class.getName());
+ //select fake player
+ private static final String LOAD_OFFLINE_STATUS = "SELECT * FROM fakeplayer";
+ //insert fake player
+ private static final String SET_OFFLINE_STATUS = "INSERT INTO fakeplayer (charId) VALUES (?)";
+
+ public static void restoreFakePlayers()
+ {
+ int nfakeplayer = 0;
+ try (Connection con = L2DatabaseFactory.getInstance().getConnection())
+ {
+ PreparedStatement stm = con.prepareStatement(LOAD_OFFLINE_STATUS);
+ ResultSet rs = stm.executeQuery();
+ while (rs.next())
+ {
+ L2PcInstance player = null;
+ try
+ {
+ L2GameClient client = new L2GameClient(null);
+ client.setFakePlayer(true);
+ player = L2PcInstance.restore(rs.getInt("charId"));
+ client.setActiveChar(player);
+ player.setOnlineStatus(true, false);
+ client.setAccountName(player.getAccountName());
+ client.setState(GameClientState.IN_GAME);
+ player.setClient(client);
+ player.spawnMe(player.getX(), player.getY(), player.getZ());
+ LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client);
+ ItemContainer items = player.getInventory();
+ items.restore();
+ L2Clan clan = player.getClan();
+ clan.checkCrests();
+ player.setfakeplayer(true);
+ player.setOnlineStatus(true, true);
+ player.restoreEffects();
+ player.broadcastUserInfo();
+ nfakeplayer++;
+ }
+ catch (Exception e)
+ {
+ _log.log(Level.WARNING, "FakePlayer: Error loading trader: "+player,e);
+ if (player != null)
+ {
+ player.deleteMe();
+ }
+ }
+ }
+ rs.close();
+ stm.close();
+ _log.info("Loaded: " +nfakeplayer+ " Fake player(s)");
+ }
+ catch (Exception e)
+ {
+ _log.log(Level.WARNING, "FakePlayer: Error while loading FakePlayer: ",e);
+ }
+ }
+
+ public static void setfakeplayers(L2PcInstance player)
+ {
+ try (Connection con = L2DatabaseFactory.getInstance().getConnection())
+ {
+ PreparedStatement statement = con.prepareStatement(SET_OFFLINE_STATUS);
+ statement.setInt(1, player.getObjectId());
+ statement.execute();
+ statement.close();
+ }
+ catch (Exception e)
+ {}
+ }
+}
Index: java/net/sf/l2j/gameserver/network/L2GameClient.java
===================================================================
--- java/net/sf/l2j/gameserver/network/L2GameClient.java (revision 4)
+++ java/net/sf/l2j/gameserver/network/L2GameClient.java (working copy)
@@ -194,7 +194,7 @@

public void sendPacket(L2GameServerPacket gsp)
{
- if (_isDetached)
+ if (_isDetached || _isfakeplayer)
return;

getConnection().sendPacket(gsp);
@@ -291,6 +291,18 @@
}
}

+ private boolean _isfakeplayer = false;
+
+ public boolean isFakePlayer()
+ {
+ return _isfakeplayer;
+ }
+
+ public void setFakePlayer(boolean b)
+ {
+ _isfakeplayer = b;
+ }
+
public static void deleteCharByObjId(int objid)
{
if (objid < 0)
@@ -489,6 +501,9 @@
public void closeNow()
{
_isDetached = true; // prevents more packets execution
+
+ _isfakeplayer = true;
+
close(ServerClose.STATIC_PACKET);
synchronized (this)
{
@@ -538,7 +553,7 @@

try
{
- if (getActiveChar() != null && !isDetached())
+ if (getActiveChar() != null && !isDetached() || !isFakePlayer())
{
setDetached(true);
fast = !getActiveChar().isInCombat() && !getActiveChar().isLocked();
@@ -633,7 +648,7 @@
*/
public boolean dropPacket()
{
- if (_isDetached) // detached clients can't receive any packets
+ if (_isDetached || _isfakeplayer) // detached clients can't receive any packets
return true;

// flood protection
@@ -756,7 +771,7 @@
if (packet == null) // queue is empty
return;

- if (_isDetached) // clear queue immediately after detach
+ if (_isDetached || _isfakeplayer) // clear queue immediately after detach
{
_packetQueue.clear();
return;



Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java
===================================================================
--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java (revision 62)
+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java (working copy)
@@ -22,6 +22,7 @@
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.BankingCmd;
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.DMVoicedInfo;
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Donator;
+import com.l2jfresh.gameserver.handler.voicedcommandhandlers.FakePlayerOnline;
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Leave;
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.OnlinePlayers;
import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Pin;
@@ -67,6 +68,7 @@
+ registerHandler(new FakePlayerOnline());
}

public void registerHandler(IVoicedCommandHandler handler)
Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java
===================================================================
--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java (revision 0)
+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java (revision 0)
@@ -0,0 +1,35 @@
+package com.l2jfresh.gameserver.handler.voicedcommandhandlers;
+
+import com.l2jfresh.gameserver.handler.IVoicedCommandHandler;
+import com.l2jfresh.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jfresh.gameserver.model.custom.FakeOnline;
+
+/**
+ * @author FOFAS
+ *
+ */
+public class FakePlayerOnline implements IVoicedCommandHandler
+{
+ private static final String[] VOICED_COMMANDS = {"fakeplayer"};
+
+ @Override
+ public boolean useVoicedCommand(String command, L2PcInstance player, String target)
+ {
+ if (command.equalsIgnoreCase("fakeplayer"))
+ {
+ if (player != null)
+ {
+ FakeOnline.setfakeplayers(player);
+ player.setfakeplayer(true);
+ player.deleteMe();
+ player.logout();
+ }
+ }
+ return true;
+ }
+ @Override
+ public String[] getVoicedCommandList()
+ {
+ return VOICED_COMMANDS;
+ }
+}
Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java
===================================================================
--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java (revision 0)
+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java (revision 0)
@@ -0,0 +1,35 @@
+package com.l2jfresh.gameserver.handler.voicedcommandhandlers;
+
+import com.l2jfresh.gameserver.handler.IVoicedCommandHandler;
+import com.l2jfresh.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jfresh.gameserver.model.custom.FakeOnline;
+
+/**
+ * @author FOFAS
+ *
+ */
+public class FakePlayerOnline implements IVoicedCommandHandler
+{
+ private static final String[] VOICED_COMMANDS = {"fakeplayer"};
+
+ @Override
+ public boolean useVoicedCommand(String command, L2PcInstance player, String target)
+ {
+ if (command.equalsIgnoreCase("fakeplayer"))
+ {
+ if (player != null)
+ {
+ FakeOnline.setfakeplayers(player);
+ player.setfakeplayer(true);
+ player.deleteMe();
+ player.logout();
+ }
+ }
+ return true;
+ }
+ @Override
+ public String[] getVoicedCommandList()
+ {
+ return VOICED_COMMANDS;
+ }
+}


Edited by madarismenos
Posted

only children headless implements,this command :/

a big mess to lie to your players

bump!

You're the first user of this code.

So, do not try to be a smart.

 

Btw, that's why lineage gonna be a missed game.
  • 2 weeks later...
  • 2 months later...
  • 2 months later...
  • 1 month later...
  • 1 year later...
  • 2 months later...
Posted
On 2/27/2016 at 8:20 AM, madarismenos said:

Hello i Create one Easy code for your server's this is code for Fake player real time is have items and clan crest.

 

 

 

 

He got the idea from the L2mafia, L2reality

 

 

 

 

 

Soory for bad English

 

 



Index: java/net/sf/l2j/gameserver/GameServer.java

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

--- java/net/sf/l2j/gameserver/GameServer.java	(revision 4)

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

@@ -99,6 +99,7 @@

 import net.sf.l2j.gameserver.instancemanager.games.MonsterRace;

 import net.sf.l2j.gameserver.model.L2Manor;

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

+import net.sf.l2j.gameserver.model.entity.FakeOnline;

 import net.sf.l2j.gameserver.model.entity.Hero;

 import net.sf.l2j.gameserver.model.olympiad.Olympiad;

 import net.sf.l2j.gameserver.model.olympiad.OlympiadGameManager;

@@ -300,7 +301,7 @@


 		if (Config.ALT_FISH_CHAMPIONSHIP_ENABLED)

 			FishingChampionshipManager.getInstance();

-		

+		FakeOnline.restoreFakePlayers();

 		Util.printSection("System");

 		TaskManager.getInstance();

 		Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());

Index: java/net/sf/l2j/gameserver/model/L2Clan.java

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

--- java/net/sf/l2j/gameserver/model/L2Clan.java	(revision 4)

+++ java/net/sf/l2j/gameserver/model/L2Clan.java	(working copy)

@@ -2186,7 +2186,7 @@

 			member.broadcastUserInfo();

 	}


-	private void checkCrests()

+	public void checkCrests()

 	{

 		if (_crestId != 0)

 		{

Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

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

--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 4)

+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)

@@ -3118,7 +3118,7 @@

 		L2GameClient client = _client;

 		if (client != null)

 		{

-			if (client.isDetached())

+			if (client.isDetached()|| client.isFakePlayer())

 				client.cleanMe(true);

 			else

 			{

@@ -8890,6 +8890,17 @@

 		_validBypass2.add(bypass);

 	}


+	public boolean fakeplayer = false;

+	

+	public boolean getfakeplayer()

+	{

+		return fakeplayer;

+	}

+	public void setfakeplayer(boolean fake)

+	{

+		fakeplayer = fake;

+	}

+	

 	public synchronized boolean validateBypass(String cmd)

 	{

 		for (String bp : _validBypass)

Index: java/net/sf/l2j/gameserver/model/entity/FakeOnline.java

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

--- java/net/sf/l2j/gameserver/model/entity/FakeOnline.java	(revision 0)

+++ java/net/sf/l2j/gameserver/model/entity/FakeOnline.java	(revision 0)

@@ -0,0 +1,92 @@

+package net.sf.l2j.gameserver.model.entity;

+

+import java.sql.Connection;

+import java.sql.PreparedStatement;

+import java.sql.ResultSet;

+import java.util.logging.Level;

+import java.util.logging.Logger;

+

+import net.sf.l2j.L2DatabaseFactory;

+import net.sf.l2j.gameserver.LoginServerThread;

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

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

+import net.sf.l2j.gameserver.model.itemcontainer.ItemContainer;

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

+import net.sf.l2j.gameserver.network.L2GameClient.GameClientState;

+

+/**

+ * @author FOFAS

+ *

+ */

+public class FakeOnline 

+{

+    private static Logger _log = Logger.getLogger(FakeOnline.class.getName());

+    //select fake player

+    private static final String LOAD_OFFLINE_STATUS = "SELECT * FROM fakeplayer";

+    //insert fake player

+    private static final String SET_OFFLINE_STATUS = "INSERT INTO fakeplayer (charId) VALUES (?)";

+

+    public static void restoreFakePlayers()

+    {

+            int nfakeplayer = 0;

+            try (Connection con = L2DatabaseFactory.getInstance().getConnection())

+            {

+                    PreparedStatement stm = con.prepareStatement(LOAD_OFFLINE_STATUS);

+                    ResultSet rs = stm.executeQuery();

+                    while (rs.next())

+                    {

+                            L2PcInstance player = null;

+                            try

+                            {

+                                    L2GameClient client = new L2GameClient(null);

+                                    client.setFakePlayer(true);

+                                    player = L2PcInstance.restore(rs.getInt("charId"));

+                                    client.setActiveChar(player);

+                                    player.setOnlineStatus(true, false);

+                                    client.setAccountName(player.getAccountName());

+                                    client.setState(GameClientState.IN_GAME);

+                                    player.setClient(client);

+                                    player.spawnMe(player.getX(), player.getY(), player.getZ());

+                                    LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client);

+                                    ItemContainer items = player.getInventory();

+                                    items.restore();

+                                    L2Clan clan = player.getClan();

+                                    clan.checkCrests();

+                                    player.setfakeplayer(true);

+                                    player.setOnlineStatus(true, true);

+                                    player.restoreEffects();

+                                    player.broadcastUserInfo();

+                                    nfakeplayer++;

+                            }

+                            catch (Exception e)

+                            {

+                                    _log.log(Level.WARNING, "FakePlayer: Error loading trader: "+player,e);

+                                    if (player != null)

+                                    {

+                                       player.deleteMe();

+                                    }

+                            }

+                    }

+                    rs.close();

+                    stm.close();

+                    _log.info("Loaded: " +nfakeplayer+ " Fake player(s)");

+            }

+            catch (Exception e)

+            {

+                    _log.log(Level.WARNING, "FakePlayer: Error while loading FakePlayer: ",e);

+            }

+    }

+    

+    public static void setfakeplayers(L2PcInstance player)

+    {

+		try (Connection con = L2DatabaseFactory.getInstance().getConnection())

+		{

+			PreparedStatement statement = con.prepareStatement(SET_OFFLINE_STATUS);

+			statement.setInt(1, player.getObjectId());

+			statement.execute();

+			statement.close();

+		}

+		catch (Exception e)

+		{}

+    }

+}

Index: java/net/sf/l2j/gameserver/network/L2GameClient.java

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

--- java/net/sf/l2j/gameserver/network/L2GameClient.java	(revision 4)

+++ java/net/sf/l2j/gameserver/network/L2GameClient.java	(working copy)

@@ -194,7 +194,7 @@


 	public void sendPacket(L2GameServerPacket gsp)

 	{

-		if (_isDetached)

+		if (_isDetached || _isfakeplayer)

 			return;


 		getConnection().sendPacket(gsp);

@@ -291,6 +291,18 @@

 		}

 	}


+	private boolean _isfakeplayer = false;

+	

+	public boolean isFakePlayer()

+	{

+		return _isfakeplayer;

+	}

+	

+	public void setFakePlayer(boolean b)

+	{

+		_isfakeplayer = b;

+	}

+	

 	public static void deleteCharByObjId(int objid)

 	{

 		if (objid < 0)

@@ -489,6 +501,9 @@

 	public void closeNow()

 	{

 		_isDetached = true; // prevents more packets execution

+		

+		_isfakeplayer = true;

+		

 		close(ServerClose.STATIC_PACKET);

 		synchronized (this)

 		{

@@ -538,7 +553,7 @@


 			try

 			{

-				if (getActiveChar() != null && !isDetached())

+				if (getActiveChar() != null && !isDetached() || !isFakePlayer())

 				{

 					setDetached(true);

 					fast = !getActiveChar().isInCombat() && !getActiveChar().isLocked();

@@ -633,7 +648,7 @@

 	 */

 	public boolean dropPacket()

 	{

-		if (_isDetached) // detached clients can't receive any packets

+		if (_isDetached || _isfakeplayer) // detached clients can't receive any packets

 			return true;


 		// flood protection

@@ -756,7 +771,7 @@

 				if (packet == null) // queue is empty

 					return;


-				if (_isDetached) // clear queue immediately after detach

+				if (_isDetached || _isfakeplayer) // clear queue immediately after detach

 				{

 					_packetQueue.clear();

 					return;

 



Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java

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

--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java	(revision 62)

+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/VoicedCommandHandler.java	(working copy)

@@ -22,6 +22,7 @@

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.BankingCmd;

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.DMVoicedInfo;

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Donator;

+import com.l2jfresh.gameserver.handler.voicedcommandhandlers.FakePlayerOnline;

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Leave;

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.OnlinePlayers;

 import com.l2jfresh.gameserver.handler.voicedcommandhandlers.Pin;

@@ -67,6 +68,7 @@

+	   registerHandler(new FakePlayerOnline());

 	}


 	public void registerHandler(IVoicedCommandHandler handler)

Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java

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

--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java	(revision 0)

+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java	(revision 0)

@@ -0,0 +1,35 @@

+package com.l2jfresh.gameserver.handler.voicedcommandhandlers;

+

+import com.l2jfresh.gameserver.handler.IVoicedCommandHandler;

+import com.l2jfresh.gameserver.model.actor.instance.L2PcInstance;

+import com.l2jfresh.gameserver.model.custom.FakeOnline;

+

+/**

+ * @author FOFAS

+ *

+ */

+public class FakePlayerOnline  implements IVoicedCommandHandler

+{

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

+	

+	@Override

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

+	{

+		if (command.equalsIgnoreCase("fakeplayer"))

+		{

+            if (player != null)

+            {

+               FakeOnline.setfakeplayers(player);

+               player.setfakeplayer(true);

+               player.deleteMe();

+               player.logout();

+            }

+		}

+		return true;

+	}

+	@Override

+	public String[] getVoicedCommandList()

+	{

+		return VOICED_COMMANDS;

+	}

+}

Index: Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java

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

--- Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java	(revision 0)

+++ Roar_gameserver/java/com/l2jfresh/gameserver/handler/voicedcommandhandlers/FakePlayerOnline.java	(revision 0)

@@ -0,0 +1,35 @@

+package com.l2jfresh.gameserver.handler.voicedcommandhandlers;

+

+import com.l2jfresh.gameserver.handler.IVoicedCommandHandler;

+import com.l2jfresh.gameserver.model.actor.instance.L2PcInstance;

+import com.l2jfresh.gameserver.model.custom.FakeOnline;

+

+/**

+ * @author FOFAS

+ *

+ */

+public class FakePlayerOnline  implements IVoicedCommandHandler

+{

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

+	

+	@Override

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

+	{

+		if (command.equalsIgnoreCase("fakeplayer"))

+		{

+            if (player != null)

+            {

+               FakeOnline.setfakeplayers(player);

+               player.setfakeplayer(true);

+               player.deleteMe();

+               player.logout();

+            }

+		}

+		return true;

+	}

+	@Override

+	public String[] getVoicedCommandList()

+	{

+		return VOICED_COMMANDS;

+	}

+}

 

where I can add this code ?

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

    • Hi, for l2jfrozen...   I want Bless Enchat to have a limit.   Example: 7+ to +15 with Bless Enchat.   That for +16, it doesn't allow use.
    • @FixerRay the problem is that my dev will not be available for a while so if you could help that will be great 
    • Tired of watching your Instagram account grow at a snail’s pace? Feeling frustrated when your quality content doesn’t reach the audience it deserves? Let me share a secret that changed the game for me and many others: using a reliable SMM panel Instagram service like GoUpSocial. Whether you're building a brand, promoting a product, or growing a personal page, GoUpSocial offers the best and cheapest SMM panel for Instagram followers, likes, and views — with real results, fast delivery, and budget-friendly pricing. ✅ What Is an SMM Panel Instagram and Why Should You Care? An Instagram SMM panel is a specialized marketing tool that helps you grow your account faster by automating likes, followers, views, and even verification services. But not all SMM panels are created equal. GoUpSocial stands out because it offers: Safe and real SMM followers Instagram services High-retention SMM panel for Instagram views Instant Instagram likes SMM panel to boost engagement Smart Instagram comment like SMM panel to highlight key messages Trusted SMM panel Instagram blue tick strategies to increase verification chances All of this is delivered through an intuitive, user-friendly platform with 24/7 customer support. 📈 Instagram Followers Increase SMM Panel – Grow with Confidence If you’re looking for meaningful growth, the Instagram followers increase SMM panel is your go-to solution. GoUpSocial provides real followers, delivered gradually to keep your profile looking natural and compliant with Instagram’s algorithm. Whether you’re launching a business page or trying to build a fan base as a creator, more followers = more trust and more visibility. ❤️ Drive More Engagement with the Instagram Likes SMM Panel Instagram rewards popular posts with more visibility. That means more likes lead to more exposure. With the Instagram likes SMM panel, you can boost your post’s visibility instantly, increasing your chance of hitting the Explore page or going viral. If you're managing brand mentions or public feedback, the Instagram comment like SMM panel is perfect for pushing important comments to the top — ideal for testimonials, FAQs, or influencer interactions. 🎥 Don’t Miss Out on Views – Try the SMM Panel for Instagram Views Instagram is prioritizing video content more than ever. Whether it’s Reels, Stories, or feed videos, performance matters — and GoUpSocial’s SMM panel for Instagram views ensures you get noticed. Combined with the Instagram likes SMM panel, this powerful duo can significantly increase your profile’s reach and influence. Don’t just post content — get it seen. 🔵 Boost Verification Potential with SMM Panel Instagram Blue Tick Getting verified on Instagram isn’t easy — but it’s also not impossible. Instagram looks at follower count, engagement, and public presence. That’s where GoUpSocial’s SMM panel Instagram blue tick service can give you the edge. By growing your followers and interaction rates authentically, you increase your chances of being verified. It’s a smart, strategic move for influencers, entrepreneurs, and anyone seeking social credibility. ⚙️ Easy SMM Panel Instagram – Simplicity Meets Power Forget clunky dashboards or complicated processes. GoUpSocial provides an easy SMM panel Instagram interface that lets you: Place orders quickly Monitor real-time progress Manage multiple services effortlessly Choose from flexible packages Pay securely and safely Even if you're new to digital marketing, you’ll feel confident using this system. 💸 Cheapest SMM Panel for Instagram Followers, Likes, and Views Let’s talk about pricing — GoUpSocial is hands-down the cheapest SMM panel for Instagram followers, likes, and views that doesn’t compromise on quality. They offer: Low-cost follower packages Budget-friendly like boosts Affordable video views with high retention Targeted solutions to maximize ROI Ideal for students, startups, creators, and agencies alike. 🤝 Manage Clients Efficiently with the Instagram Reseller Panel If you’re a digital agency or freelancer, GoUpSocial’s Instagram reseller panel is a goldmine. You get access to all the same high-quality services at reseller prices — with API access, white-label delivery, and bulk order management. You can resell these services under your own brand and watch your revenue grow alongside your client base. 🎯 A Complete Growth System – Why GoUpSocial Wins There are many panels out there. But here’s why GoUpSocial consistently ranks as the best and cheap SMM panel for Instagram server: 🔒 Safe and compliant with Instagram’s systems ⚡ Fast and automatic delivery 💬 Real engagement from real users 🛠️ Easy-to-use platform for all experience levels 🧩 All-in-one panel for followers, likes, views, comments, and verification 💼 Reseller-ready for agencies and freelancers If you want a system that works, and works well — this is it. 👉 Ready to accelerate your Instagram growth? Sign up now at https://goupsocial.com and experience the easiest, most reliable, and cheapest SMM panel Instagram solution available today. Whether you're after likes, views, followers, or even a verified badge, GoUpSocial delivers everything you need — fast, safe, and with real impact. 🔥 Don’t wait — your Instagram success story starts here! 🔥
  • 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