can anyone help please?
Error:
Code:
if( pWorld->m_linkMap.GetLinkMap( static_cast<int>( dwDungeonId ) ) )
{
SetLeaveMarkingPos( pUser, dwWorldId, vPos );
int nRandx = xRandom(4) - 2;
int nRandz = xRandom(4) - 2;
vPos += D3DXVECTOR3( (float)( nRandx ), (float)( 0 ), (float)( nRandz ) );
pUser->REPLACE( g_uIdofMulti, dwWorldId, vPos, REPLACE_NORMAL, static_cast<int>( dwDungeonId ) );
IncreasePlayerCount( static_cast<DWORD>( pUser->m_idparty ), dwWorldId );
if( !pCT_Info || pCT_Info->dwDungeonId != dwDungeonId ) // 090813 ´øÀüÀÌ À¯ÁöµÇ°í ÀÖ´Â »óÅ¿¡¼*ÀÇ ÀçÀÔÀåÀº setÇÏÁö ¾ÊÀ½
#ifdef [B]__VIP[/B]
CInstanceDungeonHelper::GetInstance()->SendInstanceDungeonSetCoolTimeInfo( g_uKey, GetType(), pUser->m_idPlayer, COOLTIME_INFO( dwWorldId, dwDungeonId, ( GetCoolTime( dwWorldId, pUser) + GetTickCount() ) ) );
#else
CInstanceDungeonHelper::GetInstance()->SendInstanceDungeonSetCoolTimeInfo( g_uKey, GetType(), pUser->m_idPlayer, COOLTIME_INFO( dwWorldId, dwDungeonId, ( GetCoolTime( dwWorldId) + GetTickCount() ) ) );
#endif
return TRUE;
}
else
return FALSE;
}
else // ÇØ´ç ´øÀüÀÌ Á¸ÀçÇÏÁö ¾ÊÀ¸¸é CoreServer·Î »ý¼º ÇÒ °ÍÀ» ¿äû ÇÑ´Ù.
{
if( CInstanceDungeonHelper::GetInstance()->m_nIDLayerNum < m_nMaxInstanceDungeon )
CInstanceDungeonHelper::GetInstance()->SendInstanceDungeonCreate( GetType(), dwDungeonId, ID_INFO( dwWorldId, g_uKey ) );
else
{
pUser->AddDefinedText( TID_GAME_INSTANCE_MAX );
return FALSE;
}
}
return TRUE;
}
Code:
C:\Flyff\Source\Program\_Common\InstanceDungeonBase.cpp(697): error C2660: 'CInstanceDungeonBase::GetCoolTime' : function does not take 2 arguments