LCDTheOG Posted June 6, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted June 6, 2012 hey guys, i thought since we have a @feelreset, might as well add an @hatereset ne ways here it is open your src/map/atcommand.c and search out this line ACMD_FUNC(feelreset) you should see something like this /*========================================== * Feel (SG save map) Reset [HiddenDragon] *------------------------------------------*/ ACMD_FUNC(feelreset) { pc_resetfeel(sd); clif_displaymessage(fd, "Reset 'Feeling' maps."); return 0; } and right after the part that says "}" put in this ACMD_FUNC(hatereset) { pc_resethate(sd); clif_displaymessage(fd, "Reset 'Hatered' mobs"); return 0; } then search out the line ACMD_DEF2("newmount", new_mount), and directly under that line put ACMD_DEF(hatereset), NOTE: if you have any other custom commands added just put it right below the most recent one. ne ways hope you guys like it ^-^ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.