valanths1990
-
Posts
517 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by valanths1990
-
-
-
to 127 sini8os to exoun sini8os oi masters, pragma pou simeni pws prepei na douleyoun ola ta commands asxetos an ta exei ri8misi i oxi
-
Nice share dude keep up your amazing work.....
-
simple but good, keep up ;)
-
thank you for your share, keep up the good work
-
ola einai mesa sta configs, to log apo to damage-trades-enchants ktlπος ανοιγω logs? :o
-
mporei den vazw kai to xeri mou sthn fwtia :Dκι ομως υπαρχουν τεσπα ακομα το ιδιο προβλημα εχεις?
-
opws eipe kai o pirama kane delete ta items kai anoikse ola ta logs na deis pws ta pairnei, ena bug pou kserw me hack programm einai me to loot ta petaei katw kai ta kanei loot, alla sthn ousia den ta petaei katw kai me afton ton tropo diplasiazonte, opote o monos tropos gia na to fix einai na anoiksei ola ta log apo ta items gia na deis pws ta pairnei kai na to fixsbistoyta apo to navicat kai kantoy ena dc apo to game
otan ksana mpi des ti tha kani kai pos ta perni
-
den yparxoun xalasmena file edits, osa exw katevasei mou work mia xara, alla an kaneis to paramikro lathos sto edit, px akoma kai ena space parapanw tote ksexna to system :P
-
file mou tha prepei na anoikseis to port sto firewall gia thn mysql kai na dhmiourghseis ena account, kai polu efkola kaneis install ena navicat sta windows kaneis connect sthn database sou kai kai to diaxirizesai etsi an milame fusika gia mixanima xwris GUI, an exei GUI exei etoimo navicat eite me script eite trexei meso tou wine elpizw na se voi8isa ;), oso gia to karma den endiaferomai :D
-
pare ena code gia afto pou zhthses, an exeis allo server px interlude, ktl ginete polu efkola addapt
Index: /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java =================================================================== --- /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java (revision 24) +++ /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/network/serverpackets/MultiSellList.java (revision 71) @@ -119,5 +119,5 @@ else { - writeH(0x00); // enchant level + writeH(ing.getEnchantLevel()); // enchant level writeD(0x00); // augment id writeD(0x00); // mana @@ -154,5 +154,5 @@ else { - writeH(0x00); // enchant level + writeH(ing.getEnchantLevel()); // enchant level writeD(0x00); // augment id writeD(0x00); // mana Index: /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java =================================================================== --- /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java (revision 24) +++ /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/PreparedEntry.java (revision 71) @@ -72,5 +72,5 @@ adenaA-beep-t += _taxA-beep-t; // do not forget tax if (adenaA-beep-t > 0) - _ingredients.add(new Ingredient(ADENA_ID, adenaA-beep-t, false, false)); + _ingredients.add(new Ingredient(ADENA_ID, adenaA-beep-t,0, false, false)); // now copy products Index: /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java =================================================================== --- /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java (revision 24) +++ /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/model/multisell/Ingredient.java (revision 71) @@ -30,4 +30,5 @@ private int _itemId; private long _itemCount; + private int _EnchantmentLevel; private boolean _isTaxIngredient, _maintainIngredient; @@ -35,8 +36,9 @@ private ItemInfo _itemInfo = null; - public Ingredient(int itemId, long itemCount, boolean isTaxIngredient, boolean maintainIngredient) + public Ingredient(int itemId, long itemCount,int EnchantmentLevel, boolean isTaxIngredient, boolean maintainIngredient) { _itemId = itemId; _itemCount = itemCount; + _EnchantmentLevel = EnchantmentLevel; _isTaxIngredient = isTaxIngredient; _maintainIngredient = maintainIngredient; @@ -80,5 +82,5 @@ public final int getEnchantLevel() { - return _itemInfo != null ? _itemInfo.getEnchantLevel() : 0; + return _itemInfo == null?_EnchantmentLevel:_itemInfo.getEnchantLevel(); } Index: /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java =================================================================== --- /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java (revision 52) +++ /trunk/L2J_Gameserver/java/com/l2jserver/gameserver/datatables/MultiSell.java (revision 71) @@ -270,4 +270,8 @@ if ("ingredient".equalsIgnoreCase(n.getNodeName())) { + int enchantmentLevel = 0; + if (n.getAttributes().getNamedItem("enchantmentLevel") != null) + enchantmentLevel = Integer.parseInt(n.getAttributes().getNamedItem("enchantmentLevel").getNodeValue()); + int id = Integer.parseInt(n.getAttributes().getNamedItem("id").getNodeValue()); long count = Long.parseLong(n.getAttributes().getNamedItem("count").getNodeValue()); @@ -286,12 +290,16 @@ mantainIngredient = false; - entry.addIngredient(new Ingredient(id, count, isTaxIngredient, mantainIngredient)); + entry.addIngredient(new Ingredient(id, count, enchantmentLevel, isTaxIngredient, mantainIngredient)); } else if ("production".equalsIgnoreCase(n.getNodeName())) { + int enchantmentLevel = 0; + if (n.getAttributes().getNamedItem("enchantmentLevel") != null) + enchantmentLevel = Integer.parseInt(n.getAttributes().getNamedItem("enchantmentLevel").getNodeValue()); + int id = Integer.parseInt(n.getAttributes().getNamedItem("id").getNodeValue()); long count = Long.parseLong(n.getAttributes().getNamedItem("count").getNodeValue()); - entry.addProduct(new Ingredient(id, count, false, false)); + entry.addProduct(new Ingredient(id, count, enchantmentLevel, false, false)); } }
to multisell tha prepei na exei afthn morfh:
<production id="15572" count="1" enchantmentLevel="25"/>
elpizw na se voi8isa ;)
-
ta kena den paizoun rolo file mou :) an eixe provlhma tha to evgaze sthn consola :Pan den exeis piraksi kati apo eclipse sta config dokimase na to grapsis etsi AllowedSubclass=3
xoris kena dld
@offtopic kairo eixame na se doume :P WB!
-
we cant test your protection system cause we dont have the system...
-
You must edit Die.java file in serverpackets if player is inside this zone _canTeleport = false i hope i help youcan you make that in this special zone to not apear the button "To village" ??
-
Just amazing, one of the best shares here.. keep it up ;)
-
yes with little adapt i thinkwalks in freya?
-
omg man this feature is already shared in l2jserver.com here is the download link: http://l2jserver.com/forum/download/file.php?id=4331
-
Great share bro...Keep up the good work!
-
interesting idea and nice code thanks for your share
-
thanks for your share keep up!!!
-
thanks for your share nice idea ;)
-
I wanna see too... 8)
-
to paidi zhthse na mporei na valei me ton admin ka8e x seconds na kanei to game aftomato announce afto pou 8a grapsei o admin kai oxi ka8e x seconds na leei tous online exei mia diafora pisteywΒασικά ο φανκυ του έδωσε ακριβώς αυτό που ζήτησε.
-
tou to ekana, kamia sxesh afto pou eipes fanky me afto pou zhthse
[help]
in Request Server Development Help [Greek]
Posted