Jump to content

PeaceMaker

Member
  • Posts

    403
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by PeaceMaker

  1. where did you find this patch the patch called metin2_patch_new_halloween but i cant extract it
  2. it already exist in metin2 beta , since i can only extract locale [Hidden Content]
  3. PeaceMaker

    Portal

    anyone can reupload it please ?
  4. so changing 170 to 255 wont solve the problem ? Can someone give a tested solution for disconnections on ninja please ?
  5. does that fix the problem of disconnections ? and thank you
  6. Hello can somebody help me with increasing the maximum attack speed ? because once i reach the max i get disconnected and specially with ninja since he hits too fast with daggers i think its something in c++ so xD thank you in advance
  7. hello people , i have a question for you , could d.join be saved somehow ? its really annoying for players to repeat the run from 0 on each disconnect they get , thanks
  8. Hello guys, i was wondering how to add block_chat command to command_log ? so that when a GM does that command, it appear in that log table ? Thanks
  9. Hello , i was trying to add a case for player if he's a king ( monarch ) so he cant change his kingdom so i added this into char_change_empire.cpp but it didn't work on the top : #include "monarch.h" and after ( married case ) { // 3. 각 캐릭터의 결혼 정보를 얻어온다. // 한 캐릭터라도 결혼 상태라면 제국 이동을 할 수 없다. for (int i = 0; i < loop; ++i) { if (marriage::CManager::instance().IsEngagedOrMarried(dwPID[i]) == true) return 3; } } i added { // 4. 각 캐릭터의 결혼 정보를 얻어온다. // 한 캐릭터라도 결혼 상태라면 제국 이동을 할 수 없다. for (int i = 0; i < loop; ++i) { if (monarch::CMonarch::instance().IsMonarch(dwPID[i]) == true) return 4; } } and im getting this error [Hidden Content] help me please thank you in advance
  10. hello , does anyone know how to increase the max number of members in each party ?
  11. Helllo , im having a problem recently , when someone has 1 free pos in his inventory and another players trade with his 2 items , the first item just get received by the first player and the other item rest in the other player's inventory my exchange.cpp : bool CExchange::CheckSpace() { static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 2); // inven page 1 static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 2); // inven page 2 static CGrid s_grid3(5, INVENTORY_MAX_NUM/5 / 2); // inven page 3 s_grid1.Clear(); s_grid2.Clear(); s_grid3.Clear(); LPCHARACTER victim = GetCompany()->GetOwner(); LPITEM item; int i; for (i = 0; i < INVENTORY_MAX_NUM / 3; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid1.Put(i, 1, item->GetSize()); } for (i = INVENTORY_MAX_NUM / 3; i < (INVENTORY_MAX_NUM / 3) * 2; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid2.Put(i - INVENTORY_MAX_NUM / 3, 1, item->GetSize()); } for (i = (INVENTORY_MAX_NUM / 3) * 2; i < (INVENTORY_MAX_NUM /3) * 3; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid3.Put(i - (INVENTORY_MAX_NUM / 3) * 2, 1, item->GetSize()); } for (i = (INVENTORY_MAX_NUM / 3) * 3; i < (INVENTORY_MAX_NUM / 3) * 4; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; } // 아... 뭔가 개병신 같지만... 용혼석 인벤을 노멀 인벤 보고 따라 만든 내 잘못이다 ㅠㅠ static std::vector <WORD> s_vDSGrid(DRAGON_SOUL_INVENTORY_MAX_NUM); // 일단 용혼석을 교환하지 않을 가능성이 크므로, 용혼석 인벤 복사는 용혼석이 있을 때 하도록 한다. bool bDSInitialized = false; for (i = 0; i < EXCHANGE_ITEM_MAX_NUM; ++i) { if (!(item = m_apItems[i])) continue; if (item->IsDragonSoul()) { if (!victim->DragonSoul_IsQualified()) { return false; } if (!bDSInitialized) { bDSInitialized = true; victim->CopyDragonSoulItemGrid(s_vDSGrid); } bool bExistEmptySpace = false; WORD wBasePos = DSManager::instance().GetBasePosition(item); if (wBasePos >= DRAGON_SOUL_INVENTORY_MAX_NUM) return false; for (int i = 0; i < DRAGON_SOUL_BOX_SIZE; i++) { WORD wPos = wBasePos + i; if (0 == s_vDSGrid[wBasePos]) { bool bEmpty = true; for (int j = 1; j < item->GetSize(); j++) { if (s_vDSGrid[wPos + j * DRAGON_SOUL_BOX_COLUMN_NUM]) { bEmpty = false; break; } } if (bEmpty) { for (int j = 0; j < item->GetSize(); j++) { s_vDSGrid[wPos + j * DRAGON_SOUL_BOX_COLUMN_NUM] = wPos + 1; } bExistEmptySpace = true; break; } } if (bExistEmptySpace) break; } if (!bExistEmptySpace) return false; } else { int iPos = s_grid1.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid1.Put(iPos, 1, item->GetSize()); } else { iPos = s_grid2.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid2.Put(iPos, 1, item->GetSize()); } else { iPos = s_grid3.FindBlank(1, item->GetSize()); if (iPos >= 0) { s_grid3.Put(iPos, 1, item->GetSize()); } else { return false; } } } } } return true; } thank you
  12. Hello , Does anyone know any quest function that detects player pk mode ? or is there any way to write that functions ? thank you
  13. this one for Invite: ch->PartyInvite(pInvitee); but i don't know which is for leave help me please nvm fixed with client side
  14. It works thank for the help, but i have 1 more problem xD if someone made a party from the same channel but different map the party willl stay on the blocked map any way to block that too please ? tyyy
  15. not working xD they say this [Hidden Content] but the invite still send and can be accepted !
  16. Hello , does anyone know how to disable parties ( groups) in a map ? i have no idea if it could be written in a quest so that's why i wrote c++ xD sorry for bothering but really need help thanks
×
×
  • 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.