hardy89 15 Posted June 14, 2019 Share Posted June 14, 2019 Hi ! I'm trying to put this in my server : But i've some errors... : if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M) I've not RACE_ASSASSIN_W or RACE_ASSASSIN_M on my RaceData.h, so I would like to know if anyone had it, and could tell me how to implement it? Or tell me how to modify these lines to go through another function can be? Code : if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M) { CRaceMotionData* pRaceMotionData = m_pkCurRaceMotionData; if (!pRaceMotionData) return; const NRaceData::TMotionAttackData * c_pData = m_pkCurRaceMotionData->GetMotionAttackDataPointer(); if (NRaceData::MOTION_TYPE_NORMAL == c_pData->iMotionType) { if (IsEqippedQuiver()) pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget); else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else if (__IsMountingHorse()) { if (IsEqippedQuiver()) pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget); else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); Thank you... Link to comment Share on other sites More sharing options...
D4NTE 2 Posted June 14, 2019 Share Posted June 14, 2019 Hello, after enum EParts { .. }; Add this, enum ERace { RACE_WARRIOR_M, RACE_ASSASSIN_W, RACE_SURA_M, RACE_SHAMAN_W, RACE_WARRIOR_W, RACE_ASSASSIN_M, RACE_SURA_W, RACE_SHAMAN_M, RACE_MAX_NUM, }; 1 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted June 15, 2019 Premium Share Posted June 15, 2019 if you read better the thread of release you would have solved without waste time here. Copy and paste without using brain will hurt a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now