Well i installed the official pet system it was working smooth on my server wtihout any bug but when i try the same in my VDI it causing game core crash when i click the pet say 55401 click pet is summoned and then game crash ch1
this is game.core error
Loaded symbols for /usr/lib/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x08273b4e in CNewPetActor::Unsummon (this=0x463be180)
at New_PetSystem.cpp:461
461 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, durat ion=%d, tduration=%d WHERE id = %lu ", this->GetLevel(), this->m_dwevolution, th is->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(thi s->GetSummonItemVID())->GetID());
[New Thread 29005500 (LWP 100158/game)]
[New Thread 29005200 (LWP 100156/game)]
[New Thread 29004f00 (LWP 100155/game)]
[New Thread 29004300 (LWP 100115/game)]
(gdb) bt full
#0 0x08273b4e in CNewPetActor::Unsummon (this=0x463be180)
at New_PetSystem.cpp:461
pSummonItem = <value optimized out>
#1 0x08274ae8 in CNewPetActor::Update (this=0x463be180, deltaTime=0)
at New_PetSystem.cpp:740
No locals.
#2 0x082758eb in CNewPetSystem::Update (this=0x463f32c0, deltaTime=0)
at New_PetSystem.cpp:1007
petActor = (CNewPetActor *) 0x463be180
bResult = true
currentTime = 85895
v_garbageActor = {<std::_Vector_base<CNewPetActor*,std::allocator<C NewPetActor*> >> = {
_M_impl = {<std::allocator<CNewPetActor*>> = {<__gnu_cxx::new_allocator<CNewPetActor*>> = {<No data fie lds>}, <No data fields>}, _M_start = 0x0,
_M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
#3 0x082759b9 in newpetsystem_update_event (event=@0xbfbfb2bc,
processing_time=6) at New_PetSystem.cpp:49
pPetSystem = <value optimized out>
__FUNCTION__ = "newpetsystem_update_event"
#4 0x08125d61 in event_process (pulse=2148) at event.cpp:140
pElem = <value optimized out>
the_event = {px = 0x464db8a0}
---Type <return> to continue, or q <return> to quit---
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x08273b4e in CNewPetActor::Unsummon (this=0x463be180)
at New_PetSystem.cpp:461
461 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, durat ion=%d, tduration=%d WHERE id = %lu ", this->GetLevel(), this->m_dwevolution, th is->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(thi s->GetSummonItemVID())->GetID());
[New Thread 29005500 (LWP 100158/game)]
[New Thread 29005200 (LWP 100156/game)]
[New Thread 29004f00 (LWP 100155/game)]
[New Thread 29004300 (LWP 100115/game)]
(gdb) bt full
#0 0x08273b4e in CNewPetActor::Unsummon (this=0x463be180)
at New_PetSystem.cpp:461
pSummonItem = <value optimized out>
#1 0x08274ae8 in CNewPetActor::Update (this=0x463be180, deltaTime=0)
at New_PetSystem.cpp:740
No locals.
#2 0x082758eb in CNewPetSystem::Update (this=0x463f32c0, deltaTime=0)
at New_PetSystem.cpp:1007
petActor = (CNewPetActor *) 0x463be180
bResult = true
currentTime = 85895
v_garbageActor = {<std::_Vector_base<CNewPetActor*,std::allocator<C NewPetActor*> >> = {
_M_impl = {<std::allocator<CNewPetActor*>> = {<__gnu_cxx::new_allocator<CNewPetActor*>> = {<No data fie lds>}, <No data fields>}, _M_start = 0x0,
_M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
#3 0x082759b9 in newpetsystem_update_event (event=@0xbfbfb2bc,
processing_time=6) at New_PetSystem.cpp:49
pPetSystem = <value optimized out>
__FUNCTION__ = "newpetsystem_update_event"
#4 0x08125d61 in event_process (pulse=2148) at event.cpp:140
pElem = <value optimized out>
the_event = {px = 0x464db8a0}
---Type <return> to continue, or q <return> to quit---
any one find me solution
thanks
Regards
Human







