[HELP] remove unlock all skill

Newbie Spellweaver
Joined
Nov 12, 2024
Messages
27
Reaction score
9
Does anyone know how I remove the "unlock all skills" feature in Source?
iam using this CLient Babyran X
I tried remove method bypass-charset but, its not same on source
I checked all charset files, but the skill ID is missing, so it's not in those files.
 
Server Information
ran online
Find this on CharDataLoad.cpp
int nBeginIndex = 0;
int nEndIndex = 0;
switch ( m_emClass )
{
case GLCC_BRAWLER_M:
case GLCC_BRAWLER_W:
{
nBeginIndex = EMSKILL_BRAWLER_01;
nEndIndex = EMSKILL_BRAWLER_04;
}
break;
case GLCC_SWORDSMAN_M:
case GLCC_SWORDSMAN_W:
{
nBeginIndex = EMSKILL_SWORDSMAN_01;
nEndIndex = EMSKILL_SWORDSMAN_04;
}
break;
case GLCC_ARCHER_M:
case GLCC_ARCHER_W:
{
nBeginIndex = EMSKILL_ARCHER_01;
nEndIndex = EMSKILL_ARCHER_04;
}
break;
case GLCC_SHAMAN_M:
case GLCC_SHAMAN_W:
{
nBeginIndex = EMSKILL_SHAMAN_01;
nEndIndex = EMSKILL_SHAMAN_04;
}
break;
case GLCC_EXTREME_M:
case GLCC_EXTREME_W:
{
nBeginIndex = EMSKILL_EXTREME_01;
nEndIndex = EMSKILL_EXTREME_04;
}
break;

;
};
WORD wClass, wIndex;
GLSkillMan::GetInstance().GetMaxSkill ( wClass, wIndex );
for ( int i = nBeginIndex; i <= nEndIndex; i++ )
{
for ( int j = 0; j < wIndex; j++ )
{
PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( i, j );
if ( pSkill )
{
SCHARSKILL CharSkill;
CharSkill.sNativeID.wMainID = i; // mid
CharSkill.sNativeID.wSubID = j; // sid
CharSkill.wLevel = 0; // skill level
m_ExpSkills[CharSkill.sNativeID.dwID] = CharSkill;
}
}
}
then remove all
 
Upvote 0
Back