PDA

View Full Version : [TLBB] Hỏi về lỗi INT _MONSTER_ATTREX_TBL trong Assert



3z3z3z
31-07-23, 05:02 AM
Xin chào các pro,

E có một Sever online nhỏ, lâu lâu thì bị server_dump.
Check Assert thì có báo lỗi


[./Main/GameTable.h][98][INT _MONSTER_ATTREX_TBL::Get(UINT, UINT)][NULL]
[MonsterType=-1>m_MaxType=45411] t=(2023-7-30 21:20:17)
Stack:[./Obj/Obj_Pet_AttrRefesh.cpp][656][][FALSE] t=(2023-7-30 21:20:17)
Stack:[./Obj/Obj_Human.cpp][2990][int Obj_Human::ReleaseCurrentPet()][FALSE] t=(2023-7-30 21:20:17)
Stack:[./Obj/Obj_Human.cpp][2696][ORESULT Obj_Human::ReCallPet()][FALSE] t=(2023-7-30 21:20:17)
Stack:[./Obj/Obj_Human.cpp][1718][virtual int Obj_Human::HeartBeat(unsigned int)][FALSE] t=(2023-7-30 21:20:17)

E có kiểm tra thì tất cả PetId trong file PetAttrTable đều có trong MonsterAttrExTable.
Có vẻ như bị lỗi thả pet? Mong các pro chỉ hướng sửa chữa ạ. Xin cảm ơn.

huuduyen_05
31-07-23, 06:28 AM
chủ yếu cái server_dump, còn assert thì coi ở thời điểm dump có log gì thôi.

3z3z3z
31-07-23, 06:50 AM
chủ yếu cái server_dump, còn assert thì coi ở thời điểm dump có log gì thôi.

E có để ý, cứ mỗi lần Assert báo lỗi Pet đó là Sever_dump
Server_dump là:


Dump: threadid=-570467089, Time: 2023-7-30 23:28:13
SEG exception:
./Server() [0x80b8261]
./Server() [0x8188c68]
[0xf7793c60]
[0x786f426d]
./Server() [0x83756cd]
./Server() [0x837d8b4]
./Server() [0x837de1d]
./Server() [0x837d0a9]
./Server() [0x80e324c]
./Server() [0x8142277]
./Server() [0x814ca68]
./Server() [0x83b2c09]
./Server() [0x83b371b]
./Server() [0x83bbccc]
./Server() [0x83ff70f]
/lib/i386-linux-gnu/libpthread.so.0(+0x6f72) [0xf7772f72]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xf755e43e]
================================================== ====
------------------
Thread->getTID=-570467520 ThreadValueManager::GetCurrentThreadID=-570467089 SceneID=431
GUID Monster DieMonster DieMonsterObj Pet
3C336B12 11474 902 222 24949
3C336A24 11463 904 231 4370
3C336A23 11476 902 218 3311
3C336A26 11462 712 118 24799
3C336B11 11464 902 224 24949
3C336A43 11465 904 234 24949
3C336B12 176 902 219 24949
3C336A24 373 902 220 4370
3C336A23 138 904 229 3311
3C336A26 354 901 12 24799
HumanObjCount=6 NormalObjCount=170
Performance Index=0 Value=131651
Performance Index=1 Value=131651
Performance Index=2 Value=131651
Performance Index=3 Value=131651
Performance Index=4 Value=131651
Performance Index=5 Value=131651
Performance Index=6 Value=131651
Performance Index=7 Value=131651
Performance Index=8 Value=131651
Performance Index=9 Value=131651
Performance Index=10 Value=131651
Performance Index=11 Value=131651
Performance Index=12 Value=1
Performance Index=13 Value=1
Performance Index=14 Value=1
Performance Index=15 Value=1
Performance Index=16 Value=0
Performance Index=17 Value=0
Performance Index=18 Value=0
Performance Index=19 Value=0
Performance Index=20 Value=0
Performance Index=21 Value=0
Performance Index=22 Value=1
Performance Index=23 Value=0
Performance Index=24 Value=0
Performance Index=25 Value=0
Performance Index=26 Value=0
Performance Index=27 Value=131651
Performance Index=28 Value=131651
Performance Index=29 Value=131651
Performance Index=30 Value=131651
Performance Index=31 Value=131651
Performance Index=32 Value=131651
Performance Index=33 Value=131651
Performance Index=34 Value=131651
Performance Index=35 Value=131651
Performance Index=36 Value=131651
Performance Index=37 Value=131651
Performance Index=38 Value=131651
Performance Index=39 Value=131651
Performance Index=40 Value=131651
------------------
PlayerPoolSize=27
------------------
Packet ID:95 Last-Last
Packet ID:19 Last
Packet ID:348 Now
------------------
VERSION[8506]
Start Save Packet Info:
PacketID=425 PacketCount=1
End Save Packet Info.
================================================== ====