Jump to content

Recommended Posts

Posted

someone friend told me this bug and work i find solution while you are active sub you cannot logout

 

### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 5768)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -15278,6 +15278,14 @@
				}
			}
		}
+		if (activeChar.isSubClassActive())
+		{
+			activeChar.logout();
+			activeChar.sendMessage("You cannot Logout while your subclass is active!");
+			return;
+			
+		}
+		
		if (getMountType() == 4)
		{
			// TODO: Remove when horse mounts fixed

 

Credits to me

Posted

This mean i am on sub,kill some mobs and i must to go, but i cant logout becouse i must to go town and change to main?

LOL'ed I can force logout with task manager, this silly code wont stop me
Posted

someone friend told me this bug and work i find solution while you are active sub you cannot logout

 

### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 5768)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -15278,6 +15278,14 @@
				}
			}
		}
+		if (activeChar.isSubClassActive())
+		{
+			activeChar.logout();
+			activeChar.sendMessage("You cannot Logout while your subclass is active!");
+			return;
+			
+		}
+		
		if (get-beep-tType() == 4)
		{
			// TODO: Remove when horse -beep-ts fixed

 

Credits to me

 

and wtf is this, i think that this should be on RequestExit or smth

Posted

someone friend told me this bug and work i find solution while you are active sub you cannot logout

 

### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 5768)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -15278,6 +15278,14 @@
				}
			}
		}
+		if (activeChar.isSubClassActive())
+		{
+			activeChar.logout();
+			activeChar.sendMessage("You cannot Logout while your subclass is active!");
+			return;
+			
+		}
+		
		if (get-beep-tType() == 4)
		{
			// TODO: Remove when horse -beep-ts fixed

 

Credits to me

i can describe your code with 2 words. BUGGY-WRONG.  :-beep- yeah:
Posted

i can describe your code with 2 words. BUGGY-WRONG.  :-beep- yeah:

 

its not buggy wrong the describe... the describe is lock this topic before a neabie puts this in his server. THIS CODE IS NONSE TRASHHHHHHHHHHH

Posted

someone friend told me this bug and work i find solution while you are active sub you cannot logout

 

### Eclipse Workspace Patch 1.0
#P L2J_Server_BETA
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(revision 5768)
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -15278,6 +15278,14 @@
				}
			}
		}
+		if (activeChar.isSubClassActive())
+		{
+			activeChar.logout();
+			activeChar.sendMessage("You cannot Logout while your subclass is active!");
+			return;
+			
+		}
+		
		if (get-beep-tType() == 4)
		{
			// TODO: Remove when horse -beep-ts fixed

 

Credits to me

 

and credits? You've stolen the idea from Sword Art Online!

 

Anyway SAO was better... it's really forced you to stay in game. :D

Posted

the code is a stupid trash, I cant understand what will trigger it... nothing... someone delete this trash...

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