Code:
#0 0x0807ce2f in CHARACTER::BroadcastTargetPacket (this=0x2b165000)
at char.cpp:7014
7014 char.cpp: No such file or directory.
in char.cpp
[New Thread 290030b429003d00 (LWP 100122/<unknown>)]
[New Thread 287835e429003a80 (LWP 100118/<unknown>)]
[New Thread 29003d3429003800 (LWP 100117/<unknown>)]
[New Thread 29003ab429003080 (LWP 100087/<unknown>)]
Cannot find new threads: generic error
(gdb) bt
#0 0x0807ce2f in CHARACTER::BroadcastTargetPacket (this=0x2b165000)
at char.cpp:7014
#1 0x08088295 in CHARACTER::PointChange (this=0x2b165000, type=5 '\005',
amount=-2147483648, bAmount=false, bBroadcast=false) at char.cpp:4371
#2 0x08113a26 in do_weaken (ch=0x2a212000, argument=0xffff819a "", cmd=14,
subcmd=0) at cmd_gm.cpp:2773
#3 0x080ef3b0 in interpret_command (ch=0x2a212000,
argument=0xffff9e2f "weak", len=4) at cmd.cpp:824
#4 0x0817c66b in CInputMain::Chat (this=0x580cb81c, ch=0x2a212000,
data=0x5474b000 "\003\n", uiBytes=11) at input_main.cpp:707
#5 0x0817e2d9 in CInputMain::Analyze (this=0x580cb81c, d=0x580cb780,
bHeader=<value optimized out>, c_pData=0x5474b000 "\003\n")
at input_main.cpp:3780
#6 0x08167ebb in CInputProcessor::Process (this=0x580cb81c,
lpDesc=0x580cb780, c_pvOrig=0x5474b000, iBytes=11,
r_iBytesProceed=@0xffffa514) at input.cpp:99
#7 0x08130c73 in DESC::ProcessInput (this=0x580cb780) at desc.cpp:313
#8 0x082959e4 in io_loop (fdw=0x29176380) at main.cpp:992
#9 0x08296411 in idle () at main.cpp:875
#10 0x08297a81 in main (argc=1, argv=0xffffdc24) at main.cpp:507
(gdb) Quit
(gdb)
not always - sometimes
line of 7014:
Code:
p.bHPPercent = MINMAX(0, (GetHP() * 100) / GetMaxHP(), 100);
why could it be ?Quote:
#0 0x0807ce2f in CHARACTER::BroadcastTargetPacket (this=0x2b165000)
at char.cpp:7014
pkChr = <value optimized out>
p = {header = 63 '?', dwVID = 51052, bHPPercent = 40 '('}
it = {<std::tr1::__detail::_Hashtable_iterator_base<CHA RACTER*,false>> = {_M_cur_node = 0xffff7b0c, _M_cur_bucket = 0x288a631e}, <No data fields>}
__FUNCTION__ = "BroadcastTargetPacket"
thanks.






