jeddawee

Member
  • Content Count

    62
  • Joined

  • Last visited

Community Reputation

18 Neutral

About jeddawee

  • Rank
    Friendly

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

612 profile views
  1. jeddawee

    1- 2- 3- I saved Australia :$ , next i will save the world from Global Warming
  2. jeddawee

    it is big difference to me , thank you
  3. could you tell me who bought it ? i wanna be his friend $ $ $ just kidding, good luck
  4. jeddawee

    open

    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
  5. sorry but i meant this one , the black box
  6. nice release hmm is it possible to make "pick money dialog" separated by dots ? ex: 850.000.000 i think it would be good
  7. jeddawee

    open

    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
  8. jeddawee

    although he promised you to look over the bugs after holiday, you released his systems?!!!!!!!!! you know it is HOLIDAY right ?? you have to be a bit patent are you satisfied now after releasing his systems ??? if you think we will encourage you of what you did .... i just wanna tell you something that the only scammer here is you.
  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. jeddawee

    solved

    fixed, thank you man so much i know my explanation was bad but you could get what i need exactly xD
  11. jeddawee

    solved

    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. jeddawee

    solved

    Unfortunately not fixed after warp all party members warp to same position
  13. jeddawee

    solved

    thank you but this will only warp one player what i want is to warp all party members .. using this function .. pParty->ForEachNearMember(f);
  14. jeddawee

    solved

    i mean that nothing changed in game ..
  15. Hi Let us get into it straight away well i did this function void CParty::JumpParty(LPPARTY pParty, int x, int y) { FWarpToPosition f(x, y); pParty->ForEachNearMember(f); } in party.cpp it is for warp all party members the thing is that after warp all players will be in same position , i want that after warp each party member have some distance between each other ( not all in same position ) some dev gave me this but it didn't work void CParty::JumpParty(LPPARTY pParty, int x, int y) { /// POSITION_MARKING int iPixelPos[PARTY_MAX_MEMBER][2] = { {50, 50}, {50, 0}, {50, -50}, {50, 50}, {50, 0}, {50, -50}, {50, 0}, {50, -50}, }; /// END_OF_POSITION_MARKING int n = 0; while (n < GetNearMemberCount()) { FWarpToPosition f(x + iPixelPos[n][0], y + iPixelPos[n][1]); pParty->ForEachNearMember(f); ++n; } } any clue ?