Jump to content
  • 0

[Help] Max members in clans.


Amanda55

Question

6 answers to this question

Recommended Posts

  • 0

how i make a max members in clan ?

 

Thx for Help.

 

I dont have eclipse atm, im from the phone so I cant tell u excactly what to do, but if you go to the network/clientpackets there smth like requestJoinClan, inside there should be the restriction

Link to comment
Share on other sites

  • 0

find this in model/l2clan.java

public int getMaxNrOfMembers(int pledgeType)
{
	int limit = 0;

	switch (pledgeType)
	{
		case 0:
			switch (getLevel())
			{
				case 4:
					limit = 40;
					break;
				case 3:
					limit = 30;
					break;
				case 2:
					limit = 20;
					break;
				case 1:
					limit = 15;
					break;
				case 0:
					limit = 10;
					break;
				default:
					limit = 40;
					break;

Link to comment
Share on other sites

  • 0

find this in model/l2clan.java

public int getMaxNrOfMembers(int pledgeType)
{
	int limit = 0;

	switch (pledgeType)
	{
		case 0:
			switch (getLevel())
			{
				case 4:
					limit = 40;
					break;
				case 3:
					limit = 30;
					break;
				case 2:
					limit = 20;
					break;
				case 1:
					limit = 15;
					break;
				case 0:
					limit = 10;
					break;
				default:
					limit = 40;
					break;

 

You can see that this guy solved his problem and i said the same problem with you below. What's the point of posting?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...