darkess 1 Posted December 17, 2017 Share Posted December 17, 2017 (edited) Hello dev community I found a little bug and i don`t know from where it can be So before i relog i have this: https://metin2.download/picture/H2K78waiCvS7W8tREqeccpkx7SD0ZDt5/.jpg After relog i got this: https://metin2.download/picture/HThlilMSCdZmW3reGsuFawc16R0qAur0/.jpg The points are still there but they dissapear It`s really anoying Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
darkess 1 Posted December 18, 2017 Author Share Posted December 18, 2017 Nobody knows? Up! Link to comment Share on other sites More sharing options...
Solution canco 1 Posted December 18, 2017 Solution Share Posted December 18, 2017 input_login.cpp search void CInputLogin::Entergame(LPDESC d, const char * data) and add 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(); } 1 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19779 Posted December 18, 2017 Honorable Member Share Posted December 18, 2017 Which mode you are building the server? 1 Link to comment Share on other sites More sharing options...
darkess 1 Posted December 18, 2017 Author Share Posted December 18, 2017 Acum 9 ore, xP3NG3Rx a spus: Which mode you are building the server? Edit: 40k Acum 11 ore, canco a spus: input_login.cpp search void CInputLogin::Entergame(LPDESC d, const char * data) and add 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(); } The points are not dissapearing just from horse,all of them dissapear except the language points Link to comment Share on other sites More sharing options...
Matuszka 13 Posted December 18, 2017 Share Posted December 18, 2017 (edited) Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal 1 2 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19779 Posted December 18, 2017 Honorable Member Share Posted December 18, 2017 (edited) Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
darkess 1 Posted December 18, 2017 Author Share Posted December 18, 2017 (edited) Acum 6 minute, xP3NG3Rx a spus: Oh i`m sorry if i didn`t got what you said but i think that i solved it with I`m really tying to learn something man Do not laugh man Acum 10 ore, canco a spus: input_login.cpp search void CInputLogin::Entergame(LPDESC d, const char * data) and add 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(); } Thanks aloot Edit: Do you know something about this? https://metin2.download/picture/vyclHgnj98x543a0jZP9z3bs41cCbxK7/.gif first bug (i need to use twice the item to work) https://metin2.download/picture/L0xaWhkkK0561K4rgTM8RvF9R35ewMD4/.gif Second bug Do you know how i can resolve that? My quest it`s this quest new_mount begin state start begin when 71124.use or 71125.use or 71126.use or 71127.use or 71128.use begin local tabel_pc = { [71124] = "leu_alb", [71125] = "mistret", [71126] = "lup", [71127] = "tigru", [71128] = "tigru_foc", } local tabel_mount = { [71124] = 20114, [71125] = 20115, [71126] = 20116, [71127] = 20117, [71128] = 20118, } if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") return end if pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") return end if pc.getqf(tabel_pc[item.get_vnum()]) == 1 then horse.unsummon() pc.setqf(tabel_pc[item.get_vnum()], 0) return end pc.setqf(tabel_pc[item.get_vnum()], 1) horse.unsummon() horse.set_appearance(tabel_mount[item.get_vnum()]) horse.summon() end end end Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
darkess 1 Posted December 18, 2017 Author Share Posted December 18, 2017 Acum 9 ore, xP3NG3Rx a spus: Which mode you are building the server? So 40k with source The horse problem it`s solved btw Thanks to canco 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