Thyr 0 Posted May 26, 2017 (edited) How can i add these commands to normal players? @feelreset and @hatereset also @skillall command Edited May 26, 2017 by CraftNCheez Quote Share this post Link to post Share on other sites
0 meko 170 Posted May 26, 2017 @True Zeal thanks for that info For commands introduced by plugins I believe you can simply add them to groups.conf like any other command. For commands introduced by scripts though you have to set the group in bindatcmd, but soon you'll be able to specify for each individual group. ---------------------------------------------------------------- @CraftNCheez simply add the following to your groups.conf, in the Commands section of the Player group: feelreset: true allskill: true hatredreset: true Hope it helps Quote Share this post Link to post Share on other sites
0 meko 170 Posted May 26, 2017 Add them in /conf/groups.conf to the group that has id: 0, usually this group is named "Player". In the Commands section of this group, add the following: feelreset: true allskill: true For @hatereset I could not find this command in the source. 1 Thyr reacted to this Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted May 26, 2017 (edited) hatereset is a custom command. someone gave me this code long ago. not sure if I should share, but this should probably be in our official code thing. atcommand.c ACMD(hatredreset) { pc->resethate(sd); clif->message(fd, msg_fd(fd,1552)); //Hatred mark target has been reset. return true; } pc.cint pc_resethate(struct map_session_data* sd) { int i; nullpo_ret(sd); for (i = 0; i < MAX_PC_FEELHATE; i++) { sd->hate_mob[i] = -1; pc_setglobalreg(sd,script->add_str(pc->sg_info[i].hate_var),0); } return 0; } You need to add msg 1552 or whatever number you want to conf/messages.conf also there might be more to it cos this was just inside a plugin on my server. good luck lol. maybe someone who reads this post can help put my stuff together. i am kind of lazy right now sorry. Edited May 26, 2017 by True Zeal Quote Share this post Link to post Share on other sites
How can i add these commands to normal players? @feelreset and @hatereset also @skillall command
Edited by CraftNCheezShare this post
Link to post
Share on other sites