• 0
charparodar

open
Server crashs after killing metin/moobs

Question

Hello,

I have this error after I kill a metin or some moobs

May 15 22:40:29.863842 :: AddAffect Lobo type 209 apply 0 0 flag 4 duration 31
May 15 22:40:29.863966 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=102, pc2=0)
May 15 22:40:45.36134 :: AddAffect Metin da Dor type 209 apply 0 0 flag 4 duration 31
May 15 22:40:45.75914 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=8001, pc2=0)

After kill the Wolf (Lobo) nothing happens (I was lucky), but the after killing the metin (ingame I doesn't even end killing it) the server crash... I can still login, and when I select character I go back to the login page, I need to reboot the server to be able to play again...

Thank you

EDIT:

After debug the game.core, this is the error I got:

#0  CHARACTER::GetWear (this=0x0, bCell=21) at char_item.cpp:519
519             return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell];

My whole function CHARACTER::GetWear (the #ifdef is enabled):

#ifdef ENABLE_INVENTORY_12_PAGES
LPITEM CHARACTER::GetWear(UINT bCell) const
#else
LPITEM CHARACTER::GetWear(BYTE bCell) const
#endif
{
	// > WEAR_MAX_NUM : ¿ëÈ¥¼® ½½·Ôµé.
	if (bCell >= WEAR_MAX_NUM + DRAGON_SOUL_DECK_MAX_NUM * DS_SLOT_MAX)
	{
		sys_err("CHARACTER::GetWear: invalid wear cell %d", bCell);
		return NULL;
	}

	return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell]; //this is line 519
}

 

Share this post


Link to post
Share on other sites

10 answers to this question

  • 1
18 minutes ago, charparodar said:

My line 1332:


LPITEM pWeaponCostume = pkKiller->GetWear(WEAR_COSTUME_WEAPON);

 

I had this problem some days ago. Killing metin stone triggers Dead() two times but once without pkKiller. Try to change this line like that:

if (pkKiller && pkKiller->IsPC())
	LPITEM pWeaponCostume = pkKiller->GetWear(WEAR_COSTUME_WEAPON);

 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Can you post more from the stacktrace, because the character pointer is at this moment already a null pointer?

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, DevChuckNorris said:

Can you post more from the stacktrace, because the character pointer is at this moment already a null pointer?

I didn't understand what you asked... This is the whole debug info I get from gdb

root@source:~ # gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game1/game.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.5...done.
Loaded symbols for /lib/libmd.so.5
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libsupc++.so.1...done.
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  CHARACTER::GetWear (this=0x0, bCell=21) at char_item.cpp:519
519             return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell];
[New Thread 28c05500 (LWP 100137/game)]
[New Thread 28c05200 (LWP 100133/game)]
[New Thread 28c04f00 (LWP 100132/game)]
[New Thread 28c04300 (LWP 100129/game)]
(gdb)

And this is syslog, since the moment I push the metin till the end:

May 19 08:21:37.347535 :: /m 8001
May 19 08:21:37.347572 :: COMMAND: charparodar: mob
May 19 08:21:37.365720 :: LOG: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(2, 999, 'xxx', 1, 'charparodar', 'm 8001', NOW()) 
May 19 08:21:38.437591 :: Packet Analyze [Header 61][bufferLeft 23] 
May 19 08:21:38.437656 :: CInputMain::Analyze() ==> Header [61] 
May 19 08:21:38.987117 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:38.987143 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:38.987150 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:38.987162 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987166 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987170 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987175 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :987150 type :1210986496
May 19 08:21:39.246541 :: Packet Analyze [Header 2][bufferLeft 26] 
May 19 08:21:39.246585 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.246591 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.246599 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246603 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246608 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246613 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :246591 type :1210986496
May 19 08:21:39.316699 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.316785 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.316794 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.316807 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316858 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316865 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316902 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :316794 type :1210986496
May 19 08:21:39.526522 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.526549 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.526555 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.526563 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526567 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526572 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526577 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :526555 type :1210986496
May 19 08:21:39.526592 :: AddAffect Metin da Dor type 209 apply 0 0 flag 4 duration 31
May 19 08:21:39.796620 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.796686 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.796692 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.796701 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796705 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796710 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796715 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :796692 type :1210986496
May 19 08:21:40.56530 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:40.56565 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:40.56571 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:40.56580 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56585 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56590 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56595 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :56571 type :1210986496
May 19 08:21:40.56657 :: Bonus Exp : Ramadan Candy: 0 MallExp: 0 PointExp: 0
May 19 08:21:40.56668 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=8001, pc2=0)
May 19 08:21:40.56676 :: Click Quest : MatchingQuest
May 19 08:21:40.56839 :: QUEST Setting flag event_dressup.__status 0
May 19 08:21:40.56892 :: Click Quest : MatchingQuest
May 19 08:21:40.56902 :: Click Quest : MatchingQuest
May 19 08:21:40.57042 :: QUEST Setting flag devilcatacomb_zone.__status 0
May 19 08:21:40.57165 :: QUEST Setting flag levelup.__status 0
May 19 08:21:40.57179 :: GetQF ( levelup . select )
May 19 08:21:40.57184 :: GetQF ( levelup . current )
May 19 08:21:40.57249 :: QUEST Setting flag pvp_manager.__status 0
May 19 08:21:40.57285 :: QUEST Setting flag xmas_2012.__status 0
May 19 08:21:40.57322 :: QUEST Setting flag pet_system.__status 0
May 19 08:21:40.57346 :: Drop money : Attacker charparodar

 

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, charparodar said:

