• Content Count

  • Joined

  • Last visited

Community Reputation

7 Neutral

1 Follower

About Co0L

  • Rank
  • Birthday February 24

Profile Information

  • Gender
  • Location

Contact Methods

  • Skype

Recent Profile Visitors

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

  1. Hi , soon i will open an international pvm [] that i have been working for a long time. The server has reached the testing stage and I need people to help me ( the testers will receive at server opening md's depending on the time spent on the server and the bugs they found and also they can apply for helper/gm authority if they have serious intentions. I'm also looking for investitors with serious intentions. If you're interested and want to be part of our team , let me a private message. Thanks for your time .
  2. Co0L


    I think i solved it , i was using in shop.cpp autogiveitem() instead of createitem() when buy an item cause i made a multi buy system and i think that was the problem , the server wasn't saving the items correctly.
  3. Co0L


    The problem is that the item is deleted immediately after the crash and I can't figure out what's wrong with it..
  4. Co0L


    bt full:
  5. Co0L


    i found this in syserr DestroyItem: WTH! Invalid item owner. owner pointer : 0x32e92000
  6. Co0L


    void CHARACTER::Destroy() { CloseMyShop(); if (m_pkRegen) { if (m_pkDungeon) { if (m_pkDungeon->IsValidRegen(m_pkRegen, regen_id_)) { --m_pkRegen->count; } } else { if (is_valid_regen(m_pkRegen)) --m_pkRegen->count; } m_pkRegen = NULL; } if (m_pkDungeon) { SetDungeon(NULL); } #ifdef __PET_SYSTEM__ if (m_petSystem) { m_petSystem->Destroy(); delete m_petSystem; m_petSystem = 0; } #endif #ifdef ENABLE_MOUNT_COSTUME_SYSTEM if (m_mountSystem) { m_mountSystem->Destroy(); delete m_mountSystem; m_mountSystem = 0; } if(GetMountVnum()) { RemoveAffect(AFFECT_MOUNT); RemoveAffect(AFFECT_MOUNT_BONUS); } #endif HorseSummon(false); if (GetRider()) GetRider()->ClearHorseInfo(); if (GetDesc()) GetDesc()->BindCharacter(NULL); if (m_pkExchange) m_pkExchange->Cancel(); SetVictim(NULL); if (GetShop()) { GetShop()->RemoveGuest(this); SetShop(NULL); } ClearStone(); ClearSync(); ClearTarget(); if (NULL == m_pkMobData) { DragonSoul_CleanUp(); ClearItem(); } LPPARTY party = m_pkParty; if (party) { if (party->GetLeaderPID() == GetVID() && !IsPC()) { M2_DELETE(party); } else { party->Unlink(this); if (!IsPC()) party->Quit(GetVID()); } SetParty(NULL); } if (m_pkMobInst) { M2_DELETE(m_pkMobInst); m_pkMobInst = NULL; } m_pkMobData = NULL; if (m_pkSafebox) { M2_DELETE(m_pkSafebox); m_pkSafebox = NULL; } if (m_pkMall) { M2_DELETE(m_pkMall); m_pkMall = NULL; } m_set_pkChrSpawnedBy.clear(); StopMuyeongEvent(); event_cancel(&m_pkWarpNPCEvent); event_cancel(&m_pkRecoveryEvent); event_cancel(&m_pkDeadEvent); event_cancel(&m_pkSaveEvent); event_cancel(&m_pkTimedEvent); event_cancel(&m_pkStunEvent); event_cancel(&m_pkFishingEvent); event_cancel(&m_pkPoisonEvent); event_cancel(&m_pkFireEvent); event_cancel(&m_pkPartyRequestEvent); event_cancel(&m_pkWarpEvent); event_cancel(&m_pkCheckSpeedHackEvent); event_cancel(&m_pkMiningEvent); for (itertype(m_mapMobSkillEvent) it = m_mapMobSkillEvent.begin(); it != m_mapMobSkillEvent.end(); ++it) { LPEVENT pkEvent = it->second; event_cancel(&pkEvent); } m_mapMobSkillEvent.clear(); ClearAffect(); for (TMapBuffOnAttrs::iterator it = m_map_buff_on_attrs.begin(); it != m_map_buff_on_attrs.end(); it++) { if (NULL != it->second) { M2_DELETE(it->second); } } m_map_buff_on_attrs.clear(); event_cancel(&m_pkDestroyWhenIdleEvent); if (m_pSkillLevels) { M2_DELETE_ARRAY(m_pSkillLevels); m_pSkillLevels = NULL; } CEntity::Destroy(); if (GetSectree()) GetSectree()->RemoveEntity(this); #ifdef ENABLE_SYNC_HACK_FIX sync_hack = 0; sync_count = 0; sync_time = 0; #endif }
  7. Co0L


    it was deleted on , i will post it when the server will make the crashcore again
  8. Co0L


    Hello m2dev , i am working on my server and i solved a lot in it but with this problem i need some help . I don't know how to make this crashcore or when it happens and i don't have any idea of what is wrong. Here are the crashcore details: clearitem function: void CHARACTER::ClearItem() { int i; LPITEM item; for (i = 0; i < INVENTORY_AND_EQUIP_SLOT_MAX; ++i) { if ((item = GetInventoryItem(i))) { item->SetSkipSave(true); ITEM_MANAGER::instance().FlushDelayedSave(item); item->RemoveFromCharacter(); M2_DESTROY_ITEM(item); SyncQuickslot(QUICKSLOT_TYPE_ITEM, i, 255); } } for (i = 0; i < DRAGON_SOUL_INVENTORY_MAX_NUM; ++i) { if ((item = GetItem(TItemPos(DRAGON_SOUL_INVENTORY, i)))) { item->SetSkipSave(true); ITEM_MANAGER::instance().FlushDelayedSave(item); item->RemoveFromCharacter(); M2_DESTROY_ITEM(item); } } } and destroy function: void ITEM_MANAGER::DestroyItem(LPITEM item) { 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()); M2_DELETE(item); } any idea is welcome , thank you for your time.
  9. bump I'll add a new list with fixes and changes
  10. Co0L

    UP !! - EN,RO,PL,PT,CZ,HU,TR are ready !! Searching for someone who can translate in DE !!!
  11. Co0L

    Up! Turkish and Polish finished.
  12. Co0L

    up > - Italian - Spanish - Hungarian
  13. Co0L

    I need people for translate in : - German - French - Italian - Spanish - Hungarian PM ME!!
  14. Co0L

    I forgot about the bbcode , if you still need it give me a private message.
  15. I never said that is hard to remove the dead code , and no , it's not ira source calm . Stop talking if you don;t know what are you talking about . Yes , most of them are on internet , i said that all you can see here is made by me ? i have some systems and some fixes that i made alone but yes , most of it is on internet. Thanks for being a hater