Issue information

Issue ID
#2741
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 4, 2009 19:57
Last Post
Hercules Elf Bot
Feb 4, 2009 19:57
Confirmation
N/A

Hercules Elf Bot - Feb 4, 2009 19:57

Originally posted by [b]Euphidime[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2741

#0 0x0807ad3a in pc_addspiritball (sd=0x67a45018, interval=600000, max=5) at pc.c:183
183 ARR_FIND(0, sd->spiritball, i, DIFF_TICK(get_timer(tid)->tick, get_timer(sd->spirit_timer[i])->tick) < 0);
(gdb) bt
#0 0x0807ad3a in pc_addspiritball (sd=0x67a45018, interval=600000, max=5) at pc.c:183
#1 0x080ed31e in skill_castend_nodamage_id (src=0x67a45018, bl=0x67a45018, skillid=401, skilllv=1, tick=2722044255, flag=0) at skill.c:3692
#2 0x080f2c16 in skill_castend_id (tid=-1, tick=2722044255, id=2187086, data=0) at skill.c:5643
#3 0x0812d72c in unit_skilluse_id2 (src=0x67a45018, target_id=2187086, skill_num=401, skill_lv=1, casttime=0, castcancel=Variable "castcancel" is not available.
) at unit.c:1093
#4 0x0812db93 in unit_skilluse_id (src=0x67a45018, target_id=2187086, skill_num=401, skill_lv=1) at unit.c:680
#5 0x08069fb9 in clif_parse_UseSkillToId (fd=539, sd=0x67a45018) at clif.c:9624
#6 0x08067243 in clif_parse (fd=539) at clif.c:13134
#7 0x08134ce3 in do_sockets (next=Variable "next" is not available.
) at socket.c:784
#8 0x08133846 in main (argc=1, argv=0xbf7fed28) at core.c:254
(gdb) p sd
$1 = (struct map_session_data *) 0x67a45018
(gdb) p sd->spiritball
$2 = 4
(gdb) p timer_data[tid]
$4 = {tick = 2722644255, func = 0x80763c0 <pc_spiritball_timer>, type = 1, interval = 1000, heap_pos = 0, id = 2187086, data = 0}
(gdb) p timer_data[sd->spirit_timer[i]]
$5 = {tick = 1000, func = 0x8c000, type = 1506455552, interval = 1575870464, heap_pos = 0, id = 135657631, data = 189}
(gdb) p sd->spirit_timer[i]
$6 = -1

Think that's pretty self explanatory.