Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Event game.core problem


meneleos

Question

Hi. 

Someone know ho to fix it ?

bt

Spoiler

#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
218     event.cpp: No such file or directory.
[Current thread is 1 (LWP 100139)]
(gdb) bt
#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
#1  0x08170b55 in boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:96
#2  boost::intrusive_ptr<event>::operator= (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:133
#3  event_cancel (ppevent=0x3706d3ac) at event.cpp:58
#4  0x080f77c8 in CNewPetSystem::Destroy (this=0x3706d380) at New_PetSystem.cpp:2549
#5  0x08093558 in CHARACTER::Destroy (this=0x41c1b000) at char.cpp:549
#6  0x08093b09 in CHARACTER::~CHARACTER (this=0x41c1b000, __in_chrg=<optimized out>)
    at char.cpp:180
#7  0x080cf02e in CHARACTER_MANAGER::DestroyCharacter (this=0xffffbf7c, ch=0x41c1b000)
    at char_manager.cpp:166
#8  0x080981eb in CHARACTER::Disconnect (this=0x41c1b000

bt full

Spoiler

#0  intrusive_ptr_add_ref (p=0xffffffff) at event.cpp:218
No locals.
#1  0x08170b55 in boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:96
No locals.
#2  boost::intrusive_ptr<event>::operator= (rhs=..., this=<optimized out>)
    at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:133
No locals.
#3  event_cancel (ppevent=0x313dc3ac) at event.cpp:58
        __FUNCTION__ = "event_cancel"
#4  0x080f77c8 in CNewPetSystem::Destroy (this=0x313dc380) at New_PetSystem.cpp:2549
No locals.
#5  0x08093558 in CHARACTER::Destroy (this=0x3f07c000) at char.cpp:549
        party = <optimized out>
#6  0x08093b09 in CHARACTER::~CHARACTER (this=0x3f07c000, __in_chrg=<optimized out>)
    at char.cpp:180
No locals.
#7  0x080cf02e in CHARACTER_MANAGER::DestroyCharacter (this=0xffffbf7c, ch=0x3f07c000)
    at char_manager.cpp:166
        it = {<std::tr1::__detail::_Hashtable_iterator_base<std::pair<unsigned int const, CHARACTER*>, false>> = {_M_cur_node = 0x2ddb6ba0, _M_cur_bucket = 0xffffbfd0}, <No data fields>}
        __FUNCTION__ = "DestroyCharacter"
#8  0x080981eb in CHARACTER::Disconnect (this=0x3f07c000,
    c_pszReason=0x848ece6 "DESC::~DESC") at char.cpp:1841
        p = {bHeader = 2 '\002',
          szName = "NICK\000:;\337`\001\000\361)\210(\016\000\\\000\021\370\207"}
#9  0x08150406 in DESC::Destroy (this=0x2b57c300) at desc.cpp:131
 

 

CNewPetSystem::Destroy (this=0x313dc380) at New_PetSystem.cpp:2549

2549:        event_cancel(&m_pkNewPetSystemUpdateEvent);
 

in 


 


void CNewPetSystem::Destroy()
{
	for (TNewPetActorMap::iterator iter = m_petActorMap.begin(); iter != m_petActorMap.end(); ++iter)
	{
		CNewPetActor* petActor = iter->second;
		if (0 != petActor)
		{
			delete petActor;
		}
	}
	if (m_pkNewPetSystemUpdateEvent)
		event_cancel(&m_pkNewPetSystemUpdateEvent);

	if (m_pkNewPetSystemExpireEvent)
		event_cancel(&m_pkNewPetSystemExpireEvent);

	m_petActorMap.clear();
}

 

event.cpp 218: ++(p->ref_count);


void intrusive_ptr_add_ref(EVENT* p) {
	if (p)
		++(p->ref_count);
}

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 1

      Metin2 TitleBar Move Frezze

    2. 1

      Metin2 TitleBar Move Frezze

    3. 0

      Navicat "Trial" Reset

    4. 13

      Item ToolTip Width Fix

    5. 0

      Guild icon wrong position

    6. 3

      Monster health

    7. 4

      Luffy Pet

    8. 38

      Core X → Top Metin2 & Metin2 Download → Changelogs

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.