Jump to content


  • Content Count

  • Joined

  • Last visited

  • Yangs

    423 [ Donate ]

Community Reputation

25 Good

About jeddawee

  • Rank


  • Gender
    Not Telling
  • Location

Recent Profile Visitors

822 profile views
  1. uitarget.py search: if not player.IsSameEmpire(self.vid): self.__HideButton(localeInfo.TARGET_BUTTON_INVITE_PARTY) self.__HideButton(localeInfo.TARGET_BUTTON_FRIEND) self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT) comment this line: ##self.__HideButton(localeInfo.TARGET_BUTTON_FIGHT)
  2. There is a game called Lineage 2 , it is a way bigger than Metin2 and there are many private servers using java emu , but yeah you will be limited ,
  3. Thank you for the release it works perfectly hmm is there any way to make it through MySQL ( something like shop_ex and shop_item_ex ) ?? i think it would be better than .txt
  4. 1- 2- 3- I saved Australia :$ , next i will save the world from Global Warming
  5. it is big difference to me , thank you
  6. in char_skill.cpp //in: int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel) //bellow: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) pkVictim = this; // #ifdef ENABLE_WOLFMAN_CHARACTER // else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)) // pkVictim = this; // #endif //1-add: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY2) && !GetParty() && !pkVictim) pkVictim = this; //in bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster) //below if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) pkVictim = this; #ifdef ENABLE_WOLFMAN_CHARACTER else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)) pkVictim = this; #endif //2-add if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY2) && !GetParty() && !pkVictim) pkVictim = this; //below if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) ComputeSkill(dwVnum, this); #ifdef ENABLE_WOLFMAN_CHARACTER else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)) ComputeSkillParty(dwVnum, this); #endif //3-add else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY2) && !GetParty() && !pkVictim) ComputeSkill(dwVnum, this); else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY2) && GetParty()) { FPartyPIDCollector f; GetParty()->ForEachOnMapMember(f, GetMapIndex()); for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++) { LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); ComputeSkill(dwVnum, ch); } } and then you have to add the flag " SKILL_FLAG_PARTY2 " after that go to your skill proto add new flag "party2 ", then set the skills that you want to be used with and without a group the reason why i added new flag is that there are some skills like lycan buff and shaman healing cannot be used to other people without group hopefully it fix your problem
  7. nice release hmm is it possible to make "pick money dialog" separated by dots ? ex: 850.000.000 i think it would be good
  8. Hi there well i'm trying to clean any event flag with 0 value , i did like this void CClientManager::SetEventFlag(TPacketSetEventFlag* p) { ForwardPacket(HEADER_DG_SET_EVENT_FLAG, p, sizeof(TPacketSetEventFlag)); // clear event flag if (p->lValue == 0) { typeof(m_map_lEventFlag.begin()) it = m_map_lEventFlag.find(p->szFlagName); if (it != m_map_lEventFlag.end()) { m_map_lEventFlag.erase(it); char szQuery[1024]; snprintf(szQuery, sizeof(szQuery), "DELETE FROM quest%s WHERE dwPID=0 AND szName='%s'", GetTablePostfix(), p->szFlagName); szQuery[1023] = '\0'; CDBManager::instance().AsyncQuery(szQuery); sys_log(0, "HEADER_GD_SET_EVENT_FLAG : DELETE CClientmanager::SetEventFlag(%s) ", p->szFlagName); return; } } else { bool bChanged = false; typeof(m_map_lEventFlag.begin()) it = m_map_lEventFlag.find(p->szFlagName); if (it == m_map_lEventFlag.end()) { bChanged = true; m_map_lEventFlag.insert(std::make_pair(std::string(p->szFlagName), p->lValue)); } else if (it->second != p->lValue) { bChanged = true; it->second = p->lValue; } if (bChanged) { char szQuery[1024]; snprintf(szQuery, sizeof(szQuery), "REPLACE INTO quest%s (dwPID, szName, szState, lValue) VALUES(0, '%s', '', %ld)", GetTablePostfix(), p->szFlagName, p->lValue); szQuery[1023] = '\0'; //CDBManager::instance().ReturnQuery(szQuery, QID_QUEST_SAVE, 0, NULL); CDBManager::instance().AsyncQuery(szQuery); sys_log(0, "HEADER_GD_SET_EVENT_FLAG : Changed CClientmanager::SetEventFlag(%s %d) ", p->szFlagName, p->lValue); return; } sys_log(0, "HEADER_GD_SET_EVENT_FLAG : No Changed CClientmanager::SetEventFlag(%s %d) ", p->szFlagName, p->lValue); } } it deleted from mysql but it still in game 0 is there any mistake in my code , or it doesn't work this way .. i'm just a beginner xD thanks in advance
  9. Hi there i've found this Text Link class done by @Shang https://pastebin.com/CkNXmeAm anyway, can anyone make that "TextLink" class for any hyperlink in chat or more specifically i need it for players name in chat... i would pay for it if it needs .. thx
  10. fixed, thank you man so much i know my explanation was bad but you could get what i need exactly xD
  11. yes your code worked i just had to x100 the number(0, 15 ) xDD But yeah as @VegaS™ said , i want the party warp in fixed order not random order thank you for helping
  12. Unfortunately not fixed after warp all party members warp to same position
  13. thank you but this will only warp one player what i want is to warp all party members .. using this function .. pParty->ForEachNearMember(f);
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.