@hatredreset?

I don't think so, I've just searched Hercules' source and found nothing with any of those names...

 
Well there's a way to reset hatred:

Code:
ACMD(hatereset){	pc->resethate(sd);	clif->message(fd, "Reset 'hate' mobs, kicking...");	clif->GM_kick(NULL, sd);	return true;}
Although I'm not sure if this is going to work...
 
sir how can I make this command work?.. or where I am going to add that command?

 
Go look in src/map/atcommand.c

Basically, add it after another atcommand code has finished (for example, after the ACMD(skdebug) code) and you've got to also add a definition.

For adding an atcommand definition, just search this on the file:

ACMD_DEF(skdebug),
and add an the corresponding definition for the atcommand after it:

ACMD_DEF(hatereset),

That's it.

 
Back
Top