Hy there , first of all i want to say that who wants to help me will do it.So please do not leave comments like leaked system or something like that.The crash is not always so i can't find the problem.i used gdb and that's what i found.
#0 0x0820ef8f in CNewPetActor::Unsummon (this=this@entry=0x2e4c9040)
at New_PetSystem.cpp:440
440 New_PetSystem.cpp: No such file or directory.
[Current thread is 1 (LWP 100448)]
On line 440 is this query
DBManager::instance().DirectQuery("UPDATE new_petsystem SET level = %d, evolution=%d, exp=%d, expi=%d, bonus0=%d, bonus1=%d, bonus2=%d, skill0=%d, skill0lv= %d, skill1=%d, skill1lv= %d, skill2=%d, skill2lv= %d, duration=%d, tduration=%d WHERE id = %lu ", this->GetLevel(), this->m_dwevolution, this->GetExp(), this->GetExpI(), this->m_dwbonuspet[0][1], this->m_dwbonuspet[1][1], this->m_dwbonuspet[2][1], this->m_dwskillslot[0], this->m_dwskill[0], this->m_dwskillslot[1], this->m_dwskill[1], this->m_dwskillslot[2], this->m_dwskill[2], this->m_dwduration, this->m_dwtduration, ITEM_MANAGER::instance().FindByVID(this->GetSummonItemVID())->GetID()); this->ClearBuff(); Thank you!