All Activity

This stream auto-updates     

  1. Past hour
  2. hello, which version of the game and client source does not give any package errors?
  3. Today
  4. i have one big problem about one crash. if somebody know how i can fix this , please say me in pm or reply with skype/discord id for contact i pay for this fix (how much you want) . Please , just if you know fix. item_manager.cpp void ITEM_MANAGER::DelayedSave(LPITEM item) { if (item->GetID() != 0) m_set_pkItemForDelayedSave.insert(item); } void ITEM_MANAGER::FlushDelayedSave(LPITEM item) { TR1_NS::unordered_set<LPITEM>::iterator it = m_set_pkItemForDelayedSave.find(item); if (it == m_set_pkItemForDelayedSave.end()) { return; } m_set_pkItemForDelayedSave.erase(it); SaveSingleItem(item); } void ITEM_MANAGER::SaveSingleItem(LPITEM item) { if(!item) { sys_err("item from SaveSingleItem is NULL!!!"); //return; } //if(!item->GetID()) // return; if (!item->GetOwner()) //if (!item->GetOwner() || !item->GetCount()) { DWORD dwID = item->GetID(); DWORD dwOwnerID = item->GetLastOwnerPID(); db_clientdesc->DBPacketHeader(HEADER_GD_ITEM_DESTROY, 0, sizeof(DWORD) + sizeof(DWORD)); db_clientdesc->Packet(&dwID, sizeof(DWORD)); db_clientdesc->Packet(&dwOwnerID, sizeof(DWORD)); sys_log(1, "ITEM_DELETE %s:%u", item->GetName(), dwID); return; } sys_log(1, "ITEM_SAVE %s:%d in %s window %d", item->GetName(), item->GetID(), item->GetOwner()->GetName(), item->GetWindow()); TPlayerItem t; t.id = item->GetID(); t.window = item->GetWindow(); t.pos = t.window == EQUIPMENT ? item->GetCell() - INVENTORY_MAX_NUM : item->GetCell(); t.count = item->GetCount(); t.vnum = item->GetOriginalVnum(); #ifdef TRANSMUTE_SYSTEM t.look = item->GetLook(); #endif t.owner = (t.window == SAFEBOX || t.window == MALL) ? item->GetOwner()->GetDesc()->GetAccountTable().id : item->GetOwner()->GetPlayerID(); thecore_memcpy(t.alSockets, item->GetSockets(), sizeof(t.alSockets)); thecore_memcpy(t.aAttr, item->GetAttributes(), sizeof(t.aAttr)); db_clientdesc->DBPacketHeader(HEADER_GD_ITEM_SAVE, 0, sizeof(TPlayerItem)); db_clientdesc->Packet(&t, sizeof(TPlayerItem)); } void ITEM_MANAGER::Update() { TR1_NS::unordered_set<LPITEM>::iterator it = m_set_pkItemForDelayedSave.begin(); TR1_NS::unordered_set<LPITEM>::iterator this_it; while (it != m_set_pkItemForDelayedSave.end()) { this_it = it++; LPITEM item = *this_it; // SLOW_QUERY 플래그가 있는 것은 종료시에만 저장한다. if (item->GetOwner() && IS_SET(item->GetFlag(), ITEM_FLAG_SLOW_QUERY)) continue; SaveSingleItem(item); m_set_pkItemForDelayedSave.erase(this_it); } } void ITEM_MANAGER::RemoveItem(LPITEM item, const char * c_pszReason) { LPCHARACTER o; if ((o = item->GetOwner())) { #ifdef __NEW_PET_SYSTEM_SCALING__ if(item->GetVnum() >= 53041 && item->GetVnum() <= 53048 && o) { CScalingPetSystem* petsys = o->GetScalingPetSystem(); if(petsys->GetScalingPetActor()) { petsys->Unsummon(); } } #endif char szHint[64]; snprintf(szHint, sizeof(szHint), "%s %u ", item->GetName(), item->GetCount()); LogManager::instance().ItemLog(o, item, c_pszReason ? c_pszReason : "REMOVE", szHint); if (item->GetWindow() == MALL || item->GetWindow() == SAFEBOX) { CSafebox* pSafebox = item->GetWindow() == MALL ? o->GetMall() : o->GetSafebox(); if (pSafebox) { pSafebox->Remove(item->GetCell()); } } else { o->SyncQuickslot(QUICKSLOT_TYPE_ITEM, item->GetCell(), 255); item->RemoveFromCharacter(); } } M2_DESTROY_ITEM(item); } item.cpp db when crash , appear this item... edit: i don't know when crash or how crash. shop offline from great.
  5. displayjokes

    open Shaman Healing - Attack Up No Effect

    Bump
  6. DevChuckNorris

    Temporary manual account activation

    Hello community, due to high amount of account registrations of banned and spam users we have activated manual account activation. So the account registration can need currently up to 2 days. Thanks for your understanding. Best regards, metin2dev Team
  7. enisina

    open martysama source guild icon problem

    can you look at the latest update?
  8. bogdan1809

    open Problem with bonuses

  9. bogdan1809

    open Problem with bonuses

  10. glosteng4141

    c++ Quick Voice Chat

  11. lastone122

    open Problem with bonuses

    check uitooltip.py you should have there something like this. item.APPLY_ATTBONUS_STONE : localeInfo.TOOLTIP_APPLY_ATTBONUS_STONE, Check if this matches name of the bonus in source APPLY_ATTBONUS_STONE also check in your locale_game.txt if this TOOLTIP_APPLY_ATTBONUS_STONE matches what you have in uitooltip.py
  12. bogdan1809

    open Problem with bonuses

    Hello! I implemented those two new bonuses, strong against bosses and metin stones but I have a little visual problem. The bonuses work properly I mean I receive those bonuses but are displayed wrong.
  13. Do you have the item proto and the mob proto for this patch v19.5.9 ??
  14. sonyc73

    c++ Quick Voice Chat

    is c++11 ? bcz i got some errors
  15. Helia01

    c++ Quick Voice Chat

    I thought it was a real voice chat, and these are just sound commands.
  16. coming online @ 2019-10-14T18:35:00+01:00  
  17. Yesterday
  18. ALmutiri

    open ‏Server time

    1- i did the same tut and it worked but i got different time than the server time ( i didn't got convert timestamp part ) https://prnt.sc/pif0sw 2- how to make the time format 12 h with am and pm @VegaS™
  19. Thundernatsu

    open shop bug

    up
  20. enisina

    open martysama source guild icon problem

    easy to tell my friend, $ 200 is holding 1176tl according to our country money. think like that; You're gonna pay $ 1176 to your source.
  21. Hello M2D ! I am looking for guy to adapt armors from c9 mmorpg for metin2. The costum to adapt is this one : Contact me on private messages i answer fast ! (I need a clean work, also if you are not able to do it don't waste my time please !)
  22. Mali61

    c++ Quick Voice Chat

    v2: Z:Party X:Guild
  23. Anix

    open martysama source guild icon problem

    That's why you need to buy the source man.
  24. enisina

    open martysama source guild icon problem

    I checked. saving data to server
  25. Alvane

    open martysama source guild icon problem

    Maybe you entered wrong port for marks in serverinfo.py?
  1. Load more activity