Jump to content
  • 0

{HELP}l2j Off Compile


Gi0rg@rAS

Question

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]

Link to comment
Share on other sites

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

### 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..

Link to comment
Share on other sites

  • 0

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.

 

Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

e ne..sto C:/workspace to ekana :S

 

Kai tora sou leei oti auto to workspace den iparxei.

 

Loipon , den mporw na sinexisw na sou apantw se xazes erotiseis.Katse kai kane ksana compile akolouthontas ta bimata ena pros ena .

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...