Jump to content

[Share]You Cant Logout While Enchanting


Recommended Posts

Hello again share one easy code go to

/gameserver/network/clientpackets/RequestRestart.java

 

and find this

         player.getInventory().updateDatabase();

 

and over this pass this here

 

-	         
+	    
+		if (player.getActiveEnchantItem() != null)
+		{
+			player.sendMessage("You cant logout while enchanting!");
+			return;
+		}
+		

 

ie will thus become

 

			         
    
	if (player.getActiveEnchantItem() != null)
	{
		player.sendMessage("You cant logout while enchanting!");
		return;
	}

         player.getInventory().updateDatabase();

         if (player.getPrivateStoreType() != 0)

Link to comment
Share on other sites

Oneiric the credits its me

 

Demy and Amphetamine if you dont like my easy coding plz dont spam

iam new in java and i need to learn

ok accepted but dont post bullshits like that here it is useless(friendly)

btw keep learning

Link to comment
Share on other sites

totally useless.

 

i understand that you are new , but learn to make usefull scripts. these are just some checks that will never help.

 

Locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...