Snoopi Posted December 17, 2009 Posted December 17, 2009 HeLLo mages ali mia fora 8a xriazto tin megali boi8ia tou mxc exo to e3is problem: otan bazoune to oplo me to agoument skill kai kanoune to buff p.x kai alazoune oplo to buff meni ti kano tora? :) kana java arxio i kana script i kati sta configs kait mages :) to pack einai l2jofficial
0 Lucky Dice Posted December 17, 2009 Posted December 17, 2009 Πρωτη Φορα το Ακουω αυτο. Κανε Report στο Forum του Project.
0 Flash™ Posted December 17, 2009 Posted December 17, 2009 HeLLo mages ali mia fora 8a xriazto tin megali boi8ia tou mxc exo to e3is problem: otan bazoune to oplo me to agoument skill kai kanoune to buff p.x kai alazoune oplo to buff meni ti kano tora? :) kana java arxio i kana script i kati sta configs kait mages :) to pack einai l2jofficial den einai tpt ayto aplos prepei na to fix me java code..
0 Lucky Dice Posted December 17, 2009 Posted December 17, 2009 den einai tpt ayto aplos prepei na to fix me java code.. δεν γινετε αυτο. και για πες τι java code ?
0 Flash™ Posted December 18, 2009 Posted December 18, 2009 oriste file epsaza sto svn mou kai to brika Index: trunk/L2jGracia_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java =================================================================== --- a/trunk/L2jGracia_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java +++ b/trunk/L2jGracia_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java @@ -177,5 +177,40 @@ if (itemId == 57) return; - + + L2Weapon curwep = activeChar.getActiveWeaponItem(); + if (curwep != null) + { + if ((curwep.getItemType() == L2WeaponType.DUAL) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + else if ((curwep.getItemType() == L2WeaponType.BOW) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + else if ((curwep.getItemType() == L2WeaponType.BIGBLUNT) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + else if ((curwep.getItemType() == L2WeaponType.BIGSWORD) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + else if ((curwep.getItemType() == L2WeaponType.POLE) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + else if ((curwep.getItemType() == L2WeaponType.DUALFIST) && (item.getItemType() == L2WeaponType.NONE)) + { + activeChar.sendMessage("You are not allowed to do this."); + return; + } + } + if (activeChar.isFishing() && (itemId < 6535 || itemId > 6540)) {
Question
Snoopi
HeLLo mages ali mia fora 8a xriazto tin megali boi8ia tou mxc
exo to e3is problem:
otan bazoune to oplo me to agoument skill kai kanoune to buff p.x kai alazoune oplo to buff meni
ti kano tora? :)
kana java arxio i kana script i kati sta configs kait mages :)
to pack einai l2jofficial
8 answers to this question
Recommended Posts