Premium Cataclismo 86 Posted February 26, 2015 Premium Share Posted February 26, 2015 Hi, A few days ago I observed that horse level is missing from client. You are able to see the level only when you advance your horse or when you take with a command (for GMs). I don't know if somebody else have this bug, but I will post the little fix I found because you never know. In input_login.cpp, inside the function void CInputLogin::Entergame(LPDESC d, const char * data) look for if (ch->GetHorseLevel() > 0) { DWORD pid = ch->GetPlayerID(); if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL) db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD)); } And replace that check with this one if (ch->GetHorseLevel() > 0) { DWORD pid = ch->GetPlayerID(); if (pid != 0 && CHorseNameManager::instance().GetHorseName(pid) == NULL) db_clientdesc->DBPacket(HEADER_GD_REQ_HORSE_NAME, 0, &pid, sizeof(DWORD)); ch->SetHorseLevel(ch->GetHorseLevel()); ch->SkillLevelPacket(); } That's it. Enjoy. 9 Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted February 26, 2015 Share Posted February 26, 2015 Thanks i have this error too. https://m2admin.net/ Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted February 27, 2015 Former Staff Share Posted February 27, 2015 you can see the horse level in skills page O.o Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted February 28, 2015 Author Premium Share Posted February 28, 2015 you can see the horse level in skills page O.o I actually couldn't. That's why I had to use this fix. Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted February 28, 2015 Premium Share Posted February 28, 2015 Me I have this bug too (i think), but the horse level is only 40, even if I have "50" in my gamecore. Link to comment Share on other sites More sharing options...
Geedz 2 Posted May 30, 2015 Share Posted May 30, 2015 Where can i find input_login.cpp? game/src/input_login.cpp 1 Link to comment Share on other sites More sharing options...
Recommended Posts