Alexandria
New member
Hello guys,
I'm moving from rAthena to Hercules. I'm trying to add this custom command to my server but when i recompile it gives this error:
<anonymous>’ has no member named
This is the command that imtrying to add to src/map/atcommand.c
ACMD(dpt){ nullpo_retr(-1, sd); if (!sd->state.pet_no_talk) { sd->state.pet_no_talk = 1; } else { sd->state.pet_no_talk = 0; } sprintf(atcmd_output, "%s pet talk.", (sd->state.pet_no_talk? "Disabled" : "Enabled")); clif_displaymessage(fd, atcmd_output); return 0;}
@dpt or @petmute: mutes/unmutes the pet.
Thank you.
I'm moving from rAthena to Hercules. I'm trying to add this custom command to my server but when i recompile it gives this error:
<anonymous>’ has no member named
This is the command that imtrying to add to src/map/atcommand.c
ACMD(dpt){ nullpo_retr(-1, sd); if (!sd->state.pet_no_talk) { sd->state.pet_no_talk = 1; } else { sd->state.pet_no_talk = 0; } sprintf(atcmd_output, "%s pet talk.", (sd->state.pet_no_talk? "Disabled" : "Enabled")); clif_displaymessage(fd, atcmd_output); return 0;}
@dpt or @petmute: mutes/unmutes the pet.
Thank you.
Last edited by a moderator:
