naturalkillergr Posted August 14, 2009 Posted August 14, 2009 Pack?? l2jserver , l2jfree?..Credits? :S Im gonna test it now..(l2jserver - final gracia) btw. Nice idea!! thx :D
WizZy™ Posted August 14, 2009 Author Posted August 14, 2009 Credits are mine.. I made it for l2equal ,but feel free to edit it though :)
sweetparanoid Posted August 14, 2009 Posted August 14, 2009 For L2equal?? i Use This Pack xD .So Will Work Fine To Me :P But I will Compile Tomorow..
naturalkillergr Posted August 15, 2009 Posted August 15, 2009 You did something wrong i think here... -------------------------------- after it insert Code: PVP_CUSTOM_SKILL = Boolean.parseBoolean(altSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(ModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(altSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(altSettings.getProperty("PvPCustomSkillLV", "0")); -------------------------------- right?? ??? ??? ??? (EDIT) Doesnt work for l2j server final gracia..I did everything but i cant get the skill.. --------For L2j Server-------- (fix it please...i changed only l2jmods and other.) L2PcInstance.java Find this IncreasePvPKills; NOTE!: There are 2 increases for pvp's .. One is for war ,other is not ,we need the one who's not ,so the first one:) and after it add a new line and then if (getPvpKills() == Config.PVP_CUSTOM_SKILL_ID && getKnownSkill(Config.PVP_CUSTOM_SKILL_ID) == null && Config.PVP_CUSTOM_SKILL) addSkill(SkillTable.getInstance().getInfo(Config.PVP_CUSTOM_SKILL_ID, Config.PVP_CUSTOM_SKILL_LV)); Close & save. Go to Config.java find L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1")); after it insert PVP_CUSTOM_SKILL = Boolean.parseBoolean(L2JModSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillLV", "0")); find public static boolean AUTO_LEARN_SKILLS; and insert below it public static boolean PVP_CUSTOM_SKILL; /** Custom PvP skill */ public static int PVP_CUSTOM_SKILL_ID; /** Custom PvP skill ID */ public static int PVP_CUSTOM_SKILL_LV; /** Custom PvP skill Level */ public static int PVP_CUSTOM_SKILL_P; /** Custom PvP skill Points */ And finaly in the l2jmods.properties file find # Mana Potion (item ID 728), using skill ID 9008. EnableManaPotionSupport = false #============================================================== # Custom PvP Skill Configuration = #============================================================== #Should we put it on? PvPCustomSkill = True #The skill ID that will be added to players PvPCustomSkillID = 200 #What level the skill will be? PvPCustomSkillLV = 2 #How much points the player need to get it? PvPCustomSkillP = 0 --Someone fix it...Im not very experienced :S--
WizZy™ Posted August 15, 2009 Author Posted August 15, 2009 PVP_CUSTOM_SKILL = Boolean.parseBoolean(L2JModSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(L2JModSettingsL2JModSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(.getProperty("PvPCustomSkillLV", "0")); you have an error here.The last line.. You deleted the property's and you doublepasted a thing do it like this PVP_CUSTOM_SKILL = Boolean.parseBoolean(L2JModSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillLV", "0")); and you wont have problems :) P.S. Guide updated :) Check it!
naturalkillergr Posted August 15, 2009 Posted August 15, 2009 PVP_CUSTOM_SKILL = Boolean.parseBoolean(L2JModSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(L2JModSettingsL2JModSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(.getProperty("PvPCustomSkillLV", "0")); you have an error here.The last line.. You deleted the property's and you doublepasted a thing do it like this PVP_CUSTOM_SKILL = Boolean.parseBoolean(L2JModSettings.getProperty("PvPCustomSkill", "False")); PVP_CUSTOM_SKILL_P = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillPoint", "0")); PVP_CUSTOM_SKILL_ID = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillID", "0")); PVP_CUSTOM_SKILL_LV = Integer.parseInt(L2JModSettings.getProperty("PvPCustomSkillLV", "0")); and you wont have problems :) P.S. Guide updated :) Check it! Omg LoL Soz :P fu*** ctrl + v xD doesnt work ... that was copy-paste error ;D sorry my english sucks a bit xD
Korlash Posted August 15, 2009 Posted August 15, 2009 Plz make for L2J CT2.2 and create a patch cuz increasePvpKills(); i see 3 plz Up thanks for the share but more detail thanks
WizZy™ Posted August 15, 2009 Author Posted August 15, 2009 Plz make for L2J CT2.2 and create a patch cuz increasePvpKills(); i see 3 plz Up thanks for the share but more detail thanks Someone didnt read the whole topic ;)
Horus Posted August 15, 2009 Posted August 15, 2009 Leeroy I'm pretty sure you got that code from somewhere in here (Maybe it was because I made it for someone else in the help section lool) and you didn't even bother to change the note,you just copied / paste. Thats not funny at all ^^
Recommended Posts