Jump to content

ExCaLiBuR®

Members
  • Posts

    3,654
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ExCaLiBuR®

  1. logika tha ftaiei to system. dokimase na valeis ena katharo system kai des ean sou emfanizete ksana to idio provlima ean nai tote kati peirakses apo ta configs alla logo duskolo to kovo. anoikse to servername-e.dat me FileEdit kai dokimase na sviseis apo ekei ta servernames pou exei kai afise mono to prwto krata kai ena backup
  2. http://pastebin.com/b2FCGS3m systemmsg.dat 3001 1 a,Your PC Bang Point had doubled.\0 0 22 AA EE FF a, a, 8 0 5 1 0 a,Your PC Bang Point had doubled.\0 a,none\0 3002 1 a,You recevied PC Bang Point.\0 0 22 AA EE FF a, a, 8 0 5 1 0 a,You recevied PC Bang Point.\0 a,none\0
  3. lol poli periergo prwti fwra to vlepw auto edw to provlima. ti project exeis ? epeisis oi server pou einai offline exoun kapoio custom name ? diladi l2mplampla i exoun onoma Bartz Sieghardt Kain kai tetoia
  4. I can add resources in facebook games. Dark Warriors ~ I can add Gems,Gold,Food and Xp Social Empires ~ I can add Cash and Gold Social Wars ~ I can add Cash,Gold,Wood,Steel,Oil and Xp Dragon City ~ I can add Gold,Xp,Gems,Food and Dragons Social Park ~ I can add Gems,Gold and Xp FarmVille2 ~ I can add Level,Coins and Items for more info pm me or post here
  5. to surrender of water einai swsto. gia na dwsei to buff se kapoion alon char prepei na einai kai oi 2o sto idio party ama thes na to alakseis peirakse auto edw <set name="target" val="TARGET_PARTY"/> kai kantw etsi <set name="target" val="TARGET_SELF" /> ama thes na peirakseis tis pithanotites apo kapoio skills peirazeis auto edw <set name="power" val="80"/> alazeis to 80 diladi exei 80% pithanotites i to meiwneis i to auksaneis gia to song of vengeance peirazeis auta edw <add order="0x40" stat="reflectDam" val="20"/> alazeis to 20 kai gia to chant of revenge einai pali to idio peirazeis auto <add order="0x40" stat="reflectDam" val="20"/> to 20
  6. postare edwpera ta skills na ta dw. den eimai sto spiti kai den mporw na ta dw apo to pack mou.
  7. to organize imports den douleuei pantou. prepei na diwrthwseis ta error sta imports pou exeis. twra sta vgazei giati den einai swsti i dieuthnisi
  8. des ama thes na kaneis compile tote akoloutheis ton odigo pou sou edwse o alos. ama pairases apla ena java code kai thes na peraseis kai sto pack sou pas sto workspace ston fakelo core ka pairneis to .jar arxeio pou uparxei ekei eksw mpwrei na min legete l2jfrozen.jar alla kapws aliws.
  9. lol afou eixa apantisei edw. tespa pas sto workspace kai pairneis to l2jfrozen.jar kai to vazeis sta libs apo to pack sou
  10. alakse ta imports kai opou se vgazei error postaretw edw
  11. exw ta windows 8.1 pro. stin arxi eitan ligo periploka alla twra mia xara. vasika to menu moiazei me to menu pou exei ena windows phone.
  12. pou kwlas ? dialegeis to modem pou exeis epilegeis kai to l2 kai se duxnei kanonika pws na anoikseis ta ports
  13. svise autin edw tin grammi if (!last.equals(curr)) den kserw ean tha doulepsei kane ena test
  14. autoi oi poloi einai apo palia. prin 1xrono eixe mpei o aderfos mou eixe valei 1 atomo kai eimoun aitimos na mpw kai egw. apla eimoun sto strato kai tha mporousa na asxoleithw meta apo 6 mines to esvise to logariasmo giati den gunotan na plurwnei munoiaia sundromi kai den mporouse na vrei atoma. oloi ton elegan oti tha doune. ase pou den tous periseuan kai 280euro gia tin eggrafi
  15. enas kwnstantinos (epitheto den thumame) spoudaze mazoi me mia gnwsti mou vgazei sxedon 50xiliarika ton mina einai o megaliteros se oli tin ellada exei kseperasei kai ton andrea mama ton kuprio. eitan o prwtos pou to efere stin ellada kai stin kupro oloi stin ellada kai stin kupro einai katw apo ta podia tou. osoi mpeikan palia kai kataferan na valoun 6 atoma autoi eitan oi tuxeroi kai exoun vgalei arketo xrima. pleon omws pisteuw oti einai arga
  16. kane oti leei o odigos pou sou esteila to prwto link. stin photo pou lupei ekei pera duxnei oti dialegeis to Workspace twra tha paisw gia upno ean mexri aurio den to exeis kanei tha sto kanw me tv
  17. --- gameserver/config/functions/l2jfrozen.properties (revision 938) +++ gameserver/config/functions/l2jfrozen.properies (working copy) +# Default : False +AllowOllyGradeS = False --- gameserver/head-src/com/l2jfrozen/Config.java (revision 938) +++ gameserver/head-src/com/l2jfrozen/Config.java (working copy) + public static boolean OLLY_GRADE_A; + OLLY_GRADE_A = Boolean.parseBoolean(L2JFrozenSettings.getProperty("AllowOllyGradeS", "False")); --- gameserver/head-src/com/l2jfrozen/gameserver/model/entity/olympiad/L2OlympiadGame.java (revision 938) +++ gameserver/head-src/com/l2jfrozen/gameserver/model/entity/olympiad/L2OlympiadGame.java (working copy) for(L2Skill skill : player.getClan().getAllSkills()) player.removeSkill(skill, false); } + + if(!Config.OLLY_GRADE_A) { + checkItems(player); + } //Abort casting if player casting if(player.isCastingNow()) --- gameserver/head-src/com/l2jfrozen/gameserver/model/entity/olympiad/Olympiad.java (revision 938) +++ gameserver/head-src/com/l2jfrozen/gameserver/model/entity/olympiad/Olympiad.java (working copy) return true; { noble.sendMessage("You can't participate to Olympiad. You are in Observer Mode"); return false; } + if(!Config.OLLY_GRADE_A) { + checkItems(noble); + } if(noble.getBaseClass() != noble.getClassId().getId()) { sm = new SystemMess } /** * @param noble */ + protected void checkItems(L2PcInstance player){ + L2ItemInstance item; + int slot; + for(int i=1; i < 15; i++){ + item = player.getInventory().getPaperdollItem(i); + if(item==null) + continue; + if(item.getItem().getItemGrade() == L2Item.CRYSTAL_S){ + slot = item.getItem().getBodyPart(); + switch(item.getEquipSlot()) { + case 1: + slot = L2Item.SLOT_L_EAR; + break; + case 2: + slot = L2Item.SLOT_R_EAR; + break; + case 4: + slot = L2Item.SLOT_L_FINGER; + break; + case 5: + slot = L2Item.SLOT_R_FINGER; + break; + case 6: + slot = L2Item.SLOT_UNDERWEAR; + break; + default: + break; + } + + L2ItemInstance[] items = player.getInventory().unEquipItemInBodySlotAndRecord(slot); + InventoryUpdate iu = new InventoryUpdate(); + iu.addItems(Arrays.asList(items)); + player.sendPacket(iu); + } + } + player.sendPacket(new ItemList(player, true)); + player.broadcastUserInfo(); + } public boolean isRegistered(L2PcInstance noble) { if(_nonClassBasedRegisters == null) return false; --- gameserver/head-src/com/l2jfrozen/gameserver/network/clientpackets/UseItem.java (revision 938) +++ gameserver/head-src/com/l2jfrozen/gameserver/network/clientpackets/UseItem.java (working copy) @@ -155,6 +156,12 @@ // Items that cannot be used if(itemId == 57) return; + if(!Config.OLLY_GRADE_A && item.getItem().getItemGrade() == L2Item.CRYSTAL_S && + (activeChar.isInOlympiadMode() || Olympiad.getInstance().isRegistered(activeChar))){ + activeChar.sendMessage("Olympiad: Items Grade S cannot be used in Olympiad Event"); + return; } if((itemId == 5858) && (ClanHallManager.getInstance().getClanHallByOwner(activeChar.getClan()) == null)) { o kwdikas einai mono gia A grade twra gia auto pou zeitas den nomizw na exei gunei share. gia na min pedeuesai anevase ta stats apo tin fighter A grade stoli
×
×
  • Create New...