almarket23 0 Posted January 31, 2016 Hi guys thanks for reading this topic. Is it possible to reset the Feelings and Hatred skill of a Star Gladiator? If yes can anyone make me a script for this one please Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted January 31, 2016 In feeling just use @feeling In thr hatred, just search the keyword "hatred reset herc.ws" in google Quote Share this post Link to post Share on other sites
0 almarket23 0 Posted January 31, 2016 @feeling is unknown command Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted January 31, 2016 @feelreset Resets a Star Gladiator's marked maps. Quote Share this post Link to post Share on other sites
0 almarket23 0 Posted January 31, 2016 how about resetting the hatred? Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted January 31, 2016 how about resetting the hatred? Open src/map/atcommand.c Find this : /*========================================== * Feel (SG save map) Reset [HiddenDragon] *------------------------------------------*/ ACMD(feelreset) { pc->resetfeel(sd); clif->message(fd, msg_txt(1324)); // Reset 'Feeling' maps. return true; } Add this after the code for FEELRESET /*========================================== * Hatred Reset [Plug and Play] *------------------------------------------*/ ACMD(hatredreset) { pc->resethate(sd); clif->message(fd, "Reset 'hate' mobs, kicking..."); clif->GM_kick(NULL, sd); return true; } Then recompile your server in the NPC Custom Script you can use this - script Hatred_Reset FAKE_NPC,{ OnInit: bindatcmd "hatredreset",strnpcinfo(3)+"::OnHatredReset"; end; OnHatredReset: if(Class == Job_Star_Gladiator){ message strcharinfo(0),"You will be kick after 3 seconds to reset your Hatred Skill"; sleep2 3000; atcommand "@hatredreset"; } else{ message strcharinfo(0),"Sorry, Only Star Gladiator Job can use @hatredreset"; } end; } Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted January 31, 2016 how about resetting the hatred? Open src/map/atcommand.c Find this : /*========================================== * Feel (SG save map) Reset [HiddenDragon] *------------------------------------------*/ ACMD(feelreset) { pc->resetfeel(sd); clif->message(fd, msg_txt(1324)); // Reset 'Feeling' maps. return true; } Add this after the code for FEELRESET /*========================================== * Hatred Reset [Plug and Play] *------------------------------------------*/ ACMD(hatredreset) { pc->resethate(sd); clif->message(fd, "Reset 'hate' mobs, kicking..."); clif->GM_kick(NULL, sd); return true; } Then recompile your server in the NPC Custom Script you can use this - script Hatred_Reset FAKE_NPC,{ OnInit: bindatcmd "hatredreset",strnpcinfo(3)+"::OnHatredReset"; end; OnHatredReset: if(Class == Job_Star_Gladiator){ message strcharinfo(0),"You will be kick after 3 seconds to reset your Hatred Skill"; sleep2 3000; atcommand "@hatredreset"; } else{ message strcharinfo(0),"Sorry, Only Star Gladiator Job can use @hatredreset"; } end; } It shouldn't need relog Also you forgot to do ACMD_DEF(hatredreset) Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted January 31, 2016 @@Dastgir oh yeah forgot it haha, but im using that and it works fine, im using old emu haha Quote Share this post Link to post Share on other sites
0 bachir1994 0 Posted January 23, 2017 how about resetting the hatred? Open src/map/atcommand.c Find this : /*========================================== * Feel (SG save map) Reset [HiddenDragon] *------------------------------------------*/ ACMD(feelreset) { pc->resetfeel(sd); clif->message(fd, msg_txt(1324)); // Reset 'Feeling' maps. return true; } Add this after the code for FEELRESET /*========================================== * Hatred Reset [Plug and Play] *------------------------------------------*/ ACMD(hatredreset) { pc->resethate(sd); clif->message(fd, "Reset 'hate' mobs, kicking..."); clif->GM_kick(NULL, sd); return true; } Then recompile your server in the NPC Custom Script you can use this - script Hatred_Reset FAKE_NPC,{ OnInit: bindatcmd "hatredreset",strnpcinfo(3)+"::OnHatredReset"; end; OnHatredReset: if(Class == Job_Star_Gladiator){ message strcharinfo(0),"You will be kick after 3 seconds to reset your Hatred Skill"; sleep2 3000; atcommand "@hatredreset"; } else{ message strcharinfo(0),"Sorry, Only Star Gladiator Job can use @hatredreset"; } end; } It shouldn't need relog Also you forgot to do ACMD_DEF(hatredreset) where to put this line? ACMD_DEF(hatredreset) Quote Share this post Link to post Share on other sites
0 almarket23 0 Posted January 23, 2017 actually here's what I did and its very simple and working fine set PC_HATE_MOB_MOON, 0; set PC_HATE_MOB_STAR, 0; set PC_HATE_MOB_SUN, 0; Quote Share this post Link to post Share on other sites
Hi guys thanks for reading this topic.
Is it possible to reset the Feelings and Hatred skill of a Star Gladiator? If yes can anyone make me a script for this one please
Share this post
Link to post
Share on other sites