Jump to content
  • 0

code code code


SQL Developer

Question

Kalhspera loipon as to piasw apo thn arxh
exw kanei download to ready pack tou frozen kai oxi me eclipse
vrika enan kodiko 
[code
### Eclipse Workspace Patch 1.0
#P Chr.6GMS
Index: java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java	(working copy)
@@ -237,6 +237,11 @@
                        }
                        item.setEnchantLevel(item.getEnchantLevel()+1);
                        item.updateDatabase();
+
+                      if(item.getEnchantLevel() == 16)
+                                     for(L2PcInstance j : L2World.getInstance().getAllPlayers())
+            			if(j != null && j != activeChar)
+            				j.sendMessage("Congratulations,"+j.getName()+" successful
enchanted "+item.getItem().getName()+"+16"); 
                                     }
                          }
else

kai thelw na ton valw ston server mou,loipon anoi3a to eclipse ekana ta panta,perasa ton kodiko ekei pou prepei kai ekana run as ant 1 oste na apothikefti to gameserver,o kodikos pou perasa omws se poio arxeio vriskete akrivos sto workspace mou giati den mporo na valw olokliro to gameserver epidi sto allo exw kanei para pola pragmata kai se poia topothesia sto pack mou to vazw? euxaristo

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...