ok, thanks for your reply @Dastgir.Any more information??
Like which monster you doing @mi,
And gdb report would help to solve your problem.
here is my atcommand.c line 5274can you show us what is in your atcommand.c line 5274
![]()
According to gdb , 5274 must be inside mobinfo command with "sprintf" function, Maybe you updated your repo after crash??here is my atcommand.c line 5274can you show us what is in your atcommand.c line 5274
[cbox]ACMD(displayskill) { // <-------- Line 5274
struct status_data *st;
int64 tick;
uint16 skill_id;
uint16 skill_lv = 1;
if (!message || !*message || sscanf(message, "%hu %hu", &skill_id, &skill_lv) < 1) {
clif->message(fd, msg_txt(1166)); // Usage: @displayskill {}
return false;
}
st = status->get_status_data(&sd->bl);
tick = timer->gettick();
clif->skill_damage(&sd->bl,&sd->bl, tick, st->amotion, st->dmotion, 1, 1, skill_id, skill_lv, 5);
clif->skill_nodamage(&sd->bl, &sd->bl, skill_id, skill_lv, 1);
clif->skill_poseffect(&sd->bl, skill_id, skill_lv, sd->bl.x, sd->bl.y, tick);
return true;
}
[/cbox]
please do what dastgir recommend and please recompile it with debug mode specify so that we can see more detailed information..here is my atcommand.c line 5274can you show us what is in your atcommand.c line 5274
![]()
[cbox]ACMD(displayskill) { // <-------- Line 5274
struct status_data *st;
int64 tick;
uint16 skill_id;
uint16 skill_lv = 1;
if (!message || !*message || sscanf(message, "%hu %hu", &skill_id, &skill_lv) < 1) {
clif->message(fd, msg_txt(1166)); // Usage: @displayskill {}
return false;
}
st = status->get_status_data(&sd->bl);
tick = timer->gettick();
clif->skill_damage(&sd->bl,&sd->bl, tick, st->amotion, st->dmotion, 1, 1, skill_id, skill_lv, 5);
clif->skill_nodamage(&sd->bl, &sd->bl, skill_id, skill_lv, 1);
clif->skill_poseffect(&sd->bl, skill_id, skill_lv, sd->bl.x, sd->bl.y, tick);
return true;
}
[/cbox]
i've recompiled the server with --enable-debug=gdb , but how to get that report you mentionedplease recompile, get the gdb report, and the line menioned on gdb report.
We use essential cookies to make this site work, and optional cookies to enhance your experience.