This source, have a little problem. DB has the information of what character player have, but the client-side do not load that. It's a little error on source. And i fix that
Go thought :
Look for :
and you will change that for that:
Kappa !
PS: Remember, client-side do not save what character are you using, you need to set it on DB. table GM_CHARACTER !
Edit:: You need to go in Lib_Packet project, Service, Player.h.
Search for
Add this:
and this :
Go thought :
Code:
void CNetwork::SC_UserInfo( CPacket* pPacket )
Look for :
Code:
pUserInfo->m_byItemCode[ITEM_IDX_CHAR_A],
pUserInfo->m_byItemCode[ITEM_IDX_CHAR_B] );
and you will change that for that:
Code:
pUserInfo->m_stRed.m_nModel,
pUserInfo->m_stBlue.m_nModel );
Kappa !
PS: Remember, client-side do not save what character are you using, you need to set it on DB. table GM_CHARACTER !
Edit:: You need to go in Lib_Packet project, Service, Player.h.
Search for
Code:
struct SN_Info
Add this:
Code:
typedef ::LogicObject::Player::Character
CHARACTER;
and this :
Code:
CHARACTER m_stRed;
CHARACTER m_stBlue;
Last edited: