Bot Metin2 Dev 4946 Posted November 27, 2017 Bot Share Posted November 27, 2017 SERVER PART: input_main.cpp void CInputMain::PartyUseSkill(LPCHARACTER ch, const char* c_pData) { TPacketCGPartyUseSkill* p = (TPacketCGPartyUseSkill*) c_pData; if (!ch->GetParty()) return; if (ch->GetPlayerID() != ch->GetParty()->GetLeaderPID()) { ch->ChatPacket(CHAT_TYPE_INFO, "<Group> Only the leader can use this function."); return; } switch (p->bySkillIndex) { case PARTY_SKILL_HEAL: ch->GetParty()->HealParty(); break; case PARTY_SKILL_WARP: { if (ch->GetSkillLevel(SKILL_LEADERSHIP) >= 10) { //10 IS THE MIN LEVEL OF LEADERSHIP SKILL TO USE TELEPORT LPCHARACTER pch = CHARACTER_MANAGER::instance().Find(p->vid); if (pch) { ch->GetParty()->SummonToLeader(pch->GetPlayerID()); }else{ ch->ChatPacket(CHAT_TYPE_INFO, "<Teleport> The character is not online."); } }else{ ch->ChatPacket(CHAT_TYPE_INFO, "<Teleport> You need upgrade your leadership skill to use this function."); } } break; } } party.cpp void CParty::SummonToLeader(DWORD pid) { LPCHARACTER l = GetLeaderCharacter(); if (m_memberMap.find(pid) == m_memberMap.end()) { l->ChatPacket(CHAT_TYPE_INFO, "<Teleport> The character is too far."); return; } LPCHARACTER ch = m_memberMap[pid].pCharacter; if (!ch) { l->ChatPacket(CHAT_TYPE_INFO, "<Teleport> The character was not found in your map."); return; } if (ch->IsDead()) { l->ChatPacket(CHAT_TYPE_INFO, "<Teleport> I can't teleport the character if he is dead."); return; } ch->Show(l->GetMapIndex(), l->GetX(), l->GetY()); ch->Stop(); } CLIENT PART: root -> uiparty.py FIND THE __ShowStateButton and: ## Warp if self.stateButtonDict.has_key(self.MEMBER_BUTTON_WARP): button = self.stateButtonDict[self.MEMBER_BUTTON_WARP] button.SetPosition(xPos, y) button.Show() xPos += 23 Thanks to marty sama that sell this for 50€. NOW IT'S COMPLETELY FREE! 2 1 Link to comment Share on other sites More sharing options...
M.Sorin 284 Posted November 27, 2017 Share Posted November 27, 2017 (edited) Where the f*ck martysama sell this? It`s already free on web for a couple of years with the source part tho. Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Tacticus 74 Posted November 27, 2017 Share Posted November 27, 2017 Raffa plz killyourself plz! Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7206 Posted November 27, 2017 Honorable Member Share Posted November 27, 2017 I never created nor sold that thing. I also hate using "attached braces". (code formatting style) What a pig. 1 5 Check out my GitHub Link to comment Share on other sites More sharing options...
Premium tierrilopes 453 Posted November 27, 2017 Premium Share Posted November 27, 2017 Whats your server frankie? I wanna feel overwhelmed by its features. 1 Link to comment Share on other sites More sharing options...
ManiacRobert 429 Posted November 27, 2017 Share Posted November 27, 2017 It's released 1 year ago on romanian forum... Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19779 Posted November 27, 2017 Honorable Member Share Posted November 27, 2017 He's just a jealous kid, nothing else. Link to comment Share on other sites More sharing options...
Developer PACI 930 Posted November 27, 2017 Developer Share Posted November 27, 2017 (edited) Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
Daenerys 176 Posted November 27, 2017 Share Posted November 27, 2017 still playing sand on the beach Link to comment Share on other sites More sharing options...
Premium TAUMP 856 Posted November 27, 2017 Premium Share Posted November 27, 2017 5 Link to comment Share on other sites More sharing options...
Management Karbust 4917 Posted November 27, 2017 Management Share Posted November 27, 2017 Dude You're too obsessed with marty... Are you in love with him and because he refused to be the love of your live you try to impress him? Link to comment Share on other sites More sharing options...
Seryov 17 Posted November 27, 2017 Share Posted November 27, 2017 (edited) Please, I beg for the good of this community.... VOTE BAN FOR M2BobFixed Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted November 27, 2017 Premium Share Posted November 27, 2017 What is your problem with this guy dude, I think it's a running gag haha To be honnest, this system is in every game core since 2007, it's just some code to uncomment in uiparty.py to activate it. At least it worked out before 1 Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7206 Posted December 4, 2017 Honorable Member Share Posted December 4, 2017 On 27/11/2017 at 8:58 PM, charparodar said: Dude You're too obsessed with marty... Are you in love with him and because he refused to be the love of your live you try to impress him? In reality, he was called warxwar in italian boards in 2009. I helped him a lot through these years. I taught him python and other stuff. (but he forgot them) Well, you can see the result now with this kind of thread ahah 6 Check out my GitHub Link to comment Share on other sites More sharing options...
Premium Syreldar 1892 Posted December 4, 2017 Premium Share Posted December 4, 2017 Ah...warxwar..that explains a lot. "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Kingsman 9 Posted December 4, 2017 Share Posted December 4, 2017 Can you check me for this system so that you can draw a player to you just once every 5 seconds? Thank you very much! 1 Link to comment Share on other sites More sharing options...
minigutza 54 Posted February 1 Share Posted February 1 Ok...but there is a bug on this system. You can teleport with this skill between maps even if there is a min level on that map. E.g. from exile cave (v3) you can be teleported to beta maps even if you are lower than level 90. I even implemented a quest for checking min lv in beta (90) and no use. They can still teleport there. There is any solution? Link to comment Share on other sites More sharing options...
Recommended Posts