Jump to content

Ta®oS™

Members
  • Posts

    190
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Ta®oS™

  1. prospathisa na kanw adapt kapoion java code kai afou teleiwsa exw 2 errors kai den kserw ti na kanw gia na ta diorthoso apantise mou plz sto proto error patisa eki pou leei Import VoiceKino kai sto deutero atisa ekei pou leei create method. den vgazei alo errors ekana compile mpeika sto l2 ola einai miaxara trexei to kino xwris provlimata paizw ta noumera pou thelw kai enw kerdizw poianw 4sta4 noumera kai me dinei kai to reward kanonika sto announcements leei There are no Winners!
  2. ean den mporoume na kanoume kati me auto toulaxiston kapoio npc pou na poulaei ta skills pou thelw egw ?
  3. oti den douleuoun ta reward pou exw balei ekana kanonika compile kai sto eclipse den bgazei errors ruthmizw ta pvp to id kai to level apo to skill alla den mou to dunei
  4. exw auton edw ton kwdika alla den douleuei katholou oute to 1o reward oute to 2o oute kanena enw exw kanonika ta pvp pou xreiazwntai kai sto gameserver console den bgazei kapoio problima ola trexoun kanonika ti mpwrei na ftaiei ? configs + +#Set true to enable the pvp skill reward system +EnablePvPSkillReward = false + +#Set pvp count for the 1st pvp skill to be awarded +1stSkillPvPCount = 100 + +#Set pvp count for the 2nd pvp skill to be awarded +2ndSkillPvPCount = 200 + +#Set pvp count for the 3rd pvp skill to be awarded +3rdSkillPvPCount = 300 + +#Set pvp count for the 4th pvp skill to be awarded +4thSkillPvPCount = 400 + +#Set pvp count for the 5th pvp skill to be awarded +5thSkillPvPCount = 500 + +#Set the id of the 1st skill awarded +1stPvPSkill = 1 + +#Set the level of the 1st skill awarded +1stPvPSkillLvl = 1 + +#Set the id of the 2nd skill awarded +2ndPvPSkill = 2 + +#Set the level of the 2nd skill awarded +2ndPvPSkillLvl = 2 + +#Set the id of the 3rd skill awarded +3rdPvPSkill = 3 + +#Set the level of the 3rd skill awarded +3rdPvPSkillLvl = 3 + +#Set the id of the 4th skill awarded +4thPvPSkill = 4 + +#Set the level of the 4th skill awarded +4thPvPSkillLvl = 4 + +#Set the id of the 5th skill awarded +5thPvPSkill = 5 + +#Set the level of the 5th skill awarded +5thPvPSkillLvl = 5 Config.java @@ -525,6 +525,23 @@ public static Map<Integer, Integer> CLAN_SKILLS; public static byte CLAN_LEVEL; public static int REPUTATION_QUANTITY; + + public static boolean PVP_SKILL_REWARD_ENABLED; + public static int PVP_SKILL1; + public static int PVP_SKILL2; + public static int PVP_SKILL3; + public static int PVP_SKILL4; + public static int PVP_SKILL5; + public static int PVP_SKILL_LVL1; + public static int PVP_SKILL_LVL2; + public static int PVP_SKILL_LVL3; + public static int PVP_SKILL_LVL4; + public static int PVP_SKILL_LVL5; + public static int COUNT_PVP_1ST; + public static int COUNT_PVP_2ND; + public static int COUNT_PVP_3RD; + public static int COUNT_PVP_4TH; + public static int COUNT_PVP_5TH; REPUTATION_QUANTITY = Integer.parseInt(L2JFrozenettings.getProperty("ReputationScore", "10000")); + PVP_SKILL_REWARD_ENABLED = Boolean.valueOf(L2JFrozenettings.getProperty("EnablePvPSkillReward", "false")); + COUNT_PVP_1ST = Integer.parseInt(L2JFrozenettings.getProperty("1stSkillPvPCount", "100")); + COUNT_PVP_2ND = Integer.parseInt(L2JFrozenettings.getProperty("2ndSkillPvPCount", "200")); + COUNT_PVP_3RD = Integer.parseInt(L2JFrozenettings.getProperty("3rdSkillPvPCount", "300")); + COUNT_PVP_4TH = Integer.parseInt(L2JFrozenettings.getProperty("4thSkillPvPCount", "400")); + COUNT_PVP_5TH = Integer.parseInt(L2JFrozenettings.getProperty("5thSkillPvPCount", "500")); + PVP_SKILL1 = Integer.parseInt(L2JFrozenettings.getProperty("1stPvPSkill", "1")); + PVP_SKILL2 = Integer.parseInt(L2JFrozenettings.getProperty("2ndPvPSkill", "2")); + PVP_SKILL3 = Integer.parseInt(L2JFrozenettings.getProperty("3rdPvPSkill", "3")); + PVP_SKILL4 = Integer.parseInt(L2JFrozenettings.getProperty("4thPvPSkill", "4")); + PVP_SKILL5 = Integer.parseInt(L2JFrozenettings.getProperty("5thPvPSkill", "5")); + PVP_SKILL_LVL1 = Integer.parseInt(L2JFrozenettings.getProperty("1stPvPSkillLvl", "1")); + PVP_SKILL_LVL2 = Integer.parseInt(L2JFrozenettings.getProperty("2ndPvPSkillLvl", "2")); + PVP_SKILL_LVL3 = Integer.parseInt(L2JFrozenettings.getProperty("3rdPvPSkillLvl", "3")); + PVP_SKILL_LVL4 = Integer.parseInt(L2JFrozenettings.getProperty("4thPvPSkillLvl", "4")); + PVP_SKILL_LVL5 = Integer.parseInt(L2JFrozenettings.getProperty("5thPvPSkillLvl", "5")); L2PcInstance.java _pvpKills = pvpKills; } + public void PvPSkillReward() + { + if (getPvpKills() >= Config.COUNT_PVP_1ST) + { + addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILL1, Config.PVP_SKILL_LVL1)); + } + else if (getPvpKills() >= Config.COUNT_PVP_2ND) + { + addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILL2, Config.PVP_SKILL_LVL2)); + } + else if (getPvpKills() >= Config.COUNT_PVP_3RD) + { + addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILL3, Config.PVP_SKILL_LVL3)); + } + else if (getPvpKills() >= Config.COUNT_PVP_4TH) + { + addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILL4, Config.PVP_SKILL_LVL4)); + } + else if (getPvpKills() >= Config.COUNT_PVP_5TH) + { + addSkill(SkillTable.getInstance().getInfo(Config.PVP_SKILL5, Config.PVP_SKILL_LVL5)); + } + } + + if(Config.PVP_SKILL_REWARD_ENABLED) + { + PvPSkillReward(); + } + // apply augmentation bonus for equipped items for (L2ItemInstance temp : this.getInventory().getAugmentedItems())
  5. pws mporw na parw to latest revision apo ena project ? mono update to head thelei kai build ? tipota alo ?
  6. ta exw kanei ola reload kai tipota .. ti na sigoureutw gia to sql afou lew oti douleue prin mia ebdomada mia xara
  7. tin proigoumeni ebdomada douleue kanonika i buffer
  8. prin mia ebdomada i buffer douleue mia xara kai tora me bgazei problima... molis pataw sto npc me bgazei auto edw You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements
  9. to exw dokimasei kai xanw pontous etsi otan anoigw to torrent kwlaei kai merikes fwres me petaei xwris na xasw pontous
  10. kalispera paidia paizw pro13 sto internet kai uparxei ena kolpaki kathe fwra pou kerdizw oi ali kanoun mia malakia kai kwvoun tin sundesi tous sto internet kai tous kanei aposundesi kai akurwnete to paixnidi xwris na kerdisw pontous kai oute autoi xanoun pontous kserei kaneis pws gunete auto ? logika katevazoun kati apo to inernet kai kwlaei i sundesi tous uparxei kana programmati pou na ruxnei tin sundesi mou apo to inernet ? duladi na kwlaei apisteuta gia na kanw kai egw to idio
  11. sorry gia to double post alla sto init.py eixe sto NPC_ID = 555 eno sto ID tou NPC einai 5555 to alaksa kai to NPC_ID kai to QUEST_ID kai molis pataw stin buffer na anoiksei trow critical error
  12. file auto pou les na brw den uparxei mesa sto .py gia ta imports auta edw exei import sys from java.lang import System; from java.util import Iterator; import com.l2jfrozen.Config; from com.l2jfrozen.gameserver.model.quest import State; from com.l2jfrozen.gameserver.model.quest import QuestState; from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest; from com.l2jfrozen.util.database import L2DatabaseFactory; from com.l2jfrozen.gameserver.datatables import SkillTable; import com.l2jfrozen.gameserver.datatables.sql.ItemTable; from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance; from com.l2jfrozen.gameserver.model.actor.instance import L2PetInstance; from com.l2jfrozen.gameserver.model.actor.instance import L2SummonInstance; from com.l2jfrozen.gameserver.network.serverpackets import SetSummonRemainTime; from com.l2jfrozen.gameserver.network.serverpackets import SetupGauge; ta alaksa alla pali to idio provlima
  13. den ginete na perasoume tin teleutea ?
  14. kalimera paidia exw perasei mia apli buffer kai me bgazei auto to problima auti edw i buffer einai pou exei to pack tou frozen oti kai na pateisw me klunei to parathuro kai den me vgazei kanena problima stin console http://i40.tinypic.com/2zhi4wg.png[/img] kai prospathia na perasw autin edw tin buffer http://maxcheaters.com/forum/index.php?topic=273542.0 kai me bgazei problima http://i43.tinypic.com/2aqp9y.png[/img]
  15. kalimera. kserei kaneis ean sto frozen pack exoun perasei to phoenix event engine ? legane oti tha to valoune .
  16. ama thes na guneis mpatsos nai tha exeis provlima ean oxi den kwlane pouthena oi mpatsoi kai den mporoun na se kanoun tpt
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock