- Joined
- Jun 24, 2011
- Messages
- 263
- Reaction score
- 75
I'm releasing this because of some stupid people don't know how to code so they're just stealing it.
I can't show any screenshots or video but you'll know how this works.
Just read the title of this thread.
Additional:
s_NetGlobal.h:
Fix:
GlogixExPC.cpp
GlogicEx.h
Comment if errors occured. Thanks.
Credits: Me again
MORE POWER !
I can't show any screenshots or video but you'll know how this works.
Just read the title of this thread.
Additional:
s_NetGlobal.h:
NET_MSG_GCTRL_REQ_LEARNSKILL_NONINVEN = (NET_MSG_GCTRL + 1823),
NET_MSG_GCTRL_REQ_LEARNSKILL_NONINVEN_FB = (NET_MSG_GCTRL + 1824),
GLCharSkillMsg.cpp
G-Logic\GLCharSkillMsg.cpp(41) : error C3861: 'LEARN_SKILL_NONSCROLL': identifier not found, even with argument-dependent lookup
G-Logic\GLCharSkillMsg.cpp(53) : error C2039: 'SNETPC_UPDATE_MONEYTYPE' : is not a member of 'GLMSG'
G-Logic\GLCharSkillMsg.cpp(53) : error C2065: 'SNETPC_UPDATE_MONEYTYPE' : undeclared identifier
G-Logic\GLCharSkillMsg.cpp(53) : error C2146: syntax error : missing ';' before identifier 'NetMsgMoney'
G-Logic\GLCharSkillMsg.cpp(53) : error C2065: 'NetMsgMoney' : undeclared identifier
G-Logic\GLCharSkillMsg.cpp(54) : error C2228: left of '.lnGold' must have class/struct/union type
type is ''unknown-type''
G-Logic\GLCharSkillMsg.cpp(54) : error C3861: 'NetMsgMoney': identifier not found, even with argument-dependent lookup
G-Logic\GLCharSkillMsg.cpp(55) : error C2228: left of '.lnPremP' must have class/struct/union type
type is ''unknown-type''
G-Logic\GLCharSkillMsg.cpp(55) : error C3861: 'NetMsgMoney': identifier not found, even with argument-dependent lookup
G-Logic\GLCharSkillMsg.cpp(56) : error C2228: left of '.lnVoteP' must have class/struct/union type
type is ''unknown-type''
G-Logic\GLCharSkillMsg.cpp(56) : error C3861: 'NetMsgMoney': identifier not found, even with argument-dependent lookup
G-Logic\GLCharSkillMsg.cpp(57) : error C3861: 'NetMsgMoney': identifier not found, even with argument-dependent lookup
GLGaeaClient.cpp
G-Logic\GLGaeaClient.cpp(2835) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
G-Logic\GLGaeaClient.cpp(2963) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
G-Logic\GLGaeaClient.cpp(2992) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
Fix:
GlogixExPC.cpp
void GLCHARLOGIC::LEARN_SKILL_NONSCROLL ( SNATIVEID skill_id )
{
PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( skill_id.wMainID, skill_id.wSubID );
if ( !pSkill ) return;
SKILL::SLEARN_LVL &sSKILL_LEARN_LVL = pSkill->m_sLEARN.sLVL_STEP[0];
if ( m_dwSkillPoint < sSKILL_LEARN_LVL.dwSKP ) return;
SCHARSKILL* pCharSkill = GETLEARNED_SKILL( skill_id );
if ( !pCharSkill )
{
if ( m_lnMoney < int(GLCONST_CHAR::lnSKILL_PREREQ[skill_id.wMainID][skill_id.wSubID])) return; // sSKILL_LEARN_LVL.dwMoneyReq ) return;
}
if ( m_lnVoteP < sSKILL_LEARN_LVL.dwVotePoint ) return;
if ( m_lnPremP < sSKILL_LEARN_LVL.dwPremPoint ) return;
m_dwSkillPoint -= sSKILL_LEARN_LVL.dwSKP;
if ( !pCharSkill )
{
m_lnMoney -= int(GLCONST_CHAR::lnSKILL_PREREQ[skill_id.wMainID][skill_id.wSubID]); //sSKILL_LEARN_LVL.dwMoneyReq;
}
m_lnVoteP -= sSKILL_LEARN_LVL.dwVotePoint;
m_lnPremP -= sSKILL_LEARN_LVL.dwPremPoint;
m_ExpSkills.insert ( std::make_pair(skill_id.dwID,SCHARSKILL(skill_id,0)) );
if ( pSkill->m_sBASIC.emROLE == SKILL::EMROLE_PASSIVE )
{
INIT_DATA ( FALSE, FALSE );
}
}
GlogicEx.h
void LEARN_SKILL_NONSCROLL ( SNATIVEID skill_id );
Comment if errors occured. Thanks.
Credits: Me again
MORE POWER !
Attachments
You must be registered for see attachments list
Last edited: