Skip to content

[Share]You Cant Logout While Enchanting

Featured Replies

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)

and what will help that code? even if the player  logout while enchanting will something happen? dafuq

and what will help that code? even if the player  logout while enchanting will something happen? dafuq

  • Author

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

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

totally useless.

 

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

totally useless.

 

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

totally useless.

 

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

 

Locked.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.