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

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.



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