Jump to content

Recommended Posts

Posted

where i place i have a bad english >_<

 

plz place the code in incressespvp

I said dont post if you dont know a shit of java.Just find the first IncreasePvPKills; and place it there.

 

//end

Posted

Leeroy watch your tongue.

If you want the Thread to maintain open please stick to the point, don't start a flaming thread.

Posted

leeroy, have 1 question, with this cade, u can duplicate them, tho get from 1000, 2000, 3000, etc pvps, 1 custom skill? or only can get 1 skill??

Ofcourse you can duplicate it, just make sure you do it right.

Posted

Yeah as horus said you can.But look .. You gotta make a new configs ,but if u're bored ,you can use something like :

if (getPvpKills() == 1000 && getKnownSkill(ID) == null)

 addSkill(SkillTable.getInstance().getInfo(ID, LVL));

right after your old one.

So it has to be like :

			increasePvpKills();
		if (getPvpKills() == Config.PVP_CUSTOM_SKILL_P && 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));
		if (getPvpKills() == 1000 && getKnownSkill(123) == null)
			  addSkill(SkillTable.getInstance().getInfo(123, 123));
		if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL )Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName());
		return;
	}
	else
	{
		// check about wars

 

It wont give an error at all.But its not configurable ,so you gotta edit core if you wanna change it ^^ Pretty easy though.

Posted

ok i will try this, mayb

Yeah as horus said you can.But look .. You gotta make a new configs ,but if u're bored ,you can use something like :

if (getPvpKills() == 1000 && getKnownSkill(ID) == null)

  addSkill(SkillTable.getInstance().getInfo(ID, LVL));

right after your old one.

So it has to be like :

			increasePvpKills();
		if (getPvpKills() == Config.PVP_CUSTOM_SKILL_P && 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));
		if (getPvpKills() == 1000 && getKnownSkill(123) == null)
			  addSkill(SkillTable.getInstance().getInfo(123, 123));
		if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL )Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName());
		return;
	}
	else
	{
		// check about wars

 

It wont give an error at all.But its not configurable ,so you gotta edit core if you wanna change it ^^ Pretty easy though.

hehe ok, i will try it :)

 

thanks

Guest
This topic is now closed to further replies.



  • Posts

    • There is a ready-made option and the possibility to work according to "Wishlist"
    • Contact me, Discord: xbaus
    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

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