yagokurt 84 Posted July 8, 2014 Share Posted July 8, 2014 Hi i would like share with u guys how to add new mounts to attack and do dmg On game u will need find the pvp.cpp and find switch( pkChr->GetMountVnum() ) { case 0: Then above case 0: u should add the mount id u want like this exemple switch( pkChr->GetMountVnum() ) { case 0: case 19000: case 19001: case 19002: case 19003: Now client side u will need open the file InstanceBase.cpp and find UINT CInstanceBase::SHORSE::GetLevel() { if (m_pkActor) { DWORD mount = m_pkActor->GetRace(); switch (mount) { Then u will add all case and end with a return 3 like this UINT CInstanceBase::SHORSE::GetLevel() { if (m_pkActor) { DWORD mount = m_pkActor->GetRace(); switch (mount) { case 19001: case 19002: case 19003: return 3; 2 1 18 Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted July 8, 2014 Premium Share Posted July 8, 2014 Thanks Link to comment Share on other sites More sharing options...
Darknetto 25 Posted July 8, 2014 Share Posted July 8, 2014 Hi .... i've a problem with skill mount's...hit but don't damage ...please can you help me? Link to comment Share on other sites More sharing options...
tmoitoi 26 Posted February 8, 2015 Share Posted February 8, 2015 Hi .... i've a problem with skill mount's...hit but don't damage ...please can you help me? Same problem as you, try to do a new help request maybe someone with find the problem, i've not searched at the moment. Link to comment Share on other sites More sharing options...
danhakhavro 42 Posted February 28, 2015 Share Posted February 28, 2015 Why 3 return? How its work? Link to comment Share on other sites More sharing options...
Despero 130 Posted February 28, 2015 Share Posted February 28, 2015 How can I deactivate the Mount Attack & Skill Check ? Link to comment Share on other sites More sharing options...
Berke58 97 Posted June 3, 2015 Share Posted June 3, 2015 good work Link to comment Share on other sites More sharing options...
n0pe 0 Posted August 12, 2018 Share Posted August 12, 2018 UINT CInstanceBase::SHORSE::GetLevel() { if (m_pkActor) { DWORD mount = m_pkActor->GetRace(); TMapMountLevelByVNum::iterator it = g_mapMountLevelByVNum.find(mount); if (it == g_mapMountLevelByVNum.end()) return 0; return it->second; } return 0; } How should i have to edit? Link to comment Share on other sites More sharing options...
Torres 64 Posted May 10, 2019 Share Posted May 10, 2019 Src&Binary\Srcs_CLIENT_OFFICIAL\Srcs\Client\UserInterface\InstanceBase.cpp This is crucial. Thank you!@yagokurt -------------------------------------------------------------------------------------------------------------------- In the two files of game source, I found the case 20114 related to mount: copy the monster number corresponding to the new mount, It didn't work, but I followed @yagokurt, got client in vs2013, and my mounts can attack!Thanks again! source\game\char_battle source\game\char_skill Link to comment Share on other sites More sharing options...
Recommended Posts