Jump to content

Recommended Posts

Posted

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--

 

Posted

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!

Posted

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

Posted

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 ;)

Posted

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 ^^

Guest
This topic is now closed to further replies.



×
×
  • 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