Jump to content

[Bug]Game Core:Official pet system


Recommended Posts

Hello everyone, 
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<CNewPetActor*> >> = {
    _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

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

I solved it ... its with DB i corrected it 
but i got another bug 
pet name which i specified as (XXX0 is not showing 
rather it shows Mini Nemere , Mini Monkey etc... 
The name is in database newpetsystem table event in petinformation window but the summoned pet is having Mini Monkey or default 

anyone can help me with this ? 

thanks

Link to comment
Share on other sites

  • 11 months later...
On 2/1/2017 at 1:47 PM, Human said:

I solved it ... its with DB i corrected it 
but i got another bug 
pet name which i specified as (XXX0 is not showing 
rather it shows Mini Nemere , Mini Monkey etc... 
The name is in database newpetsystem table event in petinformation window but the summoned pet is having Mini Monkey or default 

anyone can help me with this ? 

thanks

 

 

how to solved this problem ?

On 1/30/2017 at 6:19 AM, Human said:

Hello everyone, 
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 

 

  Reveal hidden contents

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<CNewPetActor*> >> = {
    _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

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.