CGraphicThing* CRaceData::RegisterMotionData(WORD wMotionMode, WORD wMotionIndex, const char * c_szFileName, BYTE byPercentage)
{
CRaceMotionData * pRaceMotionData = CRaceMotionData::New();
if (!pRaceMotionData->LoadMotionData(c_szFileName))
{
TraceError("CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=%s) ERROR", c_szFileName);
CRaceMotionData:

elete(pRaceMotionData);
pRaceMotionData = NULL;
abort(); // Programı durdurur.
return NULL;
}
pRaceMotionData->SetName(wMotionIndex);
/////
return NEW_RegisterMotion(pRaceMotionData, wMotionMode, wMotionIndex, pRaceMotionData->GetMotionFileName(), byPercentage);
//TMotion Motion;
//Motion.byPercentage = byPercentage;
//Motion.pMotion = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pRaceMotionData->GetMotionFileName());
//Motion.pMotionData = pRaceMotionData;
//__OLD_RegisterMotion(wMotionMode, wMotionIndex, Motion);
//return true;
}
tam net bilmiyorum aam dreamfancy şöyle çalışıyor.
.msa ismini değiştiriyor.
CRaceMotionData * pRaceMotionData = CRaceMotionData::New();
if (!pRaceMotionData->LoadMotionData(c_szFileName))
{
TraceError("CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=%s) ERROR", c_szFileName);
CRaceMotionData:

elete(pRaceMotionData);
pRaceMotionData = NULL;
abort(); // Programı durdurur.
return NULL;
}
buraısda bu değişimi fark ediyor log veriyor.
abort(); // Programı durdurur. ekleyerek değişimde client kapanmasını sağlayabilirsiniz
eksik .msa da da client kapanır mı bilm iyorum