- Mesaj
- 720
- Çözümler
- 50
- Beğeni
- 1.217
- Puan
- 1.130
- Ticaret Puanı
- 1
Herhangi bir şekilde oyuncu veya moblar zehirlenince aşağıdaki coreyi alıyorum bir kaç files ile veri akışını ve zehir damage hesaplamalarını kontrol ettim ama bir sonuca ulaşamadım. Belki karşılaşmışsınızdır veya benim gözden kaçırdığım bir olay vardır. Herhangi bir dosya veya kod parçası lazımsa belirtin konuya eklerim.
Teşekkürler...
Teşekkürler...
Zehir Core:
Type "apropos word" to search for commands related to "word".
(gdb) file core1
Reading symbols from core1...
(gdb) core usage_game.core
[New LWP 100141]
[New LWP 101087]
[New LWP 101088]
[New LWP 101092]
Core was generated by `./core1'.
Program terminated with signal SIGSEGV, Segmentation fault.
Address not mapped to object.
#0 0x080b68c3 in CHARACTER::Damage (this=<optimized out>, pAttacker=<optimized out>, dam=1119,
type=DAMAGE_TYPE_POISON) at entity.h:54
54 long GetMapIndex() const { return m_lMapIndex; }
[Current thread is 1 (LWP 100141)]
(gdb) bt full
#0 0x080b68c3 in CHARACTER::Damage (this=<optimized out>, pAttacker=<optimized out>, dam=1119,
type=DAMAGE_TYPE_POISON) at entity.h:54
iCurHP = <optimized out>
iCurSP = <optimized out>
IsCritical = <optimized out>
IsPenetrate = <optimized out>
IsDeathBlow = <optimized out>
#1 0x080e51f5 in poison_event (event=..., processing_time=1) at char_resist.cpp:62
info = 0x377cb360
__FUNCTION__ = "poison_event"
ch = 0x48bfa800
pkAttacker = 0x0
dam = <optimized out>
#2 0x0812cb06 in event_process (pulse=<optimized out>) at event.cpp:140
pElem = 0x486a7f60
the_event = {px = 0x377cb420}
processing_time = 1
new_time = <optimized out>
num_events = 0
#3 0x0823195e in heartbeat (ht=0x28de8020, pulse=222491) at main.cpp:229
t = 8900061
#4 0x08232864 in idle () at main.cpp:758
now = <optimized out>
passed_pulses = 0
t = <optimized out>
pta = {tv_sec = 1752097548, tv_usec = 22791}
process_time_count = 0
#5 0x08065bd5 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:471
sectree_manager = {<singleton<SECTREE_MANAGER>> = {_vptr.singleton = 0x85009f8 <vtable for SECTREE_MANAGER+8>,
--Type <RET> for more, q to quit, c to continue without paging--