Hi all sorry for the post. I got these errors from compiling. (I had more but fixed most of them) Can anyone help with these small errors?
Code:
Compiling...
MoverParam.cpp
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1917) : error C2059: syntax error : 'return'
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1918) : error C2059: syntax error : '}'
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1918) : error C2143: syntax error : missing ';' before '}'
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1918) : error C2059: syntax error : '}'
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1922) : error C2143: syntax error : missing ';' before '{'
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\MoverParam.cpp(1922) : error C2447: '{' : missing function header (old-style formal list?)
Mover.cpp
\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Source\_Common\Mover.cpp(2110) : error C2601: 'CMover::InitLevelPumbaaa' : local function definitions are illegal
DPSrvr.cpp
DPSrvr.cpp(124) : error C2601: 'CDPSrvr::OnUpdateJob' : local function definitions are illegal
Generating Code...
Build log was saved at "file://c:\Users\VIP\Documents\MEGAsync Downloads\v15 Clean\Output\WorldServer\Release\BuildLog.htm"
WorldServer - 8 error(s), 0 warning(s)
Here are the - 1st,2nd,3rd,4th error codes:
Code:
#endif // __CLIENT
}
return FALSE;
}
Here is the 5th and 6th error codes
Code:
void CMover::SetEquipDstParam()
{
if( IsPlayer() )
{
CItemElem* pItemElem;
for( int i = 0; i < MAX_HUMAN_PARTS; i++ )
{
pItemElem = GetEquipItem( i ); //m_Inventory.GetAtId( m_adwEquipment[ i ] );
if( pItemElem )
SetDestParam( pItemElem->m_dwItemId, FALSE ); //don't send
}
}
}
And in the mover.cpp file error code number 7:
Code:
#endif // __HONORABLE_TITLE // ´ÞÀÎ
void CMover::InitLevelPumbaaa( int nJob, LONG nLevel, BOOL bGamma )
{
And finally in dpsrvr.cpp the last error:
Code:
#ifdef __EUROPE_0514
ar.ReadString( szBak, MAX_ACCOUNT );
#endif // __EUROPE_0514
I would really appreciate the help. Thanks!
Josh