Jump to content
metin2dev

Tallywa

Members
  • Content count

    176
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Tallywa

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Enable
  1. Tallywa

    open Bug Devil Tower

    bump
  2. Tallywa

    open RemoveFromCharacter Game Core

    up
  3. Tallywa

    open RemoveFromCharacter Game Core

    mmmh lame = shop offline?
  4. Tallywa

    open Crash game.core

    thanks !
  5. Tallywa

    open RemoveFromCharacter Game Core

    up
  6. Tallywa

    open RemoveFromCharacter Game Core

    bump
  7. Tallywa

    open RemoveFromCharacter Game Core

    #ifndef DEBUG_ALLOC void ITEM_MANAGER::DestroyItem(LPITEM item) #else void ITEM_MANAGER::DestroyItem(LPITEM item, const char* file, size_t line) #endif { if (item->GetSectree()) item->RemoveFromGround(); if (item->GetOwner()) { if (CHARACTER_MANAGER::instance().Find(item->GetOwner()->GetPlayerID()) != NULL) { sys_err("DestroyItem: GetOwner %s %s!!", item->GetName(), item->GetOwner()->GetName()); item->RemoveFromCharacter(); } else { sys_err ("WTH! Invalid item owner. owner pointer : %p", item->GetOwner()); } } TR1_NS::unordered_set<LPITEM>::iterator it = m_set_pkItemForDelayedSave.find(item); if (it != m_set_pkItemForDelayedSave.end()) m_set_pkItemForDelayedSave.erase(it); DWORD dwID = item->GetID(); sys_log(2, "ITEM_DESTROY %s:%u", item->GetName(), dwID); if (!item->GetSkipSave() && dwID) { 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)); } else { sys_log(2, "ITEM_DESTROY_SKIP %s:%u (skip=%d)", item->GetName(), dwID, item->GetSkipSave()); } if (dwID) m_map_pkItemByID.erase(dwID); m_VIDMap.erase(item->GetVID()); #ifdef M2_USE_POOL pool_.Destroy(item); #else #ifndef DEBUG_ALLOC M2_DELETE(item); #else M2_DELETE_EX(item, file, line); #endif #endif }
  8. Tallywa

    [Visible/Unvisible]Costume

    and adapte this code for use with transmute system?
  9. Tallywa

    open RemoveFromCharacter Game Core

    LPITEM CItem::RemoveFromCharacter() { if (!m_pOwner) { sys_err("Item::RemoveFromCharacter owner null"); return (this); } LPCHARACTER pOwner = m_pOwner; if (m_bEquipped) // ÀåÂøµÇ¾ú´Â°¡? { Unequip(); //pOwner->UpdatePacket(); SetWindow(RESERVED_WINDOW); Save(); return (this); } else { if (GetWindow() != SAFEBOX && GetWindow() != MALL) { if (IsDragonSoul()) { if (m_wCell >= DRAGON_SOUL_INVENTORY_MAX_NUM) sys_err("CItem::RemoveFromCharacter: pos >= DRAGON_SOUL_INVENTORY_MAX_NUM"); else pOwner->SetItem(TItemPos(m_bWindow, m_wCell), NULL); } else { TItemPos cell(INVENTORY, m_wCell); if (false == cell.IsDefaultInventoryPosition() && false == cell.IsBeltInventoryPosition()) // ¾Æ´Ï¸é ¼ÒÁöÇ°¿¡? sys_err("CItem::RemoveFromCharacter: Invalid Item Position"); else { pOwner->SetItem(cell, NULL); } } } m_pOwner = NULL; m_wCell = 0; SetWindow(RESERVED_WINDOW); Save(); return (this); } }
  10. Tallywa

    [C++] Add a bonus of alignment

    In which function add #ifdef __ALIGNMENT_BONUS__ if (GetRealAlignment() == NAME_ALIGNMENT_1) { AddAffect(ALIGNMENT_BONUS_1, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_1, 0, ALIGNMENT_TIME, 0, true); } if (GetRealAlignment() == NAME_ALIGNMENT_2) { AddAffect(ALIGNMENT_BONUS_2, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_2, 0, ALIGNMENT_TIME, 0, true); } #endif and #ifdef __ALIGNMENT_BONUS__ if (FindAffect(ALIGNMENT_BONUS_1)) { if (GetRealAlignment() != NAME_ALIGNMENT_1) { RemoveAffect(ALIGNMENT_BONUS_1); } } #endif and where to find if (!FindAffect(NAME_AFFECT)) AddAffect(arg1, arg2, arg3, 0, arg4, 0, true);
  11. Tallywa

    open RemoveFromCharacter Game Core

    up
  12. Tallywa

    open Crash game.core

    Hello i have a probleme with my server Crash core channel 1 game.core #0 0x081de0bb in quest::CQuestManager::SendScript (this=0x28d62198) at questmanager.cpp:977 packet_script = {header = 63 '?', size = 36927, skin = 247 '▒', src_size = 16191} buf = {buf = 0x0, forceDelete = false} #1 0x28c5dbe6 in basename_r () from /usr/lib32/libc.so.7 No symbol table info available. #2 0x0839b7ae in CSemaphore::Wait () No symbol table info available. #3 0x0839aa1d in CAsyncSQL::ChildLoop () No symbol table info available. #4 0x0839b27e in AsyncSQLThread () No symbol table info available. #5 0x2879abbc in pthread_condattr_init () from /usr/lib32/libthr.so.3 No symbol table info available. #6 0x00000000 in ?? () No symbol table info available.
  13. Tallywa

    open Title systeme bug playtime

    bump
  14. Tallywa

    open Bug Devil Tower

    bump
×