I didn't understand what you asked... This is the whole debug info I get from gdb


root@source:~ # gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game1/game.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.5...done.
Loaded symbols for /lib/libmd.so.5
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libsupc++.so.1...done.
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  CHARACTER::GetWear (this=0x0, bCell=21) at char_item.cpp:519
519             return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell];
[New Thread 28c05500 (LWP 100137/game)]
[New Thread 28c05200 (LWP 100133/game)]
[New Thread 28c04f00 (LWP 100132/game)]
[New Thread 28c04300 (LWP 100129/game)]
(gdb)

And this is syslog, since the moment I push the metin till the end:


May 19 08:21:37.347535 :: /m 8001
May 19 08:21:37.347572 :: COMMAND: charparodar: mob
May 19 08:21:37.365720 :: LOG: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(2, 999, 'xxx', 1, 'charparodar', 'm 8001', NOW()) 
May 19 08:21:38.437591 :: Packet Analyze [Header 61][bufferLeft 23] 
May 19 08:21:38.437656 :: CInputMain::Analyze() ==> Header [61] 
May 19 08:21:38.987117 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:38.987143 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:38.987150 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:38.987162 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987166 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987170 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987175 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :987150 type :1210986496
May 19 08:21:39.246541 :: Packet Analyze [Header 2][bufferLeft 26] 
May 19 08:21:39.246585 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.246591 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.246599 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246603 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246608 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246613 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :246591 type :1210986496
May 19 08:21:39.316699 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.316785 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.316794 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.316807 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316858 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316865 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316902 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :316794 type :1210986496
May 19 08:21:39.526522 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.526549 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.526555 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.526563 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526567 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526572 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526577 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :526555 type :1210986496
May 19 08:21:39.526592 :: AddAffect Metin da Dor type 209 apply 0 0 flag 4 duration 31
May 19 08:21:39.796620 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.796686 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.796692 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.796701 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796705 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796710 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796715 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :796692 type :1210986496
May 19 08:21:40.56530 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:40.56565 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:40.56571 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:40.56580 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56585 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56590 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56595 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :56571 type :1210986496
May 19 08:21:40.56657 :: Bonus Exp : Ramadan Candy: 0 MallExp: 0 PointExp: 0
May 19 08:21:40.56668 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=8001, pc2=0)
May 19 08:21:40.56676 :: Click Quest : MatchingQuest
May 19 08:21:40.56839 :: QUEST Setting flag event_dressup.__status 0
May 19 08:21:40.56892 :: Click Quest : MatchingQuest
May 19 08:21:40.56902 :: Click Quest : MatchingQuest
May 19 08:21:40.57042 :: QUEST Setting flag devilcatacomb_zone.__status 0
May 19 08:21:40.57165 :: QUEST Setting flag levelup.__status 0
May 19 08:21:40.57179 :: GetQF ( levelup . select )
May 19 08:21:40.57184 :: GetQF ( levelup . current )
May 19 08:21:40.57249 :: QUEST Setting flag pvp_manager.__status 0
May 19 08:21:40.57285 :: QUEST Setting flag xmas_2012.__status 0
May 19 08:21:40.57322 :: QUEST Setting flag pet_system.__status 0
May 19 08:21:40.57346 :: Drop money : Attacker charparodar

 

Man, we need the whole backtrace.

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, charparodar said:

I didn't understand what you asked... This is the whole debug info I get from gdb


root@source:~ # gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game1/game.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.5...done.
Loaded symbols for /lib/libmd.so.5
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libsupc++.so.1...done.
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  CHARACTER::GetWear (this=0x0, bCell=21) at char_item.cpp:519
519             return m_pointsInstant.pItems[INVENTORY_MAX_NUM + bCell];
[New Thread 28c05500 (LWP 100137/game)]
[New Thread 28c05200 (LWP 100133/game)]
[New Thread 28c04f00 (LWP 100132/game)]
[New Thread 28c04300 (LWP 100129/game)]
(gdb)

