[Admin] tierrilopes Posted June 4, 2016 at 11:53 AM Share Posted June 4, 2016 at 11:53 AM Ir até ao ficheiro game/src/guild.cpp Procurar por: int CGuild::GetMaxMemberCount() Substituir a função por (para membros ilimitados): int CGuild::GetMaxMemberCount() { if ( m_iMemberCountBonus < 0 || m_iMemberCountBonus > 18 ) m_iMemberCountBonus = 0; return INT_MAX; } Ou substituir a função por (para mudar limite máximo): int CGuild::GetMaxMemberCount() { if ( m_iMemberCountBonus < 0 || m_iMemberCountBonus > 18 ) m_iMemberCountBonus = 0; return X + 2 * (m_data.level-1) + m_iMemberCountBonus; } Onde X = número máximo de jogadores na guild. Caso queiram que a guild a nível 1 possa logo ter o número máximo de membros (ao invés do exemplo anterior que número de membros aumenta com nível da tribo), mudar para: int CGuild::GetMaxMemberCount() { if ( m_iMemberCountBonus < 0 || m_iMemberCountBonus > 18 ) m_iMemberCountBonus = 0; return X; } Onde X = número máximo de jogadores na guild. Link to comment
Hinata Posted June 4, 2016 at 04:02 PM Share Posted June 4, 2016 at 04:02 PM Great Job :o :lol: :megusta: Thanks Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now