Jump to content

Recommended Posts

Posted

Try this, if u don't have.

Index: /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java
===================================================================
--- /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java (revision 2)
+++ /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java (revision 13)
@@ -70,4 +70,6 @@
	public byte packetsSentInSec = 0;
	public int packetsSentStartTick = 0;
+	
+	private boolean _isDetached = false;

	public L2GameClient(MMOConnection<L2GameClient> con)
@@ -168,5 +170,15 @@
		gsp.runImpl();
	}
-
+	
+	public boolean isDetached()
+	{
+		return _isDetached;
+	}
+
+	public void setDetached(boolean b)
+	{
+		_isDetached = b;
+	}
+	
	public L2PcInstance markToDeleteChar(int charslot) throws Exception
	{

Now i will test it, but Detached must be something in Offline Trade Chat
Posted

Actually it was:

if (player != null)
				{

					if (!player.isInOlympiadMode().....

and I changed to:

if (player != null && !isDetached())
				{
				    setDetached(true);
					if (!player.isInOlympiadMode()

Now it's ok.. Thanks for your help

Posted

Hello, guys. I was wondering how could i make all offline characters to be saved and loaded, before and after server restart. If any suggestions pop up, lemme know. Thanks in advance!

Posted

Hello, guys. I was wondering how could i make all offline characters to be saved and loaded, before and after server restart. If any suggestions pop up, lemme know. Thanks in advance!

a restore manager by config.key can do that , pm me with your email and I will help you to do it.
  • 3 months later...
  • 1 month 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



×
×
  • 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