Forums

  1. Community

    1. Announcements

      General announcements about the board

      154
      posts
    2. Feedback

      Suggestions, Praises, Complaints and Bug Reports.

      507
      posts
  2. Metin2

    1. 3,408
      posts
    2. Questions and Answers

      Stuck? Ask the experts

      65,514
      posts
    3. Frequently Asked Questions

      Some kind of FAQ for newbies and experienced members!

      6
      posts
    4. 6,703
      posts
    5. Design

      Everything about drawing and modelling

      1,098
      posts
    6. Private Servers

      Advertise your server here

      899
      posts
    7. 10,963
      posts
    8. Videos

      Let's plays, trailers and any video related to the game

      1,267
      posts
  3. Releases

    1. General

      Everything relating Security, Hosting, Databases and Maps goes in here.

      472
      posts
    2. Tools

      You created a tool that could be usefull for others? Share it to them to improve their experience with Metin2

      1,499
      posts
    3. Programming / Scripts

      Share your Scripts here: C++, Python, PHP, ...

      6,896
      posts
    4. Quests

      You got a quest you want to share? No problem. Here's the right section for this

      982
      posts
    5. Binaries & Clients/Serverfiles

      Client and server executables and complete server / client packages

      5,112
      posts
    6. 3D Models

      Weapons, Armors, Hairstyles, Costumes, Objects...

      1,978
      posts
    7. 2D Graphics

      Interfaces, icons and design elements such as renders, brushes or textures, related to Metin2

      664
      posts
    8. Operating Systems

      Any advice or helpful Tool for OS's goes in here.

      352
      posts
  4. Safe Zone

    1. Offtopic

      Is there life beyond Metin2?

      1,359
      posts
    2. Games Talk

      Talk about other games here

      217
      posts
    3. Music/Videos/Art

      All the Music/videos and art not relating to Metin2 go in here!

      751
      posts


  • Rules

  • News

  • Topics

  • Posts

    • 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.
    • 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
    • can you look at the latest update?