Skip to content

{HELP}l2j Off Compile

Featured Replies

hi pedes molis ekana compile l2j off pack [inderlude] kai elegksa to trade bug me to alt+h kai pianei  :'( pws ginete na to fixari?[apo eclipse ime asxetos apla mono compile kserw na fix bugs oxi :S]

y ta kserw ala den kserw pos kai pou na ta valw..:S

 

( + ) Prosthetis tis grammes

 

( - ) Afaireis tis grammes

  • Author

( + ) Prosthetis tis grammes

 

( - ) Afaireis tis grammes

sto + omws pou tis pros8etw?:S ekei pou afero tis ales?

sto + omws pou tis pros8etw?:S ekei pou afero tis ales?

 

Merikes - grammes exoun ginei edit apo tis + . ara nai.

 

An oxi , tha prepei na kaneis search sto eclipse gia to pou na prostheseis autes tis grammes.

  • Author

### Eclipse Workspace Patch 1.0
#P L2J-Archid-Game
Index: src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java	(revision 1060)
+++ src/main/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java	(working copy)
@@ -26,6 +26,7 @@
import com.l2jarchid.gameserver.model.actor.instance.L2PcInstance;
import com.l2jarchid.gameserver.network.SystemMessageId;
import com.l2jarchid.gameserver.network.basepackets.L2GameClientPacket;
+import com.l2jarchid.gameserver.network.serverpackets.ActionFailed;
import com.l2jarchid.gameserver.network.serverpackets.EnchantResult;
import com.l2jarchid.gameserver.network.serverpackets.InventoryUpdate;
import com.l2jarchid.gameserver.network.serverpackets.ItemList;
@@ -78,6 +79,14 @@
    	    return;
    	}
    	
+    	
+    	if (activeChar.getActiveTradeList() != null)
+    	{
+    	activeChar.sendPacket(ActionFailed.STATIC_PACKET);
+    	activeChar.sendMessage("You Cannot Enchant While Trading!");
+    	return;
+    	}
+    	
        if(item.isWear())
        {
            Util.handleIllegalPlayerAction(activeChar,"Player "+activeChar.getName()+" tried to enchant a weared Item", IllegalPlayerAction.PUNISH_KICK);

Dld edw ti kanw?:S den ktlva..

Briskeis auto :

 


import com.l2jarchid.gameserver.network.basepackets.L2GameClientPacket;

 

Apo katw bazeis auto :

 

import com.l2jarchid.gameserver.network.serverpackets.ActionFailed;

 

Meta , briskeis auto :

 

if(item.isWear())

 

Kai kaneis add panw apo auto , autes tis grammes :

 


+    	
+    	if (activeChar.getActiveTradeList() != null)
+    	{
+    	activeChar.sendPacket(ActionFailed.STATIC_PACKET);
+    	activeChar.sendMessage("You Cannot Enchant While Trading!");
+    	return;
+    	}
+    	

 

Compile kai eisai etimos.

 

  • Author

Briskeis auto :

 


import com.l2jarchid.gameserver.network.basepackets.L2GameClientPacket;

 

Apo katw bazeis auto :

 

import com.l2jarchid.gameserver.network.serverpackets.ActionFailed;

 

Meta , briskeis auto :

 

if(item.isWear())

 

Kai kaneis add panw apo auto , autes tis grammes :

 


+    	
+    	if (activeChar.getActiveTradeList() != null)
+    	{
+    	activeChar.sendPacket(ActionFailed.STATIC_PACKET);
+    	activeChar.sendMessage("You Cannot Enchant While Trading!");
+    	return;
+    	}
+    	

 

Compile kai eisai etimos.

 

otan les compile enoeis save?

otan les compile enoeis save?

 

Save to arxeio kai run as ant build ¬¬

  • Author

re afou exw kanei compile to pack paw..na aniksw eclipse gia na valo ton kodiko pou me ipes kai ekei pou dialego to workspace pataw ok kai me bgazei auto :S:98797682.png

Poooo -.-'

 

Pou exeis balei to default location tou workspace sou?

  • Author

Poooo -.-'

 

Pou exeis balei to default location tou workspace sou?

me liga logia pio arxio enoeis?:P

 

me liga logia pio arxio enoeis?:P

 

 

Otan ekanes install to eclipse kai to anikses gia proti fora sou zitise na baleis ena default location gia to workspace sou.

 

Ekei pou tha kanei save ta arxeia otan kaneis to compile kai ta diafora java edits.

  • Author

Otan ekanes install to eclipse kai to anikses gia proti fora sou zitise na baleis ena default location gia to workspace sou.

 

Ekei pou tha kanei save ta arxeia otan kaneis to compile kai ta diafora java edits.

e ne..sto C:/workspace to ekana :S
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.