And this is syslog, since the moment I push the metin till the end:


May 19 08:21:37.347535 :: /m 8001
May 19 08:21:37.347572 :: COMMAND: charparodar: mob
May 19 08:21:37.365720 :: LOG: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(2, 999, 'xxx', 1, 'charparodar', 'm 8001', NOW()) 
May 19 08:21:38.437591 :: Packet Analyze [Header 61][bufferLeft 23] 
May 19 08:21:38.437656 :: CInputMain::Analyze() ==> Header [61] 
May 19 08:21:38.987117 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:38.987143 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:38.987150 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:38.987162 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987166 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987170 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:38.987175 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :987150 type :1210986496
May 19 08:21:39.246541 :: Packet Analyze [Header 2][bufferLeft 26] 
May 19 08:21:39.246585 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.246591 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.246599 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246603 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246608 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.246613 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :246591 type :1210986496
May 19 08:21:39.316699 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.316785 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.316794 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.316807 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316858 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316865 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.316902 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :316794 type :1210986496
May 19 08:21:39.526522 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.526549 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.526555 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.526563 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526567 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526572 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.526577 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :526555 type :1210986496
May 19 08:21:39.526592 :: AddAffect Metin da Dor type 209 apply 0 0 flag 4 duration 31
May 19 08:21:39.796620 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:39.796686 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:39.796692 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:39.796701 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796705 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796710 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:39.796715 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :796692 type :1210986496
May 19 08:21:40.56530 :: Packet Analyze [Header 2][bufferLeft 9] 
May 19 08:21:40.56565 :: CInputMain::Analyze() ==> Header [2] 
May 19 08:21:40.56571 :: [TEST_SERVER] Attack : charparodar type 0, MobBattleType 0
May 19 08:21:40.56580 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56585 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56590 :: battle_melee_attack : [charparodar] attack to [Metin da Dor]
May 19 08:21:40.56595 :: battle_hit : [charparodar] attack to [Metin da Dor] : dam :56571 type :1210986496
May 19 08:21:40.56657 :: Bonus Exp : Ramadan Candy: 0 MallExp: 0 PointExp: 0
May 19 08:21:40.56668 :: CQuestManager::Kill QUEST_KILL_EVENT (pc=2, npc=8001, pc2=0)
May 19 08:21:40.56676 :: Click Quest : MatchingQuest
May 19 08:21:40.56839 :: QUEST Setting flag event_dressup.__status 0
May 19 08:21:40.56892 :: Click Quest : MatchingQuest
May 19 08:21:40.56902 :: Click Quest : MatchingQuest
May 19 08:21:40.57042 :: QUEST Setting flag devilcatacomb_zone.__status 0
May 19 08:21:40.57165 :: QUEST Setting flag levelup.__status 0
May 19 08:21:40.57179 :: GetQF ( levelup . select )
May 19 08:21:40.57184 :: GetQF ( levelup . current )
May 19 08:21:40.57249 :: QUEST Setting flag pvp_manager.__status 0
May 19 08:21:40.57285 :: QUEST Setting flag xmas_2012.__status 0
May 19 08:21:40.57322 :: QUEST Setting flag pet_system.__status 0
May 19 08:21:40.57346 :: Drop money : Attacker charparodar

 

Just type "bt full" in gdb and you will get more information.

Share this post


Link to post
Share on other sites
  • 0
5 hours ago, Den said:

Just type "bt full" in gdb and you will get more information.

This? https://pastebin.com/f17bfn86

I could past on the topic, I got this error: "The value entered includes a character that is not allowed such as an Emoji." (I don't now why) 

 

Share this post


Link to post
Share on other sites
  • 0
59 minutes ago, charparodar said:

This? https://pastebin.com/f17bfn86

I could past on the topic, I got this error: "The value entered includes a character that is not allowed such as an Emoji." (I don't now why) 

 

Check char_battle (line 1332). You probably wanted to use GetWear() on null object.

Share this post


Link to post
Share on other sites
  • 0
34 minutes ago, Den said:

Check char_battle (line 1332). You probably wanted to use GetWear() on null object.

My line 1332:

LPITEM pWeaponCostume = pkKiller->GetWear(WEAR_COSTUME_WEAPON);

 

Share this post


Link to post
Share on other sites
  • 0
12 minutes ago, Den said:

I had this problem some days ago. Killing metin stone triggers Dead() two times but once without pkKiller. Try to change this line like that:


if (pkKiller)
	LPITEM pWeaponCostume = pkKiller->GetWear(WEAR_COSTUME_WEAPON);

 

It's working, thank you m8

Share this post


Link to post
Share on other sites

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.