/**
* @param pledgeType the Id of the pledge type.
* @return the maximum number of members allowed for a given {@code pledgeType}.
*/
public int getMaxNrOfMembers(int pledgeType)
{
int limit = 2;
switch (pledgeType)
{
case 0:
switch (getLevel())
{
case 3:
limit = 2;
break;
case 2:
limit = 2;
break;
case 1:
limit = 2;
break;
case 0:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
case -1:
limit = 2;
break;
case 100:
case 200:
switch (getLevel())
{
case 11:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
case 1001:
case 1002:
case 2001:
case 2002:
switch (getLevel())
{
case 9:
case 10:
case 11:
limit = 2;
break;
default:
limit = 2;
break;
}
break;
default:
break;
}
return limit;
}
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
Amanda55
Where i make max 2 clan members
Don't work
ty for help
15 answers to this question
Recommended Posts