bumxd 16 Posted May 25, 2018 Share Posted May 25, 2018 hello, game core worked 4-5day and crush, game.core: (gdb) bt #0 0x0806d210 in CHARACTER::GetPoint (this=0x0, type=53 '5') at char.cpp:3137 #1 0x080795c6 in CHARACTER::PointChange (this=0x0, type=53 '5', amount=15, bAmount=false, bBroadcast=false) at char.cpp:3743 #2 0x0807ba0b in CHARACTER::ApplyPoint (this=0x0, bApplyType=63 '?', iVal=15) at char.cpp:4042 #3 0x08169441 in CItem::ModifyPoints (this=0x57556300, bAdd=true) at item.cpp:811 #4 0x080d6ebc in CPetActor::GiveBuff (this=0x59d8f490) at PetSystem.cpp:380 #5 0x080d7a01 in CPetSystem::RefreshBuff (this=0x4f7f5e50) at PetSystem.cpp:633 #6 0x08078e70 in CHARACTER::ComputePoints (this=0x46379000) at char.cpp:2611 #7 0x08079422 in CHARACTER::MountVnum (this=0x46379000, vnum=20107) at char.cpp:6962 #8 0x0809cfa1 in CHARACTER::StartRiding (this=0x46379000) at char_horse.cpp:63 #9 0x080d9cb3 in interpret_command (ch=0x46379000, argument=0xffff9d2f "ride", len=4) at cmd.cpp:766 #10 0x081606dc in CInputMain::Chat (this=0x5518409c, ch=0x46379000, data=0x54a5f000 "Г\n", uiBytes=11) at input_main.cpp:726 #11 0x08162105 in CInputMain::Analyze (this=0x5518409c, d=0x55184000, bHeader=231 'Г', c_pData=0x54a5f000 "Г\n") at input_main.cpp:3325 #12 0x08148c9b in CInputProcessor::Process (this=0x5518409c, lpDesc=0x55184000, c_pvOrig=0x54a5f000, iBytes=11, r_iBytesProceed=@0xffffa420) at input.cpp:103 ---Type <return> to continue, or q <return> to quit--- #13 0x081123a6 in DESC::ProcessInput (this=0x55184000, ip=@0xffffa558) at desc.cpp:337 #14 0x082789b9 in io_loop (fdw=0x293e40a0) at main.cpp:1082 #15 0x08278f00 in idle () at main.cpp:959 #16 0x0827a23c in main (argc=1, argv=0xffffdc0c) at main.cpp:615 where can was problem? Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 25, 2018 Premium Share Posted May 25, 2018 Error is: #0 0x0806d210 in CHARACTER::GetPoint (this=0x0, type=53 '5') at char.cpp:3137 As you can see, you're triggering "THIS" but the point is 0x0. Good Luck Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted May 25, 2018 Premium Share Posted May 25, 2018 The problem comes from your mount system, like pet right ? It gets a null pointer. It gets a 0 value. Check from where. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 25, 2018 Author Share Posted May 25, 2018 (edited) 1 hour ago, Dobrescu Sebastian said: The problem comes from your mount system, like pet right ? It gets a null pointer. It gets a 0 value. Check from where. i dont think so, because core works 4 day+, but every day players use mounts.. 1 hour ago, WeedHex said: Error is: #0 0x0806d210 in CHARACTER::GetPoint (this=0x0, type=53 '5') at char.cpp:3137 As you can see, you're triggering "THIS" but the point is 0x0. Good Luck what no so with points? i dont understand.. here code this line: https://metin2.download/picture/5N22pg9q6CxCrUK3g1NmbMEnQo0UakS6/.png Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted May 25, 2018 Premium Share Posted May 25, 2018 (edited) 51 minutes ago, bumxd said: i dont this so, because core works 4 day+, but every day players use mounts.. what no so with points? i dont understand.. here code this line: https://metin2.download/picture/EGnN673rdg2K8M111ph6I6U5kr3iGKkd/.png It doesn't have to do with that line because i had the same problem like you. In my case, my quest had a nullpointer when summoned the mount. Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 25, 2018 Author Share Posted May 25, 2018 12 minutes ago, Dobrescu Sebastian said: It doesn't have to do with that line because i had the same problem like you. In my case, my quest had a nullpointer when summoned the mount. and this crushed game? Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted May 25, 2018 Premium Share Posted May 25, 2018 42 minutes ago, bumxd said: and this crushed game? Yes i had the same errors. I had to make sure my quest doesn't send any null pointers. 1 Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 25, 2018 Author Share Posted May 25, 2018 25 minutes ago, Dobrescu Sebastian said: Yes i had the same errors. I had to make sure my quest doesn't send any null pointers. can give example bug quest with null point? Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted May 25, 2018 Premium Share Posted May 25, 2018 18 minutes ago, bumxd said: can give example bug quest with null point? Post your quest. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 25, 2018 Author Share Posted May 25, 2018 1 minute ago, Dobrescu Sebastian said: Post your quest. i dont understand what the quest with point you mean Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted May 25, 2018 Premium Share Posted May 25, 2018 Just now, bumxd said: i dont understand what the quest with point you mean Your mount quest. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 25, 2018 Author Share Posted May 25, 2018 # Link to comment Share on other sites More sharing options...
Салом 20 Posted May 25, 2018 Share Posted May 25, 2018 ## Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted May 26, 2018 Active+ Member Share Posted May 26, 2018 Seems like item owner is NULL ... Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 27, 2018 Premium Share Posted May 27, 2018 #0 0x0806d210 in CHARACTER::GetPoint (this=0x0, type=53 '5') at char.cpp:3137 It tells everything. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 27, 2018 Author Share Posted May 27, 2018 3 hours ago, WeedHex said: #0 0x0806d210 in CHARACTER::GetPoint (this=0x0, type=53 '5') at char.cpp:3137 It tells everything. but what? Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 27, 2018 Premium Share Posted May 27, 2018 Share here or pm your Char.cpp and Char.h there is a problem on points. Server is trying to take point type 53 '5' but there is no char. How can server do ch-> if there is not CH? Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 27, 2018 Author Share Posted May 27, 2018 1 hour ago, WeedHex said: Share here or pm your Char.cpp and Char.h there is a problem on points. Server is trying to take point type 53 '5' but there is no char. How can server do ch-> if there is not CH? send in pm Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 27, 2018 Premium Share Posted May 27, 2018 i saw. I suggest to comment: LogManager::instance().LevelLog(this, val, GetRealPoint(POINT_PLAYTIME) + (get_dword_time() - m_dwPlayStartTime) / 60000); LogManager::instance().CharLog(this, GetGold() + amount, "OVERFLOW_GOLD", ""); And look if error happen again. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 28, 2018 Author Share Posted May 28, 2018 (edited) 15 hours ago, WeedHex said: i saw. I suggest to comment: LogManager::instance().LevelLog(this, val, GetRealPoint(POINT_PLAYTIME) + (get_dword_time() - m_dwPlayStartTime) / 60000); LogManager::instance().CharLog(this, GetGold() + amount, "OVERFLOW_GOLD", ""); And look if error happen again. did not quite understand you like this mean? screens: https://metin2.download/picture/o1Aj8Uq1aD194J75zC4Y9Mwo41v52B1D/.png https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 28, 2018 Premium Share Posted May 28, 2018 Yeah let's try. Link to comment Share on other sites More sharing options...
bumxd 16 Posted May 31, 2018 Author Share Posted May 31, 2018 On 5/28/2018 at 6:56 PM, WeedHex said: Yeah let's try. dont helped, again crushed: bt #0 0x083c5d1d in CAttribute::Get () #1 0x08078598 in CHARACTER::Follow (this=0x52f4c000, pkChr=0x52f85000, fMinDistance=170) at char.cpp:6139 #2 0x080d509d in CHARACTER::__StateIdle_Monster (this=0x52f4c000) at char_state.cpp:691 #3 0x0806dd78 in CHARACTER::UpdateStateMachine (this=0x52f4c000, dwPulse=3090893) at char.cpp:4343 #4 0x080bb5b4 in std::for_each<__gnu_cxx::__normal_iterator<CHARACTER**, std::vector<CHARACTER*, std::allocator<CHARACTER*> > >, std::binder2nd<std::mem_fun1_t<void, CHARACTER, unsigned int> > > (__first={_M_current = 0x540c5900}, __last= {_M_current = 0x540c5d1c}, __f= {<std::unary_function<CHARACTER*,void>> = {<No data fields>}, op = {<std::binary_function<CHARACTER*,unsigned int,void>> = {<No data fields>}, _M_f = {__pfn = 0x806dd20 <CHARACTER::UpdateStateMachine(unsigned int)>, __delta = 0}}, value = 3090893}) at stl_function.h:656 #5 0x080baf77 in CHARACTER_MANAGER::Update (this=0xffffc5fc, iPulse=3090893) at char_manager.cpp:707 #6 0x08278e77 in idle () at main.cpp:954 #7 0x0827a1ec in main (argc=1, argv=0xffffdc04) at main.cpp:615 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 31, 2018 Premium Share Posted May 31, 2018 Are u kidding me?? This is an other crash. Someone is fucking your cores xD Link to comment Share on other sites More sharing options...
bumxd 16 Posted June 2, 2018 Author Share Posted June 2, 2018 On 5/31/2018 at 8:04 PM, WeedHex said: Are u kidding me?? This is an other crash. Someone is fucking your cores xD lol? why you think so? Link to comment Share on other sites More sharing options...
Nolwarg 1 Posted June 2, 2018 Share Posted June 2, 2018 Dnia 28.05.2018 o 01:33, WeedHex napisał: i saw. I suggest to comment: LogManager::instance().LevelLog(this, val, GetRealPoint(POINT_PLAYTIME) + (get_dword_time() - m_dwPlayStartTime) / 60000); LogManager::instance().CharLog(this, GetGold() + amount, "OVERFLOW_GOLD", ""); And look if error happen again. Are you serious?:< Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now