Jump to content
  • 0

[Help] Max members in clans.


Question

6 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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;

  • 0
Posted

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?

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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