Jump to content

game.core whisper block help


Recommended Posts

Hi guys,
sorry for my english.
I have a problem, i will be glad if you help me.

 

Core BT;

#0  CHARACTER::GetName (this=0x0) at basic_string.h:280
#1  0x08168c3a in CInputMain::Whisper (this=0x2b60649c, ch=0x543b8000, data=0x54be1000 "\023)", uiBytes=42) at input_main.cpp:471
#2  0x0816a9ef in CInputMain::Analyze (this=0x2b60649c, d=0x2b606400, bHeader=<value optimized out>, c_pData=0x54be1000 "\023)") at input_main.cpp:3618
#3  0x0814e81b in CInputProcessor::Process (this=0x2b60649c, lpDesc=0x2b606400, c_pvOrig=0x54be1000, iBytes=42, r_iBytesProceed=@0xffff94c4) at input.cpp:99
#4  0x08116d33 in DESC::ProcessInput (this=0x2b606400) at desc.cpp:313
#5  0x08285b34 in io_loop (fdw=0x2964a160) at main.cpp:1036
#6  0x08286561 in idle () at main.cpp:919
#7  0x08287c66 in main (argc=1, argv=0xffffcc2c) at main.cpp:576

 

bt full: https://pastebin.com/WsEypKeE

desc.cpp: https://pastebin.com/yEVVbEdd
input.cpp: https://pastebin.com/RebhbpZe
input_main.cpp: https://pastebin.com/hTvWqJ2x
main.cpp: https://pastebin.com/L6i88Rp8

I'm waiting for your help, thanks kind regards.

 

Link to comment
Share on other sites

  • Honorable Member

In here:

  1.         else if (MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))
prChr is NULL, that's why it crashes.
so, to fix it:
else if (pkChr && MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))
  • Love 3
Link to comment
Share on other sites

26 minutes ago, martysama0134 said:

In here:

  1.         else if (MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))
prChr is NULL, that's why it crashes.
so, to fix it:
else if (pkChr && MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))

Thanks bro, i will try.

Link to comment
Share on other sites

  • 8 months later...
On 8/17/2017 at 10:58 PM, martysama0134 said:

In here:

  1.         else if (MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))
prChr is NULL, that's why it crashes.
so, to fix it:
else if (pkChr && MessengerManager::instance().IsBlocked_Target(ch->GetName(), pkChr->GetName()))

Thank You fixed

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.