Jump to content
  • 0

[Help] Clan Accademy


Question

Posted

Hello everyone .

I would like to know how I can de-activate the Clan's Accademy Repputation.

Actually i am wanting my players not to earn free clan repputation by accademy, as soon as it's a uber-high rate server.

 

If someone has information about this thing, i would like to know it asap, because actually i am keeping my server offline, just for this issue :(

 

Your help is rreally apprichiated.

Thank you in advance

John

3 answers to this question

Recommended Posts

  • 0
Posted

You can search at our java file ... gameserver/model/actor/instance at L2VIllageMaster.java

 

 

You can found those line and edit them....!!

 

else if (actualCommand.equalsIgnoreCase("increase_clan_level"))
	{
		if (!player.isClanLeader())
		{
			player.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT);
			return;
		}
		player.getClan().levelUpClan(player);
	}
	else if (actualCommand.equalsIgnoreCase("learn_clan_skills"))
	{
		showPledgeSkillList(player);
	}

 

 

You can check the clantable.java to ...! I never tried those ...!!

  • 0
Posted

I wish to to thank you very much .

I will try to do what you said.

 

Anyways, if someone could give me a comfirmation of what is said above, it would be great. ( im not that good with java too .. unfortunately :( )

 

As i said, Thank you ! :)

  • 0
Posted

I wish to to thank you very much .

I will try to do what you said.

 

Anyways, if someone could give me a comfirmation of what is said above, it would be great. ( im not that good with java too .. unfortunately :( )

 

As i said, Thank you ! :)

 

Np i check better and i find for clan academy :)

 

at gameserver/model/actor/instance at L2PcInstance.java

 

Check for this line

 

if ((getSubPledgeType() == -1 || getLvlJoinedAcademy() != 0) && _clan != null && PlayerClass.values()[id].getLevel() == ClassLevel.Third)
	{
		if (getLvlJoinedAcademy() <= 16)
			_clan.setReputationScore(_clan.getReputationScore() + 650, true);
		else if (getLvlJoinedAcademy() >= 39)
			_clan.setReputationScore(_clan.getReputationScore() + 190, true);
		else
			_clan.setReputationScore(_clan.getReputationScore() + (650 - (getLvlJoinedAcademy() - 16) * 20), true);
		_clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(_clan));
		setLvlJoinedAcademy(0);

Easy to edit :)

 

Just the 650 , 190 , 650 do it 0 :